MCPcopy
hub / github.com/panva/jose / addRecipient

Method addRecipient

src/jwe/general/encrypt.ts:39–39  ·  view source on GitHub ↗

A shorthand for calling addRecipient() on the enclosing GeneralEncrypt instance

(...args: Parameters<GeneralEncrypt['addRecipient']>)

Source from the content-addressed store, hash-verified

37
38 /** A shorthand for calling addRecipient() on the enclosing {@link GeneralEncrypt} instance */
39 addRecipient(...args: Parameters<GeneralEncrypt['addRecipient']>): Recipient
40
41 /** A shorthand for calling encrypt() on the enclosing {@link GeneralEncrypt} instance */
42 encrypt(...args: Parameters<GeneralEncrypt['encrypt']>): Promise<types.GeneralJWE>

Callers 3

general.test.tsFile · 0.65
zip.test.tsFile · 0.65
addRecipientMethod · 0.65

Implementers 1

IndividualRecipientsrc/jwe/general/encrypt.ts

Calls

no outgoing calls

Tested by

no test coverage detected