added in version 24.1.0
belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1

FingerprintManagerCompat.CryptoObject

public static class FingerprintManagerCompat.CryptoObject
extends Object

java.lang.Object
   ↳ android.support.v4.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

From class java.lang.Object

Public constructors

FingerprintManagerCompat.CryptoObject

added in version 24.1.0
FingerprintManagerCompat.CryptoObject (Signature signature)

Parameters
signature Signature

FingerprintManagerCompat.CryptoObject

added in version 24.1.0
FingerprintManagerCompat.CryptoObject (Cipher cipher)

Parameters
cipher Cipher

FingerprintManagerCompat.CryptoObject

added in version 24.1.0
FingerprintManagerCompat.CryptoObject (Mac mac)

Parameters
mac Mac

Public methods

getCipher

added in version 24.1.0
Cipher getCipher ()

Get Cipher object.

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

getMac

added in version 24.1.0
Mac getMac ()

Get Mac object.

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

getSignature

added in version 24.1.0
Signature getSignature ()

Get Signature object.

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