BiometricPrompt.CryptoObject

public static class BiometricPrompt.CryptoObject
extends Object

java.lang.Object
   ↳ androidx.biometric.BiometricPrompt.CryptoObject


A wrapper class for the crypto objects supported by BiometricPrompt.

Summary

Public constructors

CryptoObject(Signature signature)

Creates a crypto object that wraps the given signature object.

CryptoObject(Cipher cipher)

Creates a crypto object that wraps the given cipher object.

CryptoObject(Mac mac)

Creates a crypto object that wraps the given MAC object.

CryptoObject(IdentityCredential identityCredential)

Creates a crypto object that wraps the given identity credential object.

Public methods

Cipher getCipher()

Gets the cipher object associated with this crypto object.

IdentityCredential getIdentityCredential()

Gets the identity credential object associated with this crypto object.

Mac getMac()

Gets the MAC object associated with this crypto object.

Signature getSignature()

Gets the signature object associated with this crypto object.

Inherited methods