Member Junction
    Preparing search index...

    Function InspectEncryptedEnvelopeHeader

    • Fast <1ms pre-check on an uploaded .mjdiag.enc buffer before streaming or decrypting. Verifies the MJDB magic bytes, version 0x01, header length bounds, and JSON schema.

      Parameters

      • envelopeBytes: Uint8Array
      • OptionalallowedRecipientKeyIds: readonly string[]

      Returns EnvelopeHeaderInspectionResult