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