Join us on the livestream at Android Dev Summit on 7-8 November 2018, starting at 10AM PDT!

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

public FingerprintManagerCompat.CryptoObject (Signature signature)

Parameters
signature Signature

FingerprintManagerCompat.CryptoObject

public FingerprintManagerCompat.CryptoObject (Cipher cipher)

Parameters
cipher Cipher

FingerprintManagerCompat.CryptoObject

public FingerprintManagerCompat.CryptoObject (Mac mac)

Parameters
mac Mac

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.