Partager via


BiometricPrompt.CryptoObject Constructors

Definition

Overloads

BiometricPrompt.CryptoObject(IdentityCredential)

Create from a IdentityCredential object.

BiometricPrompt.CryptoObject(PresentationSession)

Create from a PresentationSession object.

BiometricPrompt.CryptoObject(Signature)

Create from a Signature object.

BiometricPrompt.CryptoObject(Cipher)

Create from a Cipher object.

BiometricPrompt.CryptoObject(Mac)

Create from a Mac object.

BiometricPrompt.CryptoObject(Int64)

Create from an operation handle.

BiometricPrompt.CryptoObject(IdentityCredential)

Create from a IdentityCredential object.

[Android.Runtime.Register(".ctor", "(Landroid/security/identity/IdentityCredential;)V", "", ApiSince=30)]
public CryptoObject (Android.Security.Identity.IdentityCredential credential);
[<Android.Runtime.Register(".ctor", "(Landroid/security/identity/IdentityCredential;)V", "", ApiSince=30)>]
new Android.Hardware.Biometrics.BiometricPrompt.CryptoObject : Android.Security.Identity.IdentityCredential -> Android.Hardware.Biometrics.BiometricPrompt.CryptoObject

Parameters

credential
IdentityCredential

a IdentityCredential object.

Attributes

Remarks

Create from a IdentityCredential object.

This member is deprecated. Use PresentationSession instead of IdentityCredential.

Java documentation for android.hardware.biometrics.BiometricPrompt.CryptoObject.BiometricPrompt$CryptoObject(android.security.identity.IdentityCredential).

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

BiometricPrompt.CryptoObject(PresentationSession)

Create from a PresentationSession object.

[Android.Runtime.Register(".ctor", "(Landroid/security/identity/PresentationSession;)V", "", ApiSince=33)]
public CryptoObject (Android.Security.Identity.PresentationSession session);
[<Android.Runtime.Register(".ctor", "(Landroid/security/identity/PresentationSession;)V", "", ApiSince=33)>]
new Android.Hardware.Biometrics.BiometricPrompt.CryptoObject : Android.Security.Identity.PresentationSession -> Android.Hardware.Biometrics.BiometricPrompt.CryptoObject

Parameters

session
PresentationSession

a PresentationSession object.

Attributes

Remarks

Create from a PresentationSession object.

Java documentation for android.hardware.biometrics.BiometricPrompt.CryptoObject.BiometricPrompt$CryptoObject(android.security.identity.PresentationSession).

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

BiometricPrompt.CryptoObject(Signature)

Create from a Signature object.

[Android.Runtime.Register(".ctor", "(Ljava/security/Signature;)V", "", ApiSince=28)]
public CryptoObject (Java.Security.Signature signature);
[<Android.Runtime.Register(".ctor", "(Ljava/security/Signature;)V", "", ApiSince=28)>]
new Android.Hardware.Biometrics.BiometricPrompt.CryptoObject : Java.Security.Signature -> Android.Hardware.Biometrics.BiometricPrompt.CryptoObject

Parameters

signature
Signature

a Signature object.

Attributes

Remarks

Create from a Signature object.

Java documentation for android.hardware.biometrics.BiometricPrompt.CryptoObject.BiometricPrompt$CryptoObject(java.security.Signature).

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

BiometricPrompt.CryptoObject(Cipher)

Create from a Cipher object.

[Android.Runtime.Register(".ctor", "(Ljavax/crypto/Cipher;)V", "", ApiSince=28)]
public CryptoObject (Javax.Crypto.Cipher cipher);
[<Android.Runtime.Register(".ctor", "(Ljavax/crypto/Cipher;)V", "", ApiSince=28)>]
new Android.Hardware.Biometrics.BiometricPrompt.CryptoObject : Javax.Crypto.Cipher -> Android.Hardware.Biometrics.BiometricPrompt.CryptoObject

Parameters

cipher
Cipher

a Cipher object.

Attributes

Remarks

Create from a Cipher object.

Java documentation for android.hardware.biometrics.BiometricPrompt.CryptoObject.BiometricPrompt$CryptoObject(javax.crypto.Cipher).

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

BiometricPrompt.CryptoObject(Mac)

Create from a Mac object.

[Android.Runtime.Register(".ctor", "(Ljavax/crypto/Mac;)V", "", ApiSince=28)]
public CryptoObject (Javax.Crypto.Mac mac);
[<Android.Runtime.Register(".ctor", "(Ljavax/crypto/Mac;)V", "", ApiSince=28)>]
new Android.Hardware.Biometrics.BiometricPrompt.CryptoObject : Javax.Crypto.Mac -> Android.Hardware.Biometrics.BiometricPrompt.CryptoObject

Parameters

mac
Mac

a Mac object.

Attributes

Remarks

Create from a Mac object.

Java documentation for android.hardware.biometrics.BiometricPrompt.CryptoObject.BiometricPrompt$CryptoObject(javax.crypto.Mac).

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

BiometricPrompt.CryptoObject(Int64)

Create from an operation handle.

[Android.Runtime.Register(".ctor", "(J)V", "", ApiSince=35)]
public CryptoObject (long operationHandle);
[<Android.Runtime.Register(".ctor", "(J)V", "", ApiSince=35)>]
new Android.Hardware.Biometrics.BiometricPrompt.CryptoObject : int64 -> Android.Hardware.Biometrics.BiometricPrompt.CryptoObject

Parameters

operationHandle
Int64

the operation handle associated with this object.

Attributes

Remarks

Create from an operation handle.

Java documentation for android.hardware.biometrics.BiometricPrompt.CryptoObject.BiometricPrompt$CryptoObject(long).

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