ResultData.GetMessageAuthenticationCode Method

Definition

Returns a message authentication code over the DeviceAuthenticationBytes CBOR specified in #getAuthenticatedData(), to prove to the reader that the data is from a trusted credential.

[Android.Runtime.Register("getMessageAuthenticationCode", "()[B", "GetGetMessageAuthenticationCodeHandler", ApiSince=30)]
public abstract byte[]? GetMessageAuthenticationCode ();
[<Android.Runtime.Register("getMessageAuthenticationCode", "()[B", "GetGetMessageAuthenticationCodeHandler", ApiSince=30)>]
abstract member GetMessageAuthenticationCode : unit -> byte[]

Returns

Byte[]

A COSE_Mac0 structure with the message authentication code as described above or null if the conditions specified above are not met.

Attributes

Remarks

Java documentation for android.security.identity.ResultData.getMessageAuthenticationCode().

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