Botan 3.6.1
Crypto and TLS for C&
Botan::EC_PublicKey_Data Class Referencefinal

#include <ec_key_data.h>

Public Member Functions

 EC_PublicKey_Data (EC_Group group, EC_AffinePoint pt)
 
 EC_PublicKey_Data (EC_Group group, std::span< const uint8_t > bytes)
 
const EC_Groupgroup () const
 
const EC_Pointlegacy_point () const
 
const EC_AffinePointpublic_key () const
 

Detailed Description

Definition at line 21 of file ec_key_data.h.

Constructor & Destructor Documentation

◆ EC_PublicKey_Data() [1/2]

Botan::EC_PublicKey_Data::EC_PublicKey_Data ( EC_Group group,
EC_AffinePoint pt )
inline

Definition at line 23 of file ec_key_data.h.

23 :
24 m_group(std::move(group)), m_point(std::move(pt)), m_legacy_point(m_point.to_legacy_point()) {}
EC_Point to_legacy_point() const
const EC_Group & group() const
Definition ec_key_data.h:28

◆ EC_PublicKey_Data() [2/2]

Botan::EC_PublicKey_Data::EC_PublicKey_Data ( EC_Group group,
std::span< const uint8_t > bytes )

Definition at line 13 of file ec_key_data.cpp.

13 :
14 m_group(std::move(group)), m_point(m_group, bytes), m_legacy_point(m_point.to_legacy_point()) {}

Member Function Documentation

◆ group()

const EC_Group & Botan::EC_PublicKey_Data::group ( ) const
inline

Definition at line 28 of file ec_key_data.h.

28{ return m_group; }

◆ legacy_point()

const EC_Point & Botan::EC_PublicKey_Data::legacy_point ( ) const
inline

Definition at line 32 of file ec_key_data.h.

32{ return m_legacy_point; }

◆ public_key()

const EC_AffinePoint & Botan::EC_PublicKey_Data::public_key ( ) const
inline

Definition at line 30 of file ec_key_data.h.

30{ return m_point; }

The documentation for this class was generated from the following files: