public static final class FingerprintManager.CryptoObject
extends Object
java.lang.Object | |
↳ | android.hardware.fingerprint.FingerprintManager.CryptoObject |
FingerprintManager支持的加密对象的包装类。 目前,该框架支持Signature
, Cipher
和Mac
对象。
Public constructors |
|
---|---|
FingerprintManager.CryptoObject(Signature signature) |
|
FingerprintManager.CryptoObject(Cipher cipher) |
|
FingerprintManager.CryptoObject(Mac mac) |
Public methods |
|
---|---|
Cipher |
getCipher() 获取 |
Mac |
getMac() 获取 |
Signature |
getSignature() 获取 |
Inherited methods |
|
---|---|
From class java.lang.Object
|
FingerprintManager.CryptoObject (Signature signature)
Parameters | |
---|---|
signature |
Signature
|
FingerprintManager.CryptoObject (Cipher cipher)
Parameters | |
---|---|
cipher |
Cipher
|
FingerprintManager.CryptoObject (Mac mac)
Parameters | |
---|---|
mac |
Mac
|
Cipher getCipher ()
获取 Cipher
对象。
Returns | |
---|---|
Cipher |
Cipher object or null if this doesn't contain one. |
Mac getMac ()
获取 Mac
对象。
Returns | |
---|---|
Mac |
Mac object or null if this doesn't contain one. |
Signature getSignature ()
获取 Signature
对象。
Returns | |
---|---|
Signature |
Signature object or null if this doesn't contain one. |