Skip to main content

Enumeration: STORAGE_TYPE

Enum representing cryptographic storage types for sensitive data.

Security Level Categories:

  1. High Security (Biometric Authentication Required):
  • AES_GCM: For sensitive local data (passwords, personal info)
  • RSA: For asymmetric operations (signatures, key exchange)
  1. Medium Security (No Authentication):
  • AES_GCM_NO_AUTH: For app-level secrets and cached data
  1. Legacy/Deprecated:
  • AES_CBC: Outdated, use AES_GCM_NO_AUTH instead

Platform

Android

Enumeration Members

AES_CBC

AES_CBC: "KeystoreAESCBC"

AES encryption in CBC (Cipher Block Chaining) mode. Provides data confidentiality without authentication.

Deprecated

Use AES_GCM_NO_AUTH instead.

Defined in

enums.ts:123


AES_GCM

AES_GCM: "KeystoreAESGCM"

AES-GCM encryption with biometric authentication. Requires user authentication for both encryption and decryption operations.

Defined in

enums.ts:133


AES_GCM_NO_AUTH

AES_GCM_NO_AUTH: "KeystoreAESGCM_NoAuth"

AES encryption in GCM (Galois/Counter Mode). Provides both data confidentiality and authentication.

Defined in

enums.ts:128


RSA

RSA: "KeystoreRSAECB"

RSA encryption with biometric authentication. Uses asymmetric encryption and requires biometric authentication.

Defined in

enums.ts:138