Crypto++ 8.4 Free C++ class library of cryptographic schemes

Public Member Functions | List of all members
KeyAgreementAlgorithm Class Referenceabstract

Interface for key agreement algorithms. More...

Inheritance diagram for KeyAgreementAlgorithm:

## Public Member Functions
CryptoMaterial & | AccessMaterial ()
| Retrieves a reference to Crypto Parameters. More...
const CryptoMaterial & | GetMaterial () const
| Retrieves a reference to Crypto Parameters. More...
virtual CryptoParameters & | AccessCryptoParameters ()=0
| Retrieves a reference to Crypto Parameters. More...
virtual const CryptoParameters & | GetCryptoParameters () const
| Retrieves a reference to Crypto Parameters. More...
Public Member Functions inherited from Algorithm
| Algorithm (bool checkSelfTestStatus=true)
| Interface for all crypto algorithms. More...
virtual std::string | AlgorithmName () const
| Provides the name of this algorithm. More...
virtual std::string | AlgorithmProvider () const
| Retrieve the provider of this algorithm. More...
Public Member Functions inherited from Clonable
virtual Clonable * | Clone () const
| Copies this object. More...

## Detailed Description

Interface for key agreement algorithms.

Definition at line 2620 of file cryptlib.h.

## Member Function Documentation

## ◆ AccessMaterial()

CryptoMaterial& KeyAgreementAlgorithm::AccessMaterial | ( |  | ) |
| inline virtual

Retrieves a reference to Crypto Parameters.

Returns
  a reference the crypto parameters

Implements AsymmetricAlgorithm.

Definition at line 2627 of file cryptlib.h.

## ◆ GetMaterial()

const CryptoMaterial& KeyAgreementAlgorithm::GetMaterial | ( |  | ) | const
| inline virtual

Retrieves a reference to Crypto Parameters.

Returns
  a const reference the crypto parameters

Implements AsymmetricAlgorithm.

Definition at line 2630 of file cryptlib.h.

## ◆ AccessCryptoParameters()

virtual CryptoParameters& KeyAgreementAlgorithm::AccessCryptoParameters | ( |  | ) |
| pure virtual

Retrieves a reference to Crypto Parameters.

Returns
  a reference the crypto parameters

Implemented in DL_SimpleKeyAgreementDomainBase< T >, DL_SimpleKeyAgreementDomainBase< DL_GroupParameters_GFP_DefaultSafePrime ::Element >, DL_SimpleKeyAgreementDomainBase< GROUP_PARAMETERS::Element >, x25519, FHMQV_Domain< GROUP_PARAMETERS, COFACTOR_OPTION, HASH >, HMQV_Domain< GROUP_PARAMETERS, COFACTOR_OPTION, HASH >, MQV_Domain< GROUP_PARAMETERS, COFACTOR_OPTION >, DH2, and XTR_DH.

## ◆ GetCryptoParameters()

virtual const CryptoParameters& KeyAgreementAlgorithm::GetCryptoParameters | ( |  | ) | const
| inline virtual

Retrieves a reference to Crypto Parameters.

Returns
  a const reference the crypto parameters

Definition at line 2637 of file cryptlib.h.

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

- cryptlib.h