lightbulb_outline Please take our October 2018 developer survey. Start survey
added in API level 23
Deprecated since API level 28

FingerprintManager.CryptoObject

public static final class FingerprintManager.CryptoObject
extends Object

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


This class was deprecated in API level 28.
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

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

Public methods

Cipher getCipher()

Get Cipher object.

Mac getMac()

Get Mac object.

Signature getSignature()

Get Signature object.

Inherited methods

Public constructors

FingerprintManager.CryptoObject

added in API level 23
public FingerprintManager.CryptoObject (Signature signature)

Parameters
signature Signature

This value must never be null.

FingerprintManager.CryptoObject

added in API level 23
public FingerprintManager.CryptoObject (Cipher cipher)

Parameters
cipher Cipher

This value must never be null.

FingerprintManager.CryptoObject

added in API level 23
public FingerprintManager.CryptoObject (Mac mac)

Parameters
mac Mac

This value must never be null.

Public methods

getCipher

added in API level 23
public Cipher getCipher ()

Get Cipher object.

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

getMac

added in API level 23
public Mac getMac ()

Get Mac object.

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

getSignature

added in API level 23
public Signature getSignature ()

Get Signature object.

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