crypto.PublicKey()
Description
Creates an instance of PublicKey.
Syntax
new crypto.PublicKey(dataPEM)
Parameters
new crypto.PublicKey(pem)
pem
A string or a Data object containing the public key in PEM format.
Return Value
A PublicKey object created from the PEM file.