BER_encode

BER encode a private key

  1. SecureArray!ubyte BER_encode(PrivateKey key)
    static if(BOTAN_HAS_PUBLIC_KEY_CRYPTO)
    SecureArray!ubyte
    BER_encode
  2. 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