Botan 3.5.0
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, const uint8_t other_key[], size_t other_key_len, const uint8_t salt[], size_t salt_len)=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 132 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,
const uint8_t other_key[],
size_t other_key_len,
const uint8_t salt[],
size_t salt_len )
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: