18 lines
537 B
Plaintext
18 lines
537 B
Plaintext
Test importing a JWK RSAES-PKCS1-v1_5 public key with leading zero
|
|
|
|
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
|
|
Importing a key...
|
|
PASS publicKey.type is 'public'
|
|
PASS publicKey.extractable is true
|
|
PASS publicKey.algorithm.name is 'RSAES-PKCS1-v1_5'
|
|
PASS publicKey.algorithm.modulusLength is 2048
|
|
PASS bytesToHexString(publicKey.algorithm.publicExponent) is '010001'
|
|
PASS publicKey.algorithm.hash is undefined.
|
|
PASS publicKey.usages is ['encrypt']
|
|
PASS successfullyParsed is true
|
|
|
|
TEST COMPLETE
|
|
|