import { type Recipient } from "https://deno.land/x/jose@v5.9.6/jwe/general/encrypt.ts";
Methods
setUnprotectedHeader(unprotectedHeader: JWEHeaderParameters): Recipient
Sets the JWE Per-Recipient Unprotected Header on the Recipient object.
addRecipient(...args: Parameters<GeneralEncrypt["addRecipient"]>): Recipient
A shorthand for calling addRecipient() on the enclosing GeneralEncrypt instance
encrypt(...args: Parameters<GeneralEncrypt["encrypt"]>): Promise<GeneralJWE>
A shorthand for calling encrypt() on the enclosing GeneralEncrypt instance
done(): GeneralEncrypt
Returns the enclosing GeneralEncrypt