> For the complete documentation index, see [llms.txt](https://docs.payments.thalescloud.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.payments.thalescloud.io/nfc-wallet-sdk-android/ja/implement-nfc-wallet/tokenize-a-card/set-cdcvm-method/device-unlock-method-update-scenarios.md).

# デバイスのロック解除方法の更新シナリオ

## 概要

エンドユーザーが安全なロック画面を有効にし、イシュアアプリケーションが **生体認証** または **デバイス認証情報（キーガード）** をCDCVM方式として設定している場合は、デバイスのロック解除の変更を慎重に扱ってください。

一部の変更では、Android Keystore に保存されている鍵素材が無効になります。NFC Wallet SDK は、キーストアにアクセスしたときにのみこれを検出します。支払い中、イシュアアプリケーションはカードの取得に失敗し、 `CARD_NOT_EXISTING` 例外を受け取る場合があります。

以下のシナリオは、想定される動作をまとめたものです。

## シナリオ

<table data-full-width="true"><thead><tr><th>シナリオ</th><th>OS</th><th>SDK</th><th>デジタルウォレットアプリケーション</th></tr></thead><tbody><tr><td>エンドユーザーが安全なロック画面を無効にする</td><td>Android Keystore 内の鍵素材を無効にします。これが発生しても、Android はデジタルウォレットアプリケーションに通知しません。</td><td>キーストアにアクセスしたときにのみ、無効な鍵素材を検出します。</td><td>支払い中、カードを1枚も見つけられず、 <code>CARD_NOT_EXISTING</code> 例外を受け取る場合があります。</td></tr><tr><td>エンドユーザーが安全なロック画面の種類を変更する。たとえば、指紋からパスコードへ、またはパスコードからPINへ変更する</td><td>何もしません。</td><td>何もしません。</td><td>イシュアアプリケーションのロジックに基づき、起動時またはバックグラウンドチェックでこの変更を任意に検出します。</td></tr><tr><td>エンドユーザーが安全なロック画面を無効にし、その後再度有効にする</td><td>安全なロック画面が無効になるとすぐに、鍵素材を無効にします。</td><td>キーストアにアクセスしたときにのみ、無効な鍵素材を検出します。</td><td>支払い中、カードを1枚も見つけられず、 <code>CARD_NOT_EXISTING</code> 例外を受け取る場合があります。</td></tr><tr><td>エンドユーザーが新しい指紋を追加する</td><td>何もしません。</td><td>何もしません。</td><td>何もしません。</td></tr><tr><td>エンドユーザーがすべての指紋を削除する</td><td>デジタルウォレットアプリケーションが <strong>生体認証</strong> をCDCVM方式として使用している場合、Android Keystore 内の鍵素材を無効にします。</td><td>もし <strong>生体認証</strong> がCDCVM方式として使用されている場合、キーストアにアクセスしたときにのみ無効な鍵素材を検出します。</td><td>もし <strong>生体認証</strong> がCDCVM方式として使用されている場合、支払い中にカードを1枚も見つけられず、 <code>CARD_NOT_EXISTING</code> 例外を受け取る場合があります。</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.payments.thalescloud.io/nfc-wallet-sdk-android/ja/implement-nfc-wallet/tokenize-a-card/set-cdcvm-method/device-unlock-method-update-scenarios.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
