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

Interface for asymmetric algorithms. More...

+ Inheritance diagram for AsymmetricAlgorithm:

Public Member Functions

virtual CryptoMaterialAccessMaterial ()=0
 Retrieves a reference to CryptoMaterial. More...
 
virtual const CryptoMaterialGetMaterial () const =0
 Retrieves a reference to CryptoMaterial. 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 ClonableClone () const
 Copies this object. More...
 

Detailed Description

Interface for asymmetric algorithms.

BERDecode() and DEREncode() were removed under Issue 569 and Commit 9b174e84de7a. Programs should use AccessMaterial().Load(bt) or AccessMaterial().Save(bt) instead.

See also
Issue 569

Definition at line 2515 of file cryptlib.h.

Member Function Documentation

◆ AccessMaterial()

virtual CryptoMaterial& AsymmetricAlgorithm::AccessMaterial ( )
pure virtual

Retrieves a reference to CryptoMaterial.

Returns
a reference to the crypto material

Implemented in KeyAgreementAlgorithm, PrivateKeyAlgorithm, and PublicKeyAlgorithm.

◆ GetMaterial()

virtual const CryptoMaterial& AsymmetricAlgorithm::GetMaterial ( ) const
pure virtual

Retrieves a reference to CryptoMaterial.

Returns
a const reference to the crypto material

Implemented in KeyAgreementAlgorithm, PrivateKeyAlgorithm, and PublicKeyAlgorithm.


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