Freigeben über


IdentityCredential.SetReaderEphemeralPublicKey(IPublicKey) Method

Definition

Set the ephemeral public key provided by the reader.

[Android.Runtime.Register("setReaderEphemeralPublicKey", "(Ljava/security/PublicKey;)V", "GetSetReaderEphemeralPublicKey_Ljava_security_PublicKey_Handler", ApiSince=30)]
public abstract void SetReaderEphemeralPublicKey (Java.Security.IPublicKey readerEphemeralPublicKey);
[<Android.Runtime.Register("setReaderEphemeralPublicKey", "(Ljava/security/PublicKey;)V", "GetSetReaderEphemeralPublicKey_Ljava_security_PublicKey_Handler", ApiSince=30)>]
abstract member SetReaderEphemeralPublicKey : Java.Security.IPublicKey -> unit

Parameters

readerEphemeralPublicKey
IPublicKey

The ephemeral public key provided by the reader to establish a secure session.

Attributes

Remarks

Set the ephemeral public key provided by the reader. If called, this must be called before #getEntries(byte[], Map, byte[], byte[]) is called.

This member is deprecated. Use PresentationSession instead.

Java documentation for android.security.identity.IdentityCredential.setReaderEphemeralPublicKey(java.security.PublicKey).

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