8 #ifndef BOTAN_DL_PARAM_H__
9 #define BOTAN_DL_PARAM_H__
11 #include <botan/bigint.h>
12 #include <botan/data_src.h>
27 const BigInt& get_p()
const;
33 const BigInt& get_q()
const;
39 const BigInt& get_g()
const;
49 DSA_PARAMETERS = ANSI_X9_57,
50 DH_PARAMETERS = ANSI_X9_42,
51 X942_DH_PARAMETERS = ANSI_X9_42,
52 PKCS3_DH_PARAMETERS = PKCS_3
87 void BER_decode(
DataSource& src, Format format);
125 size_t pbits,
size_t qbits = 0);
135 size_t pbits = 1024,
size_t qbits = 0);
154 void init_check()
const;
std::string PEM_encode(const Private_Key &key)
RandomNumberGenerator * rng