言語

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[]

DeviceNameSpaces CBOR 構造体のバイト。

属性

注釈

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

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

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

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

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

場所

DeviceNameSpaces = {
                * NameSpace => DeviceSignedItems
              }

              DeviceSignedItems = {
                + DataItemName => DataItemValue
              }

              NameSpace = tstr
              DataItemName = tstr
              DataItemValue = any

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

Javaドキュメント。

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

適用対象