Share via


ResultData.GetAuthenticatedData メソッド

定義

取得したデータを含む CBOR 構造体を返します。

[Android.Runtime.Register("getAuthenticatedData", "()[B", "GetGetAuthenticatedDataHandler", ApiSince=30)]
public abstract byte[] GetAuthenticatedData ();
[<Android.Runtime.Register("getAuthenticatedData", "()[B", "GetGetAuthenticatedDataHandler", ApiSince=30)>]
abstract member GetAuthenticatedData : unit -> byte[]

戻り値

Byte[]

CBOR 構造体の DeviceNameSpaces バイト。

属性

注釈

取得したデータを含む CBOR 構造体を返します。

この構造は、セッション トランスクリプトと共に暗号化認証され、データが信頼された資格情報 #getMessageAuthenticationCode() からのものであり、MAC を取得するために使用できることをリーダーに証明できます。

暗号化によって認証される CBOR 構造体は、次の DeviceAuthenticationBytesCDDL スキーマに従った構造です。

DeviceAuthentication = [
                "DeviceAuthentication",
                SessionTranscript,
                DocType,
                DeviceNameSpacesBytes
              ]

              DocType = tstr
              SessionTranscript = any
              DeviceNameSpacesBytes = #6.24(bstr .cbor DeviceNameSpaces)
              DeviceAuthenticationBytes = #6.24(bstr .cbor DeviceAuthentication)

where

DeviceNameSpaces = {
                * NameSpace => DeviceSignedItems
              }

              DeviceSignedItems = {
                + DataItemName => DataItemValue
              }

              NameSpace = tstr
              DataItemName = tstr
              DataItemValue = any

返されるデータは、上記で定義した構造体の DeviceNameSpaces バイナリ エンコードです。

の Java ドキュメント android.security.identity.ResultData.getAuthenticatedData()

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象