Botan  2.6.0
Crypto and TLS for C++11
Public Member Functions | List of all members
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 ~Key_Agreement ()=default
 

Detailed Description

A generic key agreement operation (eg DH or ECDH)

Definition at line 108 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

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