42 std::vector<uint8_t> raw_public_key_bits()
const override;
44 std::vector<uint8_t> public_key_bits()
const override;
48 size_t estimated_strength()
const override;
49 size_t key_length()
const override;
51 std::vector<uint8_t> public_value()
const;
53 std::string
algo_name()
const override {
return "DH"; }
55 const BigInt& get_int_field(std::string_view field)
const override;
68 DH_PublicKey(std::shared_ptr<const DL_PublicKey> key) : m_public_key(std::move(key)) {}
70 std::shared_ptr<const DL_PublicKey> m_public_key;
105 std::unique_ptr<Public_Key> public_key()
const override;
107 std::vector<uint8_t> public_value()
const override;
113 const BigInt& get_int_field(std::string_view field)
const override;
116 std::string_view params,
117 std::string_view provider)
const override;
120 std::shared_ptr<const DL_PrivateKey> m_private_key;