# Print output for @column tags ?> FingerprintManager.CryptoObject - Android SDK | Android Developers

Most visited

Recently visited

FingerprintManager.CryptoObject

public static final class FingerprintManager.CryptoObject
extends Object

java.lang.Object
   ↳ android.hardware.fingerprint.FingerprintManager.CryptoObject


This class is deprecated.
See BiometricPrompt.CryptoObject

A wrapper class for the crypto objects supported by FingerprintManager. Currently the framework supports Signature, Cipher and Mac objects.

Summary

Public constructors

CryptoObject(Signature signature)
CryptoObject(Cipher cipher)
CryptoObject(Mac mac)

Public methods

Cipher getCipher()

Get Cipher object.

Mac getMac()

Get Mac object.

Signature getSignature()

Get Signature object.

Inherited methods

Public constructors

CryptoObject

public CryptoObject (Signature signature)

Parameters
signature Signature: This value cannot be null.

CryptoObject

public CryptoObject (Cipher cipher)

Parameters
cipher Cipher: This value cannot be null.

CryptoObject

public CryptoObject (Mac mac)

Parameters
mac Mac: This value cannot be null.

Public methods

getCipher

public Cipher getCipher ()

Get Cipher object.

Returns
Cipher Cipher object or null if this doesn't contain one.

getMac

public Mac getMac ()

Get Mac object.

Returns
Mac Mac object or null if this doesn't contain one.

getSignature

public Signature getSignature ()

Get Signature object.

Returns
Signature Signature object or null if this doesn't contain one.