[{"data":1,"prerenderedAt":1029},["ShallowReactive",2],{"navigation":3,"-jwk-import-export":167,"-jwk-import-export-surround":1026},[4,22,78,106,141,148],{"title":5,"path":6,"stem":7,"children":8},"Introduction","\u002Fgetting-started","0.Getting-Started\u002F0.index",[9,10,14,18],{"title":5,"path":6,"stem":7},{"title":11,"path":12,"stem":13},"Installation","\u002Fgetting-started\u002Finstallation","0.Getting-Started\u002F1.installation",{"title":15,"path":16,"stem":17},"Quickstart","\u002Fgetting-started\u002Fquickstart","0.Getting-Started\u002F2.quickstart",{"title":19,"path":20,"stem":21},"Core concepts","\u002Fgetting-started\u002Fcore-concepts","0.Getting-Started\u002F3.core-concepts",{"title":23,"path":24,"stem":25,"children":26,"icon":28},"JWT","\u002Fjwt","1.JWT\u002F0.index",[27,29,52],{"title":23,"path":24,"stem":25,"icon":28},"i-carbon-certificate",{"title":30,"path":31,"stem":32,"children":33,"icon":35},"JWS","\u002Fjwt\u002Fjws","1.JWT\u002F1.JWS\u002F0.index",[34,36,40,44,48],{"title":30,"path":31,"stem":32,"icon":35},"i-carbon-document-signed",{"title":37,"path":38,"stem":39},"Signing","\u002Fjwt\u002Fjws\u002Fsigning","1.JWT\u002F1.JWS\u002F1.signing",{"title":41,"path":42,"stem":43},"Verifying","\u002Fjwt\u002Fjws\u002Fverifying","1.JWT\u002F1.JWS\u002F2.verifying",{"title":45,"path":46,"stem":47},"Multi-signature","\u002Fjwt\u002Fjws\u002Fmulti-signature","1.JWT\u002F1.JWS\u002F3.multi-signature",{"title":49,"path":50,"stem":51},"Algorithms","\u002Fjwt\u002Fjws\u002Falgorithms","1.JWT\u002F1.JWS\u002F4.algorithms",{"title":53,"path":54,"stem":55,"children":56,"icon":58},"JWE","\u002Fjwt\u002Fjwe","1.JWT\u002F2.JWE\u002F0.index",[57,59,63,67,71,75],{"title":53,"path":54,"stem":55,"icon":58},"i-carbon-locked",{"title":60,"path":61,"stem":62},"Encrypting","\u002Fjwt\u002Fjwe\u002Fencrypting","1.JWT\u002F2.JWE\u002F1.encrypting",{"title":64,"path":65,"stem":66},"Decrypting","\u002Fjwt\u002Fjwe\u002Fdecrypting","1.JWT\u002F2.JWE\u002F2.decrypting",{"title":68,"path":69,"stem":70},"Multi-recipient","\u002Fjwt\u002Fjwe\u002Fmulti-recipient","1.JWT\u002F2.JWE\u002F3.multi-recipient",{"title":72,"path":73,"stem":74},"ECDH-ES and end-to-end encryption","\u002Fjwt\u002Fjwe\u002Fecdh-es","1.JWT\u002F2.JWE\u002F4.ecdh-es",{"title":49,"path":76,"stem":77},"\u002Fjwt\u002Fjwe\u002Falgorithms","1.JWT\u002F2.JWE\u002F5.algorithms",{"title":79,"path":80,"stem":81,"children":82,"icon":84},"Examples","\u002Fexamples","10.Examples\u002F0.index",[83,85,90,94,98,102],{"title":79,"path":80,"stem":81,"icon":84},"i-carbon-code-reference",{"title":86,"path":87,"stem":88,"icon":89},"Authentication basics","\u002Fexamples\u002Fauthentication-basics","10.Examples\u002F1.authentication-basics","i-lucide-code",{"title":91,"path":92,"stem":93,"icon":89},"Consuming a JWKS endpoint","\u002Fexamples\u002Fjwks-endpoint","10.Examples\u002F2.jwks-endpoint",{"title":95,"path":96,"stem":97,"icon":89},"Refresh token pattern","\u002Fexamples\u002Frefresh-token-pattern","10.Examples\u002F3.refresh-token-pattern",{"title":99,"path":100,"stem":101,"icon":89},"End-to-end encryption","\u002Fexamples\u002Fend-to-end-encryption","10.Examples\u002F4.end-to-end-encryption",{"title":103,"path":104,"stem":105,"icon":89},"Signed receipts","\u002Fexamples\u002Fsigned-receipts","10.Examples\u002F5.signed-receipts",{"title":107,"path":108,"stem":109,"children":110,"icon":112},"JWK","\u002Fjwk","2.JWK\u002F0.index",[111,113,117,121,125,129,133,137],{"title":107,"path":108,"stem":109,"icon":112},"i-carbon-two-factor-authentication",{"title":114,"path":115,"stem":116},"Generating keys","\u002Fjwk\u002Fgenerating","2.JWK\u002F1.generating",{"title":118,"path":119,"stem":120},"Importing and exporting","\u002Fjwk\u002Fimport-export","2.JWK\u002F2.import-export",{"title":122,"path":123,"stem":124},"PEM conversion","\u002Fjwk\u002Fpem","2.JWK\u002F3.pem",{"title":126,"path":127,"stem":128},"Key wrapping","\u002Fjwk\u002Fwrapping","2.JWK\u002F4.wrapping",{"title":130,"path":131,"stem":132},"Password derivation","\u002Fjwk\u002Fpassword-derivation","2.JWK\u002F5.password-derivation",{"title":134,"path":135,"stem":136},"JWK Sets","\u002Fjwk\u002Fjwk-sets","2.JWK\u002F6.jwk-sets",{"title":138,"path":139,"stem":140},"JWK cache","\u002Fjwk\u002Fcache","2.JWK\u002F7.cache",{"title":142,"path":143,"stem":144,"children":145,"icon":147},"Utilities","\u002Futilities","3.Utilities\u002F0.index",[146],{"title":142,"path":143,"stem":144,"icon":147},"i-carbon-tool-box",{"title":149,"path":150,"stem":151,"children":152,"icon":154},"Adapters","\u002Fadapters","99.Adapters\u002F0.index",[153,155,159,163],{"title":149,"path":150,"stem":151,"icon":154},"i-carbon-plug",{"title":156,"path":157,"stem":158},"H3 sessions","\u002Fadapters\u002Fh3-sessions","99.Adapters\u002F1.h3-sessions",{"title":160,"path":161,"stem":162},"Lifecycle hooks","\u002Fadapters\u002Fhooks","99.Adapters\u002F2.hooks",{"title":164,"path":165,"stem":166},"Lower-level functions","\u002Fadapters\u002Flower-level","99.Adapters\u002F3.lower-level",{"id":168,"title":118,"body":169,"description":205,"extension":1021,"meta":1022,"navigation":1023,"path":119,"seo":1024,"stem":120,"__hash__":1025},"content\u002F2.JWK\u002F2.import-export.md",{"type":170,"value":171,"toc":1009},"minimark",[172,177,196,199,231,238,257,266,271,386,393,411,489,498,537,545,554,638,641,645,803,809,825,831,913,952,972,976,1005],[173,174,176],"h1",{"id":175},"importing-exporting","Importing & exporting",[178,179,180,181,184,185,184,188,191,192,195],"p",{},"unjwt functions accept keys in many shapes — ",[182,183,107],"code",{},", ",[182,186,187],{},"CryptoKey",[182,189,190],{},"Uint8Array",", password strings. Internally, everything is normalized through ",[182,193,194],{},"importKey()",".",[178,197,198],{},"Import:",[200,201,206],"pre",{"className":202,"code":203,"language":204,"meta":205,"style":205},"language-ts shiki shiki-themes github-light github-dark github-dark","import { importKey, exportKey } from \"unjwt\u002Fjwk\";\n","ts","",[182,207,208],{"__ignoreMap":205},[209,210,213,217,221,224,228],"span",{"class":211,"line":212},"line",1,[209,214,216],{"class":215},"so5gQ","import",[209,218,220],{"class":219},"slsVL"," { importKey, exportKey } ",[209,222,223],{"class":215},"from",[209,225,227],{"class":226},"sfrk1"," \"unjwt\u002Fjwk\"",[209,229,230],{"class":219},";\n",[232,233,235],"h2",{"id":234},"importkey",[182,236,237],{},"importKey",[200,239,241],{"className":202,"code":240,"language":204,"meta":205,"style":205},"importKey(key, algOrOptions?)\n",[182,242,243],{"__ignoreMap":205},[209,244,245,248,251,254],{"class":211,"line":212},[209,246,237],{"class":247},"shcOC",[209,249,250],{"class":219},"(key, algOrOptions",[209,252,253],{"class":215},"?",[209,255,256],{"class":219},")\n",[178,258,259,260,262,263,265],{},"Takes any supported input shape and returns a ",[182,261,187],{}," (for asymmetric JWKs) or a ",[182,264,190],{}," (for symmetric material, by default).",[267,268,270],"h3",{"id":269},"input-shapes","Input shapes",[272,273,274,290],"table",{},[275,276,277],"thead",{},[278,279,280,284,287],"tr",{},[281,282,283],"th",{},"Input",[281,285,286],{},"Output (default)",[281,288,289],{},"Notes",[291,292,293,309,323,340,363],"tbody",{},[278,294,295,301,306],{},[296,297,298],"td",{},[182,299,300],{},"string",[296,302,303,305],{},[182,304,190],{}," (UTF-8 bytes)",[296,307,308],{},"Treat as a password or raw secret.",[278,310,311,315,320],{},[296,312,313],{},[182,314,190],{},[296,316,317,318],{},"Same ",[182,319,190],{},[296,321,322],{},"Returned as-is.",[278,324,325,329,333],{},[296,326,327],{},[182,328,187],{},[296,330,317,331],{},[182,332,187],{},[296,334,335,336,339],{},"Returned as-is (subject to ",[182,337,338],{},"expect"," validation).",[278,341,342,347,356],{},[296,343,344],{},[182,345,346],{},"JWK_oct",[296,348,349,351,352,355],{},[182,350,190],{}," (from ",[182,353,354],{},"k",")",[296,357,358,359,362],{},"Bytes — pass ",[182,360,361],{},"asCryptoKey: true"," to get a CryptoKey.",[278,364,365,375,379],{},[296,366,367,370,371,374],{},[182,368,369],{},"JWK_Public"," \u002F ",[182,372,373],{},"JWK_Private"," (asymmetric)",[296,376,377],{},[182,378,187],{},[296,380,381,382,385],{},"Requires ",[182,383,384],{},"alg"," (from the JWK or explicit option).",[267,387,389,390,392],{"id":388},"the-expect-option","The ",[182,391,338],{}," option",[178,394,395,398,399,403,404,406,407,410],{},[182,396,397],{},"expect: \"public\" | \"private\""," validates the caller's intent ",[400,401,402],"strong",{},"before"," the import runs. If the key type doesn't match, ",[182,405,194],{}," throws ",[182,408,409],{},"ERR_JWK_INVALID"," instead of silently succeeding:",[200,412,415],{"className":202,"code":413,"filename":414,"language":204,"meta":205,"style":205},"import { importKey } from \"unjwt\u002Fjwk\";\n\n\u002F\u002F Good: recipient public JWK passed with expect: \"public\"\nconst pubKey = await importKey(recipientJwk, { alg: \"RSA-OAEP-256\", expect: \"public\" });\n\n\u002F\u002F Will throw if somebody accidentally passed a private JWK here\n","expect.ts",[182,416,417,430,437,444,478,483],{"__ignoreMap":205},[209,418,419,421,424,426,428],{"class":211,"line":212},[209,420,216],{"class":215},[209,422,423],{"class":219}," { importKey } ",[209,425,223],{"class":215},[209,427,227],{"class":226},[209,429,230],{"class":219},[209,431,433],{"class":211,"line":432},2,[209,434,436],{"emptyLinePlaceholder":435},true,"\n",[209,438,440],{"class":211,"line":439},3,[209,441,443],{"class":442},"sCsY4","\u002F\u002F Good: recipient public JWK passed with expect: \"public\"\n",[209,445,447,450,454,457,460,463,466,469,472,475],{"class":211,"line":446},4,[209,448,449],{"class":215},"const",[209,451,453],{"class":452},"suiK_"," pubKey",[209,455,456],{"class":215}," =",[209,458,459],{"class":215}," await",[209,461,462],{"class":247}," importKey",[209,464,465],{"class":219},"(recipientJwk, { alg: ",[209,467,468],{"class":226},"\"RSA-OAEP-256\"",[209,470,471],{"class":219},", expect: ",[209,473,474],{"class":226},"\"public\"",[209,476,477],{"class":219}," });\n",[209,479,481],{"class":211,"line":480},5,[209,482,436],{"emptyLinePlaceholder":435},[209,484,486],{"class":211,"line":485},6,[209,487,488],{"class":442},"\u002F\u002F Will throw if somebody accidentally passed a private JWK here\n",[178,490,491,493,494,497],{},[182,492,338],{}," is a no-op for symmetric JWKs and ",[182,495,496],{},"\"secret\"","-type CryptoKeys — they have no public\u002Fprivate distinction.",[499,500,501],"note",{},[178,502,503,506,507,510,511,506,514,517,518,520,521,523,524,527,528,527,531,527,534,195],{},[182,504,505],{},"verify()"," passes ",[182,508,509],{},"expect: \"public\""," and ",[182,512,513],{},"decrypt()",[182,515,516],{},"expect: \"private\""," automatically. You only need ",[182,519,338],{}," when calling ",[182,522,194],{}," directly — which is rare; you'd typically just pass the JWK straight to ",[182,525,526],{},"sign","\u002F",[182,529,530],{},"verify",[182,532,533],{},"encrypt",[182,535,536],{},"decrypt",[267,538,540,542,543],{"id":539},"ascryptokey-true-for-jwk_oct",[182,541,361],{}," for ",[182,544,346],{},[178,546,547,548,550,551,553],{},"By default, a ",[182,549,346],{}," imports as raw bytes. Opt in to a non-extractable ",[182,552,187],{},":",[200,555,558],{"className":202,"code":556,"filename":557,"language":204,"meta":205,"style":205},"const aesCryptoKey = await importKey(symJwk, {\n  asCryptoKey: true,\n  algorithm: { name: \"AES-GCM\", length: 256 },\n  usage: [\"encrypt\", \"decrypt\"],\n  extractable: false, \u002F\u002F default\n});\n","as-cryptokey.ts",[182,559,560,576,587,604,620,633],{"__ignoreMap":205},[209,561,562,564,567,569,571,573],{"class":211,"line":212},[209,563,449],{"class":215},[209,565,566],{"class":452}," aesCryptoKey",[209,568,456],{"class":215},[209,570,459],{"class":215},[209,572,462],{"class":247},[209,574,575],{"class":219},"(symJwk, {\n",[209,577,578,581,584],{"class":211,"line":432},[209,579,580],{"class":219},"  asCryptoKey: ",[209,582,583],{"class":452},"true",[209,585,586],{"class":219},",\n",[209,588,589,592,595,598,601],{"class":211,"line":439},[209,590,591],{"class":219},"  algorithm: { name: ",[209,593,594],{"class":226},"\"AES-GCM\"",[209,596,597],{"class":219},", length: ",[209,599,600],{"class":452},"256",[209,602,603],{"class":219}," },\n",[209,605,606,609,612,614,617],{"class":211,"line":446},[209,607,608],{"class":219},"  usage: [",[209,610,611],{"class":226},"\"encrypt\"",[209,613,184],{"class":219},[209,615,616],{"class":226},"\"decrypt\"",[209,618,619],{"class":219},"],\n",[209,621,622,625,628,630],{"class":211,"line":480},[209,623,624],{"class":219},"  extractable: ",[209,626,627],{"class":452},"false",[209,629,184],{"class":219},[209,631,632],{"class":442},"\u002F\u002F default\n",[209,634,635],{"class":211,"line":485},[209,636,637],{"class":219},"});\n",[178,639,640],{},"Handy when you want the bytes to stay inside Web Crypto and never be retrievable.",[267,642,644],{"id":643},"full-options","Full options",[200,646,648],{"className":202,"code":647,"language":204,"meta":205,"style":205},"\u002F\u002F For JWK_oct\ninterface ImportOctOptions {\n  asCryptoKey: true;\n  algorithm: AlgorithmIdentifier | HmacImportParams | AesDerivedKeyParams;\n  usage: KeyUsage[];\n  extractable?: boolean; \u002F\u002F default false for asCryptoKey: true\n}\n\n\u002F\u002F For asymmetric JWK\ninterface ImportAsymmetricOptions {\n  alg?: JWSAlgorithm | KeyManagementAlgorithm; \u002F\u002F required if JWK.alg is missing\n  expect?: \"public\" | \"private\";\n}\n",[182,649,650,655,666,679,702,715,732,738,743,749,759,780,798],{"__ignoreMap":205},[209,651,652],{"class":211,"line":212},[209,653,654],{"class":442},"\u002F\u002F For JWK_oct\n",[209,656,657,660,663],{"class":211,"line":432},[209,658,659],{"class":215},"interface",[209,661,662],{"class":247}," ImportOctOptions",[209,664,665],{"class":219}," {\n",[209,667,668,672,674,677],{"class":211,"line":439},[209,669,671],{"class":670},"sQHwn","  asCryptoKey",[209,673,553],{"class":215},[209,675,676],{"class":452}," true",[209,678,230],{"class":219},[209,680,681,684,686,689,692,695,697,700],{"class":211,"line":446},[209,682,683],{"class":670},"  algorithm",[209,685,553],{"class":215},[209,687,688],{"class":247}," AlgorithmIdentifier",[209,690,691],{"class":215}," |",[209,693,694],{"class":247}," HmacImportParams",[209,696,691],{"class":215},[209,698,699],{"class":247}," AesDerivedKeyParams",[209,701,230],{"class":219},[209,703,704,707,709,712],{"class":211,"line":480},[209,705,706],{"class":670},"  usage",[209,708,553],{"class":215},[209,710,711],{"class":247}," KeyUsage",[209,713,714],{"class":219},"[];\n",[209,716,717,720,723,726,729],{"class":211,"line":485},[209,718,719],{"class":670},"  extractable",[209,721,722],{"class":215},"?:",[209,724,725],{"class":452}," boolean",[209,727,728],{"class":219},"; ",[209,730,731],{"class":442},"\u002F\u002F default false for asCryptoKey: true\n",[209,733,735],{"class":211,"line":734},7,[209,736,737],{"class":219},"}\n",[209,739,741],{"class":211,"line":740},8,[209,742,436],{"emptyLinePlaceholder":435},[209,744,746],{"class":211,"line":745},9,[209,747,748],{"class":442},"\u002F\u002F For asymmetric JWK\n",[209,750,752,754,757],{"class":211,"line":751},10,[209,753,659],{"class":215},[209,755,756],{"class":247}," ImportAsymmetricOptions",[209,758,665],{"class":219},[209,760,762,765,767,770,772,775,777],{"class":211,"line":761},11,[209,763,764],{"class":670},"  alg",[209,766,722],{"class":215},[209,768,769],{"class":247}," JWSAlgorithm",[209,771,691],{"class":215},[209,773,774],{"class":247}," KeyManagementAlgorithm",[209,776,728],{"class":219},[209,778,779],{"class":442},"\u002F\u002F required if JWK.alg is missing\n",[209,781,783,786,788,791,793,796],{"class":211,"line":782},12,[209,784,785],{"class":670},"  expect",[209,787,722],{"class":215},[209,789,790],{"class":226}," \"public\"",[209,792,691],{"class":215},[209,794,795],{"class":226}," \"private\"",[209,797,230],{"class":219},[209,799,801],{"class":211,"line":800},13,[209,802,737],{"class":219},[232,804,806],{"id":805},"exportkey",[182,807,808],{},"exportKey",[200,810,812],{"className":202,"code":811,"language":204,"meta":205,"style":205},"exportKey(key, jwkParams?)\n",[182,813,814],{"__ignoreMap":205},[209,815,816,818,821,823],{"class":211,"line":212},[209,817,808],{"class":247},[209,819,820],{"class":219},"(key, jwkParams",[209,822,253],{"class":215},[209,824,256],{"class":219},[178,826,827,828,830],{},"Exports a ",[182,829,187],{}," as a JWK. Optionally merges metadata fields into the result.",[200,832,835],{"className":202,"code":833,"filename":834,"language":204,"meta":205,"style":205},"import { exportKey } from \"unjwt\u002Fjwk\";\n\nconst cryptoKey = await crypto.subtle.generateKey(\u002F* ... *\u002F);\nconst jwk = await exportKey(cryptoKey, { kid: \"legacy-1\", use: \"sig\" });\n\u002F\u002F { kty, alg, key_ops, ext, ...actual key fields, kid: \"legacy-1\", use: \"sig\" }\n","export.ts",[182,836,837,850,854,880,908],{"__ignoreMap":205},[209,838,839,841,844,846,848],{"class":211,"line":212},[209,840,216],{"class":215},[209,842,843],{"class":219}," { exportKey } ",[209,845,223],{"class":215},[209,847,227],{"class":226},[209,849,230],{"class":219},[209,851,852],{"class":211,"line":432},[209,853,436],{"emptyLinePlaceholder":435},[209,855,856,858,861,863,865,868,871,874,877],{"class":211,"line":439},[209,857,449],{"class":215},[209,859,860],{"class":452}," cryptoKey",[209,862,456],{"class":215},[209,864,459],{"class":215},[209,866,867],{"class":219}," crypto.subtle.",[209,869,870],{"class":247},"generateKey",[209,872,873],{"class":219},"(",[209,875,876],{"class":442},"\u002F* ... *\u002F",[209,878,879],{"class":219},");\n",[209,881,882,884,887,889,891,894,897,900,903,906],{"class":211,"line":446},[209,883,449],{"class":215},[209,885,886],{"class":452}," jwk",[209,888,456],{"class":215},[209,890,459],{"class":215},[209,892,893],{"class":247}," exportKey",[209,895,896],{"class":219},"(cryptoKey, { kid: ",[209,898,899],{"class":226},"\"legacy-1\"",[209,901,902],{"class":219},", use: ",[209,904,905],{"class":226},"\"sig\"",[209,907,477],{"class":219},[209,909,910],{"class":211,"line":480},[209,911,912],{"class":442},"\u002F\u002F { kty, alg, key_ops, ext, ...actual key fields, kid: \"legacy-1\", use: \"sig\" }\n",[178,914,915,916,184,918,184,921,184,924,927,928,931,932,935,936,184,939,184,942,184,945,184,948,951],{},"The authoritative fields (",[182,917,384],{},[182,919,920],{},"kty",[182,922,923],{},"key_ops",[182,925,926],{},"ext",") come from Web Crypto's export and ",[400,929,930],{},"cannot be overridden"," via ",[182,933,934],{},"jwkParams",". Only additive metadata (",[182,937,938],{},"kid",[182,940,941],{},"use",[182,943,944],{},"x5c",[182,946,947],{},"x5t",[182,949,950],{},"x5u",", custom fields) is merged.",[953,954,955],"tip",{},[178,956,957,958,961,962,965,966,968,969,971],{},"Most of the time you won't call ",[182,959,960],{},"exportKey()"," directly — the output of ",[182,963,964],{},"generateJWK()"," is already a JWK. You'd use ",[182,967,960],{}," when you've received or imported a ",[182,970,187],{}," from an external source (Web Crypto directly, another library) and need to serialize it.",[232,973,975],{"id":974},"see-also","See also",[977,978,979,986,996],"ul",{},[980,981,982],"li",{},[983,984,985],"a",{"href":115},"Generating keys →",[980,987,988,991,992,995],{},[983,989,990],{"href":123},"PEM conversion →"," — for keys in ",[182,993,994],{},".pem"," files.",[980,997,998,1001,1002,1004],{},[983,999,1000],{"href":139},"JWK cache →"," — ",[182,1003,237],{}," memoization.",[1006,1007,1008],"style",{},"html pre.shiki code .so5gQ, html code.shiki .so5gQ{--shiki-light:#D73A49;--shiki-default:#F97583;--shiki-dark:#F97583}html pre.shiki code .slsVL, html code.shiki .slsVL{--shiki-light:#24292E;--shiki-default:#E1E4E8;--shiki-dark:#E1E4E8}html pre.shiki code .sfrk1, html code.shiki .sfrk1{--shiki-light:#032F62;--shiki-default:#9ECBFF;--shiki-dark:#9ECBFF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .shcOC, html code.shiki .shcOC{--shiki-light:#6F42C1;--shiki-default:#B392F0;--shiki-dark:#B392F0}html pre.shiki code .sCsY4, html code.shiki .sCsY4{--shiki-light:#6A737D;--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .suiK_, html code.shiki .suiK_{--shiki-light:#005CC5;--shiki-default:#79B8FF;--shiki-dark:#79B8FF}html pre.shiki code .sQHwn, html code.shiki .sQHwn{--shiki-light:#E36209;--shiki-default:#FFAB70;--shiki-dark:#FFAB70}",{"title":205,"searchDepth":432,"depth":432,"links":1010},[1011,1019,1020],{"id":234,"depth":432,"text":237,"children":1012},[1013,1014,1016,1018],{"id":269,"depth":439,"text":270},{"id":388,"depth":439,"text":1015},"The expect option",{"id":539,"depth":439,"text":1017},"asCryptoKey: true for JWK_oct",{"id":643,"depth":439,"text":644},{"id":805,"depth":432,"text":808},{"id":974,"depth":432,"text":975},"md",{},{},{"title":118,"description":205},"5Ui-ZajznH6KYQ64Px12JY2b4-PigQMFSA-sP1qcLO8",[1027,1028],{"title":114,"path":115,"stem":116,"description":205,"children":-1},{"title":122,"path":123,"stem":124,"description":205,"children":-1},1776888559436]