Udostępnij za pośrednictwem


IdentityCredential.DecryptMessageFromReader(Byte[]) Method

Definition

Decrypt a message received from the reader.

[Android.Runtime.Register("decryptMessageFromReader", "([B)[B", "GetDecryptMessageFromReader_arrayBHandler", ApiSince=30)]
public abstract byte[] DecryptMessageFromReader (byte[] messageCiphertext);
[<Android.Runtime.Register("decryptMessageFromReader", "([B)[B", "GetDecryptMessageFromReader_arrayBHandler", ApiSince=30)>]
abstract member DecryptMessageFromReader : byte[] -> byte[]

Parameters

messageCiphertext
Byte[]

encrypted message to decrypt.

Returns

Byte[]

decrypted message.

Attributes

Remarks

Decrypt a message received from the reader.

Do not use. In this version of the API, this method produces an incorrect result. Instead, applications should implement message encryption/decryption themselves as detailed in the #createEphemeralKeyPair() method. In a future API-level, this method will be deprecated.

This member is deprecated. Applications should use PresentationSession and implement encryption/decryption themselves.

Java documentation for android.security.identity.IdentityCredential.decryptMessageFromReader(byte[]).

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