The Android Developer Challenge is back! Submit your idea before December 2.

CryptoObject

class CryptoObject
kotlin.Any
   ↳ androidx.core.hardware.fingerprint.FingerprintManagerCompat.CryptoObject

A wrapper class for the crypto objects supported by FingerprintManager. Currently the framework supports Signature and Cipher objects.

Summary

Public constructors

<init>(@NonNull signature: Signature)

<init>(@NonNull cipher: Cipher)

<init>(@NonNull mac: Mac)

Public methods

open Cipher?

Get Cipher object.

open Mac?

Get Mac object.

open Signature?

Get Signature object.

Public constructors

<init>

CryptoObject(@NonNull signature: Signature)

<init>

CryptoObject(@NonNull cipher: Cipher)

<init>

CryptoObject(@NonNull mac: Mac)

Public methods

getCipher

@Nullable open fun getCipher(): Cipher?

Get Cipher object.

Return
Cipher?: Cipher object or null if this doesn't contain one.

getMac

@Nullable open fun getMac(): Mac?

Get Mac object.

Return
Mac?: Mac object or null if this doesn't contain one.

getSignature

@Nullable open fun getSignature(): Signature?

Get Signature object.

Return
Signature?: Signature object or null if this doesn't contain one.