Added in API level 23
Deprecated in API level 28

CryptoObject


class CryptoObject
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)

Public methods
Cipher!

Get Cipher object.

Mac!

Get Mac object.

Signature!

Get Signature object.

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
fun getCipher(): 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
fun getMac(): 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
fun getSignature(): Signature!

Deprecated: Deprecated in Java.

Get Signature object.

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