FingerprintManagerCompat.CryptoObject

Added in 1.1.0
Deprecated in 1.1.0

class FingerprintManagerCompat.CryptoObject


A wrapper class for the crypto objects supported by FingerprintManager. Currently the framework supports Signature and Cipher objects.

Summary

Public constructors

CryptoObject(signature: Signature)

Public functions

Cipher?

Get Cipher object.

Mac?

Get Mac object.

Signature?

Get Signature object.

Public constructors

CryptoObject

Added in 1.1.0
Deprecated in 1.1.0
CryptoObject(cipher: Cipher)

CryptoObject

Added in 1.1.0
Deprecated in 1.1.0
CryptoObject(mac: Mac)

CryptoObject

Added in 1.1.0
Deprecated in 1.1.0
CryptoObject(signature: Signature)

Public functions

getCipher

Added in 1.1.0
Deprecated in 1.1.0
fun getCipher(): Cipher?

Get Cipher object.

Returns
Cipher?

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

getMac

Added in 1.1.0
Deprecated in 1.1.0
fun getMac(): Mac?

Get Mac object.

Returns
Mac?

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

getSignature

Added in 1.1.0
Deprecated in 1.1.0
fun getSignature(): Signature?

Get Signature object.

Returns
Signature?

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