CryptoObject
open class CryptoObject
kotlin.Any | |
↳ | 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 | |
---|---|
Public methods | |
---|---|
open Cipher? |
Get |
open Mac? |
getMac() Get |
open Signature? |
Get |
Public constructors
<init>
CryptoObject(@NonNull signature: Signature)
<init>
CryptoObject(@NonNull cipher: Cipher)
<init>
CryptoObject(@NonNull mac: Mac)
Public methods
getCipher
@Nullable open fun getCipher(): Cipher?
Get Cipher
object.
Return | |
---|---|
Cipher? |
Cipher object or null if this doesn't contain one. |
getMac
@Nullable open fun getMac(): Mac?
Get Mac
object.
Return | |
---|---|
Mac? |
Mac object or null if this doesn't contain one. |