Security Scol plugin
Public Member Functions | List of all members
AsymmetricAlgorithm Class Referenceabstract

Interface for asymmetric algorithms. More...

#include <cryptlib.h>

Inheritance diagram for AsymmetricAlgorithm:
Algorithm Clonable KeyAgreementAlgorithm PrivateKeyAlgorithm PublicKeyAlgorithm AuthenticatedKeyAgreementDomain SimpleKeyAgreementDomain PK_Decryptor PK_Signer PK_Encryptor PK_Verifier DH2 FHMQV_Domain< GROUP_PARAMETERS, COFACTOR_OPTION, HASH > HMQV_Domain< GROUP_PARAMETERS, COFACTOR_OPTION, HASH > MQV_Domain< GROUP_PARAMETERS, COFACTOR_OPTION > DL_SimpleKeyAgreementDomainBase< GROUP_PARAMETERS::Element > DL_SimpleKeyAgreementDomainBase< T > XTR_DH x25519 DL_CryptoSystemBase< PK_Decryptor, DL_PrivateKey< T > > DL_CryptoSystemBase< PK_Decryptor, DL_PrivateKey< SCHEME_OPTIONS::Element > > PK_FixedLengthCryptoSystemImpl< PK_Decryptor > DL_SignatureSchemeBase< PK_Signer, DL_PrivateKey< T > > DL_SignatureSchemeBase< PK_Signer, DL_PrivateKey< SCHEME_OPTIONS::Element > > TF_SignatureSchemeBase< PK_Signer, TF_Base< RandomizedTrapdoorFunctionInverse, PK_SignatureMessageEncodingMethod > > ed25519Signer DL_CryptoSystemBase< PK_Encryptor, DL_PublicKey< T > > DL_CryptoSystemBase< PK_Encryptor, DL_PublicKey< SCHEME_OPTIONS::Element > > PK_FixedLengthCryptoSystemImpl< PK_Encryptor > DL_SignatureSchemeBase< PK_Verifier, DL_PublicKey< T > > DL_SignatureSchemeBase< PK_Verifier, DL_PublicKey< SCHEME_OPTIONS::Element > > TF_SignatureSchemeBase< PK_Verifier, TF_Base< TrapdoorFunction, PK_SignatureMessageEncodingMethod > > ed25519Verifier

Public Member Functions

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

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

See also
Issue 569

Definition at line 2559 of file cryptlib.h.

Constructor & Destructor Documentation

◆ ~AsymmetricAlgorithm()

virtual AsymmetricAlgorithm::~AsymmetricAlgorithm ( )
inlinevirtual

Definition at line 2562 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 PublicKeyAlgorithm, PrivateKeyAlgorithm, and KeyAgreementAlgorithm.

◆ GetMaterial()

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

Retrieves a reference to CryptoMaterial.

Returns
a const reference to the crypto material

Implemented in PublicKeyAlgorithm, PrivateKeyAlgorithm, and KeyAgreementAlgorithm.


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