PrivateKey.pemFormat

Returns the underlying public/private key pair in PEM format.

class PrivateKey
string
pemFormat
(
const(char)[] pass = null
)

Parameters

pass const(char)[]

If this is provided, the private key will be encrypted using AES 256bit encryption, with this as the key.

Meta