Botan 3.6.1
Crypto and TLS for C&
Botan::PK_Ops::Key_Agreement Class Referenceabstract

#include <pk_ops.h>

Inheritance diagram for Botan::PK_Ops::Key_Agreement:
Botan::PK_Ops::Key_Agreement_with_KDF

Public Member Functions

virtual secure_vector< uint8_t > agree (size_t key_len, std::span< const uint8_t > other_key, std::span< const uint8_t > salt)=0
 
virtual size_t agreed_value_size () const =0
 
virtual ~Key_Agreement ()=default
 

Detailed Description

A generic key agreement operation (eg DH or ECDH)

Definition at line 142 of file pk_ops.h.

Constructor & Destructor Documentation

◆ ~Key_Agreement()

virtual Botan::PK_Ops::Key_Agreement::~Key_Agreement ( )
virtualdefault

Member Function Documentation

◆ agree()

virtual secure_vector< uint8_t > Botan::PK_Ops::Key_Agreement::agree ( size_t key_len,
std::span< const uint8_t > other_key,
std::span< const uint8_t > salt )
pure virtual

◆ agreed_value_size()

virtual size_t Botan::PK_Ops::Key_Agreement::agreed_value_size ( ) const
pure virtual

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