Crypto++ 8.9
Free C++ class library of cryptographic schemes
Public Member Functions | List of all members
PublicKeyAlgorithm Class Referenceabstract

Interface for asymmetric algorithms using public keys. More...

#include <cryptlib.h>

+ Inheritance diagram for PublicKeyAlgorithm:

Public Member Functions

CryptoMaterialAccessMaterial ()
 Retrieves a reference to a Public Key.
 
const CryptoMaterialGetMaterial () const
 Retrieves a reference to a Public Key.
 
virtual PublicKeyAccessPublicKey ()=0
 Retrieves a reference to a Public Key.
 
virtual const PublicKeyGetPublicKey () const
 Retrieves a reference to a Public Key.
 
- Public Member Functions inherited from Algorithm
 Algorithm (bool checkSelfTestStatus=true)
 Interface for all crypto algorithms.
 
virtual std::string AlgorithmName () const
 Provides the name of this algorithm.
 
virtual std::string AlgorithmProvider () const
 Retrieve the provider of this algorithm.
 
- Public Member Functions inherited from Clonable
virtual ClonableClone () const
 Copies this object.
 

Detailed Description

Interface for asymmetric algorithms using public keys.

Definition at line 2595 of file cryptlib.h.

Constructor & Destructor Documentation

◆ ~PublicKeyAlgorithm()

virtual PublicKeyAlgorithm::~PublicKeyAlgorithm ( )
inlinevirtual

Definition at line 2598 of file cryptlib.h.

Member Function Documentation

◆ AccessMaterial()

CryptoMaterial & PublicKeyAlgorithm::AccessMaterial ( )
inlinevirtual

Retrieves a reference to a Public Key.

Returns
a reference to the public key

Implements AsymmetricAlgorithm.

Definition at line 2604 of file cryptlib.h.

◆ GetMaterial()

const CryptoMaterial & PublicKeyAlgorithm::GetMaterial ( ) const
inlinevirtual

Retrieves a reference to a Public Key.

Returns
a const reference the public key

Implements AsymmetricAlgorithm.

Definition at line 2608 of file cryptlib.h.

◆ AccessPublicKey()

virtual PublicKey & PublicKeyAlgorithm::AccessPublicKey ( )
pure virtual

Retrieves a reference to a Public Key.

Returns
a reference to the public key

Implemented in ed25519Verifier.

◆ GetPublicKey()

virtual const PublicKey & PublicKeyAlgorithm::GetPublicKey ( ) const
inlinevirtual

Retrieves a reference to a Public Key.

Returns
a const reference the public key

Reimplemented in ed25519Verifier.

Definition at line 2616 of file cryptlib.h.


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