FingerprintManager.CryptoObject
  public
  static
  final
  
  class
  FingerprintManager.CryptoObject
  
    extends Object
  
  
  
  
  
  
| java.lang.Object | |
| ↳ | android.hardware.fingerprint.FingerprintManager.CryptoObject | 
      This class was deprecated
      in API level 28.
    See BiometricPrompt.CryptoObject
  
A wrapper class for the crypto objects supported by FingerprintManager. Currently the
 framework supports Signature, Cipher and Mac objects.
Summary
| Public constructors | |
|---|---|
| 
      CryptoObject(Signature signature)
       | |
| 
      CryptoObject(Cipher cipher)
       | |
| 
      CryptoObject(Mac mac)
       | |
| Public methods | |
|---|---|
| 
        
        
        
        
        
        Cipher | 
      getCipher()
      Get  | 
| 
        
        
        
        
        
        Mac | 
      getMac()
      Get  | 
| 
        
        
        
        
        
        Signature | 
      getSignature()
      Get  | 
| Inherited methods | |
|---|---|
Public constructors
CryptoObject
    Added in API level 23
  
      
  
    public CryptoObject (Signature signature)
| Parameters | |
|---|---|
| signature | Signature: This value cannot benull. | 
CryptoObject
    Added in API level 23
  
      
  
    public CryptoObject (Cipher cipher)
| Parameters | |
|---|---|
| cipher | Cipher: This value cannot benull. | 
CryptoObject
    Added in API level 23
  
      
  
    public CryptoObject (Mac mac)
| Parameters | |
|---|---|
| mac | Mac: This value cannot benull. | 
Public methods
getCipher
    Added in API level 23
  
      
  
    public Cipher getCipher ()
Get Cipher object.
| Returns | |
|---|---|
| Cipher | Cipherobject or null if this doesn't contain one. | 
getMac
    Added in API level 23
  
      
  
    public Mac getMac ()
Get Mac object.
| Returns | |
|---|---|
| Mac | Macobject or null if this doesn't contain one. | 
getSignature
    Added in API level 23
  
      
  
    public Signature getSignature ()
Get Signature object.
| Returns | |
|---|---|
| Signature | Signatureobject or null if this doesn't contain one. | 
