CryptoObject
classCryptoObject
| kotlin.Any | |
| ↳ | android.hardware.fingerprint.FingerprintManager.CryptoObject |
A wrapper class for the crypto objects supported by FingerprintManager. Currently the framework supports Signature, Cipher and Mac objects.
Summary
| Public constructors | |
|---|---|
CryptoObject(signature: Signature) |
|
CryptoObject(cipher: Cipher) |
|
CryptoObject(mac: Mac) |
|
| Public methods | |
|---|---|
| Cipher! |
Get |
| Mac! |
getMac()Get |
| Signature! |
Get |
Public constructors
CryptoObject
Added in API level 23
CryptoObject(signature: Signature)
| Parameters | |
|---|---|
signature |
Signature: This value cannot be null. |
CryptoObject
Added in API level 23
CryptoObject(cipher: Cipher)
| Parameters | |
|---|---|
cipher |
Cipher: This value cannot be null. |
CryptoObject
Added in API level 23
CryptoObject(mac: Mac)
| Parameters | |
|---|---|
mac |
Mac: This value cannot be null. |
Public methods
getCipher
Added in API level 23
fungetCipher(): Cipher!
Deprecated: Deprecated in Java.
Get Cipher object.
| Return | |
|---|---|
Cipher! |
Cipher object or null if this doesn't contain one. |
getMac
Added in API level 23
fungetMac(): Mac!
Deprecated: Deprecated in Java.
Get Mac object.
| Return | |
|---|---|
Mac! |
Mac object or null if this doesn't contain one. |
getSignature
Added in API level 23
fungetSignature(): Signature!
Deprecated: Deprecated in Java.
Get Signature object.
| Return | |
|---|---|
Signature! |
Signature object or null if this doesn't contain one. |