Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
assertPublicKey
Function · 0.70
Calls
2
assertJwk
Function · 0.70
ok
Method · 0.45
Tested by
no test coverage detected