Most visited

Recently visited

Added in API level 23

FingerprintManager.CryptoObject

public static final class FingerprintManager.CryptoObject
extends Object

java.lang.Object
   ↳ android.hardware.fingerprint.FingerprintManager.CryptoObject


FingerprintManager支持的加密对象的包装类。 目前,该框架支持SignatureCipherMac对象。

Summary

Public constructors

FingerprintManager.CryptoObject(Signature signature)
FingerprintManager.CryptoObject(Cipher cipher)
FingerprintManager.CryptoObject(Mac mac)

Public methods

Cipher getCipher()

获取 Cipher对象。

Mac getMac()

获取 Mac对象。

Signature getSignature()

获取 Signature对象。

Inherited methods

From class java.lang.Object

Public constructors

FingerprintManager.CryptoObject

Added in API level 23
FingerprintManager.CryptoObject (Signature signature)

Parameters
signature Signature

FingerprintManager.CryptoObject

Added in API level 23
FingerprintManager.CryptoObject (Cipher cipher)

Parameters
cipher Cipher

FingerprintManager.CryptoObject

Added in API level 23
FingerprintManager.CryptoObject (Mac mac)

Parameters
mac Mac

Public methods

getCipher

Added in API level 23
Cipher getCipher ()

获取 Cipher对象。

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

getMac

Added in API level 23
Mac getMac ()

获取 Mac对象。

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

getSignature

Added in API level 23
Signature getSignature ()

获取 Signature对象。

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

Hooray!