Most visited

Recently visited

Added in API level 23

FingerprintManager.CryptoObject

public static final class FingerprintManager.CryptoObject
extends Object

java.lang.Object
   ↳ android.hardware.fingerprint.FingerprintManager.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

From class java.lang.Object

Public constructors

FingerprintManager.CryptoObject

Added in API level 23
FingerprintManager.CryptoObject (Signature signature)

Parameters
signature Signature

FingerprintManager.CryptoObject

Added in API level 23
FingerprintManager.CryptoObject (Cipher cipher)

Parameters
cipher Cipher

FingerprintManager.CryptoObject

Added in API level 23
FingerprintManager.CryptoObject (Mac mac)

Parameters
mac Mac

Public methods

getCipher

Added in API level 23
Cipher getCipher ()

Get Cipher object.

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

getMac

Added in API level 23
Mac getMac ()

Get Mac object.

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

getSignature

Added in API level 23
Signature getSignature ()

Get Signature object.

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

Hooray!