Google berkomitmen untuk mendorong terwujudnya keadilan rasial bagi komunitas Kulit Hitam. Lihat caranya.

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

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

Public methods

Cipher getCipher()

Get Cipher object.

Mac getMac()

Get Mac object.

Signature getSignature()

Get Signature object.

Inherited methods

Public constructors

CryptoObject

public CryptoObject (Signature signature)

Parameters
signature Signature

CryptoObject

public CryptoObject (Cipher cipher)

Parameters
cipher Cipher

CryptoObject

public 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.