Skip to content

parse

parse(source): Promise<EnvelopeInfo>

Defined in: packages/filecoin-encryption-envelope/src/range/inspect.ts:97

Inspect an encoded FEE object without a key: scheme, content type, application metadata, and recipients. Unauthenticated — see above.

Reads only as much of source as it takes to find the envelope boundary (see readEnvelope), never the detached ciphertext.

ParameterType
sourceUint8Array<ArrayBufferLike> | RandomAccessSource

Promise<EnvelopeInfo>