Freigeben über


IdentityCredentialStore.CreatePresentationSession(Int32) Method

Definition

Creates a new presentation session.

[Android.Runtime.Register("createPresentationSession", "(I)Landroid/security/identity/PresentationSession;", "GetCreatePresentationSession_IHandler", ApiSince=33)]
public virtual Android.Security.Identity.PresentationSession CreatePresentationSession (int cipherSuite);
[<Android.Runtime.Register("createPresentationSession", "(I)Landroid/security/identity/PresentationSession;", "GetCreatePresentationSession_IHandler", ApiSince=33)>]
abstract member CreatePresentationSession : int -> Android.Security.Identity.PresentationSession
override this.CreatePresentationSession : int -> Android.Security.Identity.PresentationSession

Parameters

cipherSuite
Int32

the cipher suite to use for communicating with the verifier.

Returns

The presentation session.

Attributes

Remarks

Creates a new presentation session.

This method gets an object to be used for interaction with a remote verifier for presentation of one or more credentials.

This is only implemented in feature version 202201 or later. If not implemented, the call fails with UnsupportedOperationException. See android.content.pm.PackageManager#FEATURE_IDENTITY_CREDENTIAL_HARDWARE for known feature versions.

Java documentation for android.security.identity.IdentityCredentialStore.createPresentationSession(int).

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