Skip to content

importJWK without alg attribute or parameter #343

Answered by panva
loozhengyuan asked this question in Q&A
Discussion options

You must be logged in to vote

No, that's why it's a required argument / property. This is necessary because of the way Web Cryptography API importKey is designed, without knowing the key's intended use algorithm there's no way to import.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@panva
Comment options

@panva
Comment options

@loozhengyuan
Comment options

Answer selected by loozhengyuan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants