assertCryptoEnvelopeV1
assertCryptoEnvelopeV1(
value):asserts value is CryptoEnvelope
Defined in: packages/core/src/crypto/types.ts:507
Throws unless value is a v1 envelope: v 1, alg “A256GCM”, and string
kid, iv, tag, and ct.
Parameters
섹션 제목: “Parameters”value
섹션 제목: “value”unknown
Returns
섹션 제목: “Returns”asserts value is CryptoEnvelope