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) |
|
|---|---|
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. |