botan ~master (2020-08-19T17:56:38Z)
Dub
Repo
PEM_encode
botan
pubkey
pkcs8
Get a string containing a PEM encoded private key.
string
PEM_encode
(PrivateKey key)
static if
(
BOTAN_HAS_PUBLIC_KEY_CRYPTO
)
string
PEM_encode
(
in
PrivateKey
key
)
string
PEM_encode
(PrivateKey key, RandomNumberGenerator rng, string pass, Duration dur, string pbe_algo)
Parameters
key
PrivateKey
the key to encode
Return Value
Type:
string
encoded key
Meta
Source
See Implementation
botan
pubkey
pkcs8
aliases
pkcs8
classes
PKCS8Exception
functions
BER_encode
PEM_encode
PKCS8_decode
PKCS8_extract
copyKey
loadKey
Get a string containing a PEM encoded private key.