MCPcopy Create free account
hub / github.com/nodejs/node / assertPublicJwk

Function assertPublicJwk

test/parallel/test-crypto-pqc-key-objects-ml-dsa.js:39–42  ·  view source on GitHub ↗
(jwk)

Source from the content-addressed store, hash-verified

37 }
38
39 function assertPublicJwk(jwk) {
40 assertJwk(jwk);
41 assert.ok(!jwk.priv);
42 }
43
44 function assertPrivateJwk(jwk) {
45 assertJwk(jwk);

Callers 1

assertPublicKeyFunction · 0.70

Calls 2

assertJwkFunction · 0.70
okMethod · 0.45

Tested by

no test coverage detected