FingerprintManagerCompat.CryptoObject

Added in 1.1.0
Deprecated in 1.1.0

public class 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

@Nullable Cipher

Get Cipher object.

@Nullable Mac

Get Mac object.

@Nullable Signature

Get Signature object.

Public constructors

CryptoObject

Added in 1.1.0
Deprecated in 1.1.0
public CryptoObject(@NonNull Cipher cipher)

CryptoObject

Added in 1.1.0
Deprecated in 1.1.0
public CryptoObject(@NonNull Mac mac)

CryptoObject

Added in 1.1.0
Deprecated in 1.1.0
public CryptoObject(@NonNull Signature signature)

Public methods

getCipher

Added in 1.1.0
Deprecated in 1.1.0
public @Nullable Cipher getCipher()

Get Cipher object.

Returns
@Nullable Cipher

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

getMac

Added in 1.1.0
Deprecated in 1.1.0
public @Nullable Mac getMac()

Get Mac object.

Returns
@Nullable Mac

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

getSignature

Added in 1.1.0
Deprecated in 1.1.0
public @Nullable Signature getSignature()

Get Signature object.

Returns
@Nullable Signature

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