Share via


PresentationSession.SetReaderEphemeralPublicKey(IPublicKey) Method

Definition

Set the ephemeral public key provided by the verifier.

[Android.Runtime.Register("setReaderEphemeralPublicKey", "(Ljava/security/PublicKey;)V", "GetSetReaderEphemeralPublicKey_Ljava_security_PublicKey_Handler", ApiSince=33)]
public abstract void SetReaderEphemeralPublicKey (Java.Security.IPublicKey readerEphemeralPublicKey);
[<Android.Runtime.Register("setReaderEphemeralPublicKey", "(Ljava/security/PublicKey;)V", "GetSetReaderEphemeralPublicKey_Ljava_security_PublicKey_Handler", ApiSince=33)>]
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 verifier.

If called, this must be called before any calls to #getCredentialData(String, CredentialDataRequest).

This method can only be called once per PresentationSession instance.

Java documentation for android.security.identity.PresentationSession.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