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.
Requires API level 23 (Android 6.0, Marshmallow)

Summary

Public constructors
<init>(signature: Signature)

<init>(cipher: Cipher)

<init>(mac: Mac)

Public methods
Cipher!

This class was deprecated in API level 21.

Mac!

This class was deprecated in API level 21.

Signature!

This class was deprecated in API level 21.

Public constructors

<init>

CryptoObject(signature: Signature)
Parameters
signature Signature: This value must never be null.

<init>

CryptoObject(cipher: Cipher)
Parameters
cipher Cipher: This value must never be null.

<init>

CryptoObject(mac: Mac)
Parameters
mac Mac: This value must never be null.

Public methods

getCipher

added in API level 23
fun 
        getCipher
(): Cipher!

Deprecated:

This class was deprecated in API level 21.

Get Cipher object.
Requires API level 23 (Android 6.0, Marshmallow)

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

getMac

added in API level 23
fun 
        getMac
(): Mac!

Deprecated:

This class was deprecated in API level 21.

Get Mac object.
Requires API level 23 (Android 6.0, Marshmallow)

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

getSignature

added in API level 23
fun 
        getSignature
(): Signature!

Deprecated:

This class was deprecated in API level 21.

Get Signature object.
Requires API level 23 (Android 6.0, Marshmallow)

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