Language

PresentationSession.EphemeralKeyPair Property

Definition

Gets the ephemeral key pair to use to establish a secure channel with the verifier.

public abstract Java.Security.KeyPair EphemeralKeyPair { [Android.Runtime.Register("getEphemeralKeyPair", "()Ljava/security/KeyPair;", "GetGetEphemeralKeyPairHandler", ApiSince=33)] get; }
[<get: Android.Runtime.Register("getEphemeralKeyPair", "()Ljava/security/KeyPair;", "GetGetEphemeralKeyPairHandler", ApiSince=33)>]
member this.EphemeralKeyPair : Java.Security.KeyPair

Property Value

ephemeral key pair to use to establish a secure channel with a reader. This value cannot be null.

Attributes

Remarks

This method is deprecated. Use java.security.KeyStore with the Android hardware-backed keystore instead.

Gets the ephemeral key pair to use to establish a secure channel with the verifier.

Applications should use this key-pair for the communications channel with the verifier using a protocol / cipher-suite appropriate for the application. One example of such a protocol is the one used for Mobile Driving Licenses, see ISO 18013-5.

The ephemeral key pair is tied to the PresentationSession instance so subsequent calls to this method will return the same key-pair.

Android reference for android.security.identity.PresentationSession.getEphemeralKeyPair.

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