Freigeben über


IdentityCredential.CreateEphemeralKeyPair Method

Definition

Create an ephemeral key pair to use to establish a secure channel with a reader.

[Android.Runtime.Register("createEphemeralKeyPair", "()Ljava/security/KeyPair;", "GetCreateEphemeralKeyPairHandler", ApiSince=30)]
public abstract Java.Security.KeyPair CreateEphemeralKeyPair ();
[<Android.Runtime.Register("createEphemeralKeyPair", "()Ljava/security/KeyPair;", "GetCreateEphemeralKeyPairHandler", ApiSince=30)>]
abstract member CreateEphemeralKeyPair : unit -> Java.Security.KeyPair

Returns

ephemeral key pair to use to establish a secure channel with a reader.

Attributes

Remarks

Create an ephemeral key pair to use to establish a secure channel with a reader.

Applications should use this key-pair for the communications channel with the reader 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 section 9.2.1 "Session encryption".

This member is deprecated. Use PresentationSession instead.

Java documentation for android.security.identity.IdentityCredential.createEphemeralKeyPair().

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