Structs§
- The ManagedEncryptorDecryptor makes use of the NSS provided cryptographic algorithms. The ManagedEncryptorDecryptor uses a KeyManager for encryption key retrieval.
- Use the
NSSKeyManager
to use NSS for key management. - Last but not least we provide a StaticKeyManager, which can be used in cases where there is a single key during runtime, for example in tests.
Traits§
- This is the generic EncryptorDecryptor trait, as handed over to the Store during initialization. Consumers can implement either this generic trait and bring in their own crypto, or leverage the ManagedEncryptorDecryptor below, which provides encryption algorithms out of the box.
- Consumers can implement the KeyManager in combination with the ManagedEncryptorDecryptor to hand over the encryption key whenever encryption or decryption happens.
PrimaryPasswordAuthenticator
is used in conjunction withNSSKeyManager
to provide the primary password and the success or failure actions of the authentication process.