extractEnvelopeKid
extractEnvelopeKid(
ciphertext):string|undefined
Defined in: packages/core/src/crypto/key-selection.ts:19
Reads the kid of a v1 ciphertext envelope, exactly as written. Returns
undefined for any other value, including a provider’s own JSON format.
Parameters
Section titled “Parameters”ciphertext
Section titled “ciphertext”unknown
Returns
Section titled “Returns”string | undefined