Expand description
Key store keyed by kid, scheme dispatch, and keyset topological decrypt.
Structsยง
- Keychain ๐
- A store of AES and RSA keys keyed by their kid.
Constantsยง
- AES_
SCHEME ๐ - MASTER_
KEY_ ๐ID - RSA_
SCHEMES ๐
Functionsยง
- decryption_
order ๐ - Orders keysets so each one comes after the key that encrypts it, starting from
root_id. Keysets the root cannot reach are left out. - derive_
master_ ๐key - Derives the key of the newest master keyset, the only one carrying KDF parameters.
- encrypted_
by ๐ - The key id that encrypts a keyset: its explicit
encryptedBy, or the symmetric keyโs kid when that is empty.