43 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::string
algo_name()
const override {
return "ElGamal"; }
53 const BigInt& get_int_field(std::string_view field)
const override;
58 std::string_view params,
59 std::string_view provider)
const override;
66 ElGamal_PublicKey(std::shared_ptr<const DL_PublicKey> key) : m_public_key(std::move(key)) {}
68 std::shared_ptr<const DL_PublicKey> m_public_key;