次の方法で共有


CredentialDataResult.GetDeviceNameSpaces メソッド

定義

取得したデバイス署名付きデータを含む CBOR 構造体を返します。

[Android.Runtime.Register("getDeviceNameSpaces", "()[B", "GetGetDeviceNameSpacesHandler", ApiSince=33)]
public abstract byte[] GetDeviceNameSpaces ();
[<Android.Runtime.Register("getDeviceNameSpaces", "()[B", "GetGetDeviceNameSpacesHandler", ApiSince=33)>]
abstract member GetDeviceNameSpaces : unit -> byte[]

戻り値

Byte[]

CBOR 構造体の DeviceNameSpaces バイト。

属性

注釈

取得したデバイス署名付きデータを含む CBOR 構造体を返します。

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

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

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.CredentialDataResult.getDeviceNameSpaces()

このページの一部は、Android オープンソース プロジェクトによって作成および共有され、クリエイティブ コモンズ 2.5 属性ライセンスに記載されている条件に従って使用される作業に基づく変更です。

適用対象