콘텐츠로 이동

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.

unknown

asserts value is CryptoEnvelope