| CLASS info |
| public class CryptoObject extends java.lang.Object |
| Represents a wrapper class of encryption objects associated with fingerprint authentication or 3D facial authentication. The current framework supports the Signature, Cipher and Mac objects. |
| Method name |
| CryptoObject(java.security.Signature signature) |
| CryptoObject(javax.crypto.Cipher cipher) |
| CryptoObject(javax.crypto.Mac mac) |
| Return type | Method name |
| javax.crypto.Cipher | Gets the Cipher object. |
| javax.crypto.Mac | getMac() Gets the Mac object. |
| java.security.Signature | Gets the Signature object. |
| Method |
| public CryptoObject (java.security.Signature signature) |
| Constructs a CryptoObject object carrying Signature. |
Parameters
| Parameter name | Parameter desc |
| signature | Signature object. |
| Method |
| public CryptoObject (javax.crypto.Cipher cipher) |
| Constructs a CryptoObject object carrying Cipher. |
Parameters
| Parameter name | Parameter desc |
| cipher | Cipher object. |
| Method |
| public CryptoObject (javax.crypto.Mac mac) |
| Constructs a CryptoObject object carrying Mac. |
Parameters
| Parameter name | Parameter desc |
| mac | Mac object. |
| Method |
| public javax.crypto.Cipher getCipher () |
| Gets the Cipher object. |
Return
| type | desc |
| javax.crypto.Cipher | Cipher object. If Cipher is not contained, it is null. |
| Method |
| public javax.crypto.Mac getMac () |
| Gets the Mac object. |
Return
| type | desc |
| javax.crypto.Mac | Mac object. If Mac is not contained, it is null. |
| Method |
| public java.security.Signature getSignature () |
| Gets the Signature object. |
Return
| type | desc |
| java.security.Signature | Signature object. If Signature is not contained, it is null. |