Skip to content

DecryptedJwe ​

DecryptedJwe ​

Authenticated plaintext. Encryption does not establish sender identity: anyone with the public key can encrypt.

ts
interface DecryptedJwe {
	readonly authenticated: true;
	readonly plaintext: Uint8Array;
	readonly header: JweHeader;
}

Properties

  • readonly authenticated: true — GCM authentication succeeded under the supplied key.
  • readonly plaintext: Uint8Array — Plaintext bytes; never an implicit JSON or nested JWT decode.
  • readonly header: JweHeader — Authenticated protected header.

Released under the MIT License.