Skip to content

How can i read properties from given public key? #1514

Answered by larabr
NoobjavascriptCoder asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @NoobjavascriptCoder, which information do you want to access specifically?

In your example, publicKey is will be a PublicKey instance, which is a subclass of Key, so you should be able to access all the methods of Key e.g. publicKey.getAlgorithmInfo().

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@NoobjavascriptCoder
Comment options

Answer selected by NoobjavascriptCoder
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