kpid property
String?
get
kpid
The addressing token for this key package: the kid of its active
enc-use key (the KEM public key a sender seals to). Null if the package
advertises no active key for SecretSharingAlgos.keyAlgos.
A rotated package still advertises the superseded key so that envelopes in flight to it can be opened; this names the new one.
Implementation
String? get kpid => bestKeyFor(SecretSharingAlgos.keyAlgos)?.kid;