33< head >
44 < meta charset ="utf-8 ">
55 < meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
6- < title > DID | DID - v2.1 .0</ title >
7- < meta name ="description " content ="Documentation for DID - v2.1 .0 ">
6+ < title > DID | DID - v2.2 .0</ title >
7+ < meta name ="description " content ="Documentation for DID - v2.2 .0 ">
88 < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
99 < link rel ="stylesheet " href ="../assets/css/main.css ">
1010 < script async src ="../assets/js/search.js " id ="search-script "> </ script >
2323 < li class ="state loading "> Preparing search index...</ li >
2424 < li class ="state failure "> The search index is not available</ li >
2525 </ ul >
26- < a href ="../index.html " class ="title "> DID - v2.1 .0</ a >
26+ < a href ="../index.html " class ="title "> DID - v2.2 .0</ a >
2727 </ div >
2828 < div class ="table-cell " id ="tsd-widgets ">
2929 < div id ="tsd-filter ">
5252 < div class ="container ">
5353 < ul class ="tsd-breadcrumb ">
5454 < li >
55- < a href ="../modules.html "> DID - v2.1 .0</ a >
55+ < a href ="../modules.html "> DID - v2.2 .0</ a >
5656 </ li >
5757 < li >
5858 < a href ="did.html "> DID</ a >
@@ -128,7 +128,7 @@ <h3>constructor</h3>
128128 < li class ="tsd-description ">
129129 < aside class ="tsd-sources ">
130130 < ul >
131- < li > Defined in < a href ="https://github.com/ceramicnetwork/js-did/blob/f86c993 /src/index .ts#L94 "> src/index .ts:94 </ a > </ li >
131+ < li > Defined in < a href ="https://github.com/ceramicnetwork/js-did/blob/1af4a53 /src/did .ts#L86 "> src/did .ts:86 </ a > </ li >
132132 </ ul >
133133 </ aside >
134134 < h4 class ="tsd-parameters-title "> Parameters</ h4 >
@@ -154,7 +154,7 @@ <h3>authenticated</h3>
154154 < li class ="tsd-description ">
155155 < aside class ="tsd-sources ">
156156 < ul >
157- < li > Defined in < a href ="https://github.com/ceramicnetwork/js-did/blob/f86c993 /src/index .ts#L106 "> src/index .ts:106 </ a > </ li >
157+ < li > Defined in < a href ="https://github.com/ceramicnetwork/js-did/blob/1af4a53 /src/did .ts#L98 "> src/did .ts:98 </ a > </ li >
158158 </ ul >
159159 </ aside >
160160 < div class ="tsd-comment tsd-typography ">
@@ -176,7 +176,7 @@ <h3>id</h3>
176176 < li class ="tsd-description ">
177177 < aside class ="tsd-sources ">
178178 < ul >
179- < li > Defined in < a href ="https://github.com/ceramicnetwork/js-did/blob/f86c993 /src/index .ts#L113 "> src/index .ts:113 </ a > </ li >
179+ < li > Defined in < a href ="https://github.com/ceramicnetwork/js-did/blob/1af4a53 /src/did .ts#L105 "> src/did .ts:105 </ a > </ li >
180180 </ ul >
181181 </ aside >
182182 < div class ="tsd-comment tsd-typography ">
@@ -201,7 +201,7 @@ <h3>authenticate</h3>
201201 < li class ="tsd-description ">
202202 < aside class ="tsd-sources ">
203203 < ul >
204- < li > Defined in < a href ="https://github.com/ceramicnetwork/js-did/blob/f86c993 /src/index .ts#L149 "> src/index .ts:149 </ a > </ li >
204+ < li > Defined in < a href ="https://github.com/ceramicnetwork/js-did/blob/1af4a53 /src/did .ts#L141 "> src/did .ts:141 </ a > </ li >
205205 </ ul >
206206 </ aside >
207207 < div class ="tsd-comment tsd-typography ">
@@ -229,7 +229,7 @@ <h3>create<wbr>DagJWE</h3>
229229 < li class ="tsd-description ">
230230 < aside class ="tsd-sources ">
231231 < ul >
232- < li > Defined in < a href ="https://github.com/ceramicnetwork/js-did/blob/f86c993 /src/index .ts#L256 "> src/index .ts:256 </ a > </ li >
232+ < li > Defined in < a href ="https://github.com/ceramicnetwork/js-did/blob/1af4a53 /src/did .ts#L259 "> src/did .ts:259 </ a > </ li >
233233 </ ul >
234234 </ aside >
235235 < div class ="tsd-comment tsd-typography ">
@@ -272,7 +272,7 @@ <h3>create<wbr>DagJWS</h3>
272272 < li class ="tsd-description ">
273273 < aside class ="tsd-sources ">
274274 < ul >
275- < li > Defined in < a href ="https://github.com/ceramicnetwork/js-did/blob/f86c993 /src/index .ts#L197 "> src/index .ts:197 </ a > </ li >
275+ < li > Defined in < a href ="https://github.com/ceramicnetwork/js-did/blob/1af4a53 /src/did .ts#L189 "> src/did .ts:189 </ a > </ li >
276276 </ ul >
277277 </ aside >
278278 < div class ="tsd-comment tsd-typography ">
@@ -310,7 +310,7 @@ <h3>createJWE</h3>
310310 < li class ="tsd-description ">
311311 < aside class ="tsd-sources ">
312312 < ul >
313- < li > Defined in < a href ="https://github.com/ceramicnetwork/js-did/blob/f86c993 /src/index .ts#L240 "> src/index .ts:240 </ a > </ li >
313+ < li > Defined in < a href ="https://github.com/ceramicnetwork/js-did/blob/1af4a53 /src/did .ts#L243 "> src/did .ts:243 </ a > </ li >
314314 </ ul >
315315 </ aside >
316316 < div class ="tsd-comment tsd-typography ">
@@ -353,7 +353,7 @@ <h3>createJWS</h3>
353353 < li class ="tsd-description ">
354354 < aside class ="tsd-sources ">
355355 < ul >
356- < li > Defined in < a href ="https://github.com/ceramicnetwork/js-did/blob/f86c993 /src/index .ts#L179 "> src/index .ts:179 </ a > </ li >
356+ < li > Defined in < a href ="https://github.com/ceramicnetwork/js-did/blob/1af4a53 /src/did .ts#L171 "> src/did .ts:171 </ a > </ li >
357357 </ ul >
358358 </ aside >
359359 < div class ="tsd-comment tsd-typography ">
@@ -397,7 +397,7 @@ <h3>decrypt<wbr>DagJWE</h3>
397397 < li class ="tsd-description ">
398398 < aside class ="tsd-sources ">
399399 < ul >
400- < li > Defined in < a href ="https://github.com/ceramicnetwork/js-did/blob/f86c993 /src/index .ts#L288 "> src/index .ts:288 </ a > </ li >
400+ < li > Defined in < a href ="https://github.com/ceramicnetwork/js-did/blob/1af4a53 /src/did .ts#L291 "> src/did .ts:291 </ a > </ li >
401401 </ ul >
402402 </ aside >
403403 < div class ="tsd-comment tsd-typography ">
@@ -429,7 +429,7 @@ <h3>decryptJWE</h3>
429429 < li class ="tsd-description ">
430430 < aside class ="tsd-sources ">
431431 < ul >
432- < li > Defined in < a href ="https://github.com/ceramicnetwork/js-did/blob/f86c993 /src/index .ts#L270 "> src/index .ts:270 </ a > </ li >
432+ < li > Defined in < a href ="https://github.com/ceramicnetwork/js-did/blob/1af4a53 /src/did .ts#L273 "> src/did .ts:273 </ a > </ li >
433433 </ ul >
434434 </ aside >
435435 < div class ="tsd-comment tsd-typography ">
@@ -466,7 +466,7 @@ <h3>resolve</h3>
466466 < li class ="tsd-description ">
467467 < aside class ="tsd-sources ">
468468 < ul >
469- < li > Defined in < a href ="https://github.com/ceramicnetwork/js-did/blob/f86c993 /src/index .ts#L298 "> src/index .ts:298 </ a > </ li >
469+ < li > Defined in < a href ="https://github.com/ceramicnetwork/js-did/blob/1af4a53 /src/did .ts#L301 "> src/did .ts:301 </ a > </ li >
470470 </ ul >
471471 </ aside >
472472 < div class ="tsd-comment tsd-typography ">
@@ -497,7 +497,7 @@ <h3>set<wbr>Provider</h3>
497497 < li class ="tsd-description ">
498498 < aside class ="tsd-sources ">
499499 < ul >
500- < li > Defined in < a href ="https://github.com/ceramicnetwork/js-did/blob/f86c993 /src/index .ts#L126 "> src/index .ts:126 </ a > </ li >
500+ < li > Defined in < a href ="https://github.com/ceramicnetwork/js-did/blob/1af4a53 /src/did .ts#L118 "> src/did .ts:118 </ a > </ li >
501501 </ ul >
502502 </ aside >
503503 < div class ="tsd-comment tsd-typography ">
@@ -529,7 +529,7 @@ <h3>set<wbr>Resolver</h3>
529529 < li class ="tsd-description ">
530530 < aside class ="tsd-sources ">
531531 < ul >
532- < li > Defined in < a href ="https://github.com/ceramicnetwork/js-did/blob/f86c993 /src/index .ts#L142 "> src/index .ts:142 </ a > </ li >
532+ < li > Defined in < a href ="https://github.com/ceramicnetwork/js-did/blob/1af4a53 /src/did .ts#L134 "> src/did .ts:134 </ a > </ li >
533533 </ ul >
534534 </ aside >
535535 < div class ="tsd-comment tsd-typography ">
@@ -560,13 +560,13 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</spa
560560 < a name ="verifyjws " class ="tsd-anchor "> </ a >
561561 < h3 > verifyJWS</ h3 >
562562 < ul class ="tsd-signatures tsd-kind-method tsd-parent-kind-class ">
563- < li class ="tsd-signature tsd-kind-icon "> verifyJWS< span class ="tsd-signature-symbol "> (</ span > jws< span class ="tsd-signature-symbol "> : </ span > < span class ="tsd-signature-type "> string</ span > < span class ="tsd-signature-symbol "> | </ span > < a href ="../modules.html#dagjws " class ="tsd-signature-type " data-tsd-kind ="Type alias "> DagJWS</ a > < span class ="tsd-signature-symbol "> )</ span > < span class ="tsd-signature-symbol "> : </ span > < span class ="tsd-signature-type "> Promise</ span > < span class ="tsd-signature-symbol "> <</ span > < a href ="../interfaces/verifyjwsresult.html " class ="tsd-signature-type " data-tsd-kind ="Interface "> VerifyJWSResult</ a > < span class ="tsd-signature-symbol "> ></ span > </ li >
563+ < li class ="tsd-signature tsd-kind-icon "> verifyJWS< span class ="tsd-signature-symbol "> (</ span > jws< span class ="tsd-signature-symbol "> : </ span > < span class ="tsd-signature-type "> string</ span > < span class ="tsd-signature-symbol "> | </ span > < a href ="../modules.html#dagjws " class ="tsd-signature-type " data-tsd-kind ="Type alias "> DagJWS</ a > , options < span class =" tsd-signature-symbol " > ?: </ span > < a href =" ../interfaces/verifyjwsoptions.html " class =" tsd-signature-type " data-tsd-kind =" Interface " > VerifyJWSOptions </ a > < span class ="tsd-signature-symbol "> )</ span > < span class ="tsd-signature-symbol "> : </ span > < span class ="tsd-signature-type "> Promise</ span > < span class ="tsd-signature-symbol "> <</ span > < a href ="../interfaces/verifyjwsresult.html " class ="tsd-signature-type " data-tsd-kind ="Interface "> VerifyJWSResult</ a > < span class ="tsd-signature-symbol "> ></ span > </ li >
564564 </ ul >
565565 < ul class ="tsd-descriptions ">
566566 < li class ="tsd-description ">
567567 < aside class ="tsd-sources ">
568568 < ul >
569- < li > Defined in < a href ="https://github.com/ceramicnetwork/js-did/blob/f86c993 /src/index .ts#L216 "> src/index .ts:216 </ a > </ li >
569+ < li > Defined in < a href ="https://github.com/ceramicnetwork/js-did/blob/1af4a53 /src/did .ts#L209 "> src/did .ts:209 </ a > </ li >
570570 </ ul >
571571 </ aside >
572572 < div class ="tsd-comment tsd-typography ">
@@ -583,6 +583,12 @@ <h5>jws: <span class="tsd-signature-type">string</span><span class="tsd-signatur
583583 < p > The JWS to verify</ p >
584584 </ div >
585585 </ li >
586+ < li >
587+ < h5 > options: < a href ="../interfaces/verifyjwsoptions.html " class ="tsd-signature-type " data-tsd-kind ="Interface "> VerifyJWSOptions</ a > < span class ="tsd-signature-symbol "> = {}</ span > </ h5 >
588+ < div class ="tsd-comment tsd-typography ">
589+ < p > Optional arguments for verification</ p >
590+ </ div >
591+ </ li >
586592 </ ul >
587593 < h4 class ="tsd-returns-title "> Returns < span class ="tsd-signature-type "> Promise</ span > < span class ="tsd-signature-symbol "> <</ span > < a href ="../interfaces/verifyjwsresult.html " class ="tsd-signature-type " data-tsd-kind ="Interface "> VerifyJWSResult</ a > < span class ="tsd-signature-symbol "> ></ span > </ h4 >
588594 < p > Information about the signed JWS</ p >
@@ -667,12 +673,6 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</
667673 < li class =" tsd-kind-interface ">
668674 < a href ="../interfaces/createjwsoptions.html " class ="tsd-kind-icon "> CreateJWSOptions</ a >
669675 </ li >
670- < li class =" tsd-kind-interface ">
671- < a href ="../interfaces/createjwsparams.html " class ="tsd-kind-icon "> CreateJWSParams</ a >
672- </ li >
673- < li class =" tsd-kind-interface ">
674- < a href ="../interfaces/createjwsresult.html " class ="tsd-kind-icon "> CreateJWSResult</ a >
675- </ li >
676676 < li class =" tsd-kind-interface ">
677677 < a href ="../interfaces/didoptions.html " class ="tsd-kind-icon "> DIDOptions</ a >
678678 </ li >
@@ -686,17 +686,20 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</
686686 < a href ="../interfaces/decryptjweoptions.html " class ="tsd-kind-icon "> DecryptJWEOptions</ a >
687687 </ li >
688688 < li class =" tsd-kind-interface ">
689- < a href ="../interfaces/decryptjweparams .html " class ="tsd-kind-icon "> DecryptJWEParams </ a >
689+ < a href ="../interfaces/decryptjweresult .html " class ="tsd-kind-icon "> DecryptJWEResult </ a >
690690 </ li >
691691 < li class =" tsd-kind-interface ">
692- < a href ="../interfaces/decryptjweresult .html " class ="tsd-kind-icon "> DecryptJWEResult </ a >
692+ < a href ="../interfaces/verifyjwsoptions .html " class ="tsd-kind-icon "> VerifyJWSOptions </ a >
693693 </ li >
694694 < li class =" tsd-kind-interface ">
695695 < a href ="../interfaces/verifyjwsresult.html " class ="tsd-kind-icon "> VerifyJWSResult</ a >
696696 </ li >
697697 < li class =" tsd-kind-type-alias ">
698698 < a href ="../modules.html#authparams " class ="tsd-kind-icon "> Auth< wbr > Params</ a >
699699 </ li >
700+ < li class =" tsd-kind-type-alias ">
701+ < a href ="../modules.html#createjwsparams " class ="tsd-kind-icon "> CreateJWSParams</ a >
702+ </ li >
700703 < li class =" tsd-kind-type-alias ">
701704 < a href ="../modules.html#didmethodname " class ="tsd-kind-icon "> DIDMethod< wbr > Name</ a >
702705 </ li >
@@ -721,6 +724,9 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</
721724 < li class =" tsd-kind-type-alias ">
722725 < a href ="../modules.html#dagjws " class ="tsd-kind-icon "> DagJWS</ a >
723726 </ li >
727+ < li class =" tsd-kind-type-alias ">
728+ < a href ="../modules.html#decryptjweparams " class ="tsd-kind-icon "> DecryptJWEParams</ a >
729+ </ li >
724730 < li class =" tsd-kind-type-alias ">
725731 < a href ="../modules.html#generaljws " class ="tsd-kind-icon "> GeneralJWS</ a >
726732 </ li >
0 commit comments