botan v1.12.12 (2020-01-26T16:00:04Z)
Dub
Repo
BER_encode
botan
pubkey
pkcs8
BER encode a private key
SecureArray
!
ubyte
BER_encode
(PrivateKey key)
static if
(
BOTAN_HAS_PUBLIC_KEY_CRYPTO
)
SecureArray
!ubyte
BER_encode
(
in
PrivateKey
key
)
Vector
!
ubyte
BER_encode
(PrivateKey key, RandomNumberGenerator rng, string pass, Duration dur, string pbe_algo)
Parameters
key
PrivateKey
the private key to encode
Return Value
Type:
SecureArray
!ubyte
BER encoded key
Meta
Source
See Implementation
botan
pubkey
pkcs8
aliases
pkcs8
classes
PKCS8Exception
functions
BER_encode
PEM_encode
PKCS8_decode
PKCS8_extract
copyKey
loadKey
BER encode a private key