CertifiedKeyManager
Manager for a pool of keys generated locally from a SecureArea and certified by a certifying authority.
The manager maintains a pool of certified keys, automatically replenishing them when the number of fresh, valid keys drops below 50% of numKeys. It also handles key expiration, offline resilience, and cleanup of stale keys.
Constructors
Properties
a suspend function that certifies a batch of KeyAttestations and returns their X509CertChains.
settings passed when creating keys in the SecureArea.
certificate lifetime fraction after which a key is refreshed, defaults to 2/3.
pool threshold fraction below which replenishing is triggered, defaults to 0.5.
the SecureArea to generate and hold private keys.
Functions
Clears all managed keys from SecureArea and storage.
Gets a certified key.
Refreshes certified keys.