belongs to Maven artifact androidx.core:core:1.0.0-alpha1

FingerprintManagerCompat.CryptoObject

public static class FingerprintManagerCompat.CryptoObject
extends Object

java.lang.Object
   ↳ androidx.core.hardware.fingerprint.FingerprintManagerCompat.CryptoObject


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

Summary

Public constructors

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

Public methods

Cipher getCipher()

Get Cipher object.

Mac getMac()

Get Mac object.

Signature getSignature()

Get Signature object.

Inherited methods

Public constructors

FingerprintManagerCompat.CryptoObject

FingerprintManagerCompat.CryptoObject (Signature signature)

Parameters
signature Signature

FingerprintManagerCompat.CryptoObject

FingerprintManagerCompat.CryptoObject (Cipher cipher)

Parameters
cipher Cipher

FingerprintManagerCompat.CryptoObject

FingerprintManagerCompat.CryptoObject (Mac mac)

Parameters
mac Mac

Public methods

getCipher

Cipher getCipher ()

Get Cipher object.

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

getMac

Mac getMac ()

Get Mac object.

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

getSignature

Signature getSignature ()

Get Signature object.

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