CredentialDataResult.IEntries.GetEntry(String, String) Method

Definition

Gets the raw CBOR data for the value of an entry.

[Android.Runtime.Register("getEntry", "(Ljava/lang/String;Ljava/lang/String;)[B", "GetGetEntry_Ljava_lang_String_Ljava_lang_String_Handler:Android.Security.Identity.CredentialDataResult/IEntriesInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=33)]
public byte[]? GetEntry (string namespaceName, string name);
[<Android.Runtime.Register("getEntry", "(Ljava/lang/String;Ljava/lang/String;)[B", "GetGetEntry_Ljava_lang_String_Ljava_lang_String_Handler:Android.Security.Identity.CredentialDataResult/IEntriesInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=33)>]
abstract member GetEntry : string * string -> byte[]

Parameters

namespaceName
String

the namespace name of the entry.

name
String

the name of the entry to get the value for.

Returns

Byte[]

the raw CBOR data or null if no entry with the given name exists.

Attributes

Remarks

Gets the raw CBOR data for the value of an entry.

This should only be called on an entry for which the #getStatus(String, String) method returns #STATUS_OK.

Java documentation for android.security.identity.CredentialDataResult.Entries.getEntry(java.lang.String, java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to