public class

FingerprintManagerCompat.CryptoObject

extends java.lang.Object

 java.lang.Object

↳androidx.core.hardware.fingerprint.FingerprintManagerCompat.CryptoObject

Overview

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

Summary

Constructors
publicCryptoObject(javax.crypto.Cipher cipher)

publicCryptoObject(javax.crypto.Mac mac)

publicCryptoObject(java.security.Signature signature)

Methods
public javax.crypto.CiphergetCipher()

Get javax.crypto.Cipher object.

public javax.crypto.MacgetMac()

Get javax.crypto.Mac object.

public java.security.SignaturegetSignature()

Get java.security.Signature object.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public CryptoObject(java.security.Signature signature)

public CryptoObject(javax.crypto.Cipher cipher)

public CryptoObject(javax.crypto.Mac mac)

Methods

public java.security.Signature getSignature()

Get java.security.Signature object.

Returns:

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

public javax.crypto.Cipher getCipher()

Get javax.crypto.Cipher object.

Returns:

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

public javax.crypto.Mac getMac()

Get javax.crypto.Mac object.

Returns:

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