Udostępnij za pośrednictwem


BiometricPrompt.CryptoObject Constructors

Definition

Overloads

BiometricPrompt.CryptoObject(IdentityCredential)

Create from a IdentityCredential object.

BiometricPrompt.CryptoObject(PresentationSession)
BiometricPrompt.CryptoObject(Signature)
BiometricPrompt.CryptoObject(Cipher)
BiometricPrompt.CryptoObject(Mac)

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)

[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

Attributes

Applies to

BiometricPrompt.CryptoObject(Signature)

[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
Attributes

Applies to

BiometricPrompt.CryptoObject(Cipher)

[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
Attributes

Applies to

BiometricPrompt.CryptoObject(Mac)

[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
Attributes

Applies to