BiometricPrompt.CryptoObject
public
static
class
BiometricPrompt.CryptoObject
extends Object
java.lang.Object
|
↳ |
androidx.biometric.BiometricPrompt.CryptoObject
|
A wrapper class for the crypto objects supported by BiometricPrompt. Currently the
framework supports Signature
, Cipher
, and Mac
objects.
Summary
Inherited methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public constructors
BiometricPrompt.CryptoObject
public BiometricPrompt.CryptoObject (Signature signature)
Parameters |
signature |
Signature |
BiometricPrompt.CryptoObject
public BiometricPrompt.CryptoObject (Cipher cipher)
BiometricPrompt.CryptoObject
public BiometricPrompt.CryptoObject (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.
|