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

Method encrypt

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

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

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

Source from the content-addressed store, hash-verified

40
41 /** A shorthand for calling encrypt() on the enclosing {@link GeneralEncrypt} instance */
42 encrypt(...args: Parameters<GeneralEncrypt['encrypt']>): Promise<types.GeneralJWE>
43
44 /** Returns the enclosing {@link GeneralEncrypt} instance */
45 done(): GeneralEncrypt

Callers 15

general.test.tsFile · 0.65
zip.test.tsFile · 0.65
testRSAencFunction · 0.65
decrypt.test.tsFile · 0.65
numericDateNumberFunction · 0.65
failingNumericDateFunction · 0.65
replicatedClaimCheckFunction · 0.65
encrypt.test.tsFile · 0.65
testJWTsetFunctionFunction · 0.65

Implementers 1

IndividualRecipientsrc/jwe/general/encrypt.ts

Calls

no outgoing calls

Tested by 5

testRSAencFunction · 0.52
numericDateNumberFunction · 0.52
failingNumericDateFunction · 0.52
replicatedClaimCheckFunction · 0.52
testJWTsetFunctionFunction · 0.52