Default Crypto Provider
class DefaultCryptoProvider(keyNamespace: String, databaseName: String, context: Context) : CryptoProvider
Default CryptoProvider implementation.
Functions
Link copied to clipboard
Export encryption keys used for encrypting and decrypting Sudo claims.
Link copied to clipboard
Generate an encryption key to use for encrypting Sudo claims. Any existing keys are not removed to be able to decrypt existing claims but new claims will be encrypted using the newly generated key.
Link copied to clipboard
Get the current (most recently generated) symmetric key ID.
Link copied to clipboard
Import encryption keys to use for encrypting and decrypting Sudo claims. All existing keys will be removed before the new keys are imported.