Security Scol plugin
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:
AsymmetricAlgorithm Algorithm Clonable PK_Encryptor PK_Verifier 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 DL_EncryptorBase< T > DL_VerifierBase< T > TF_VerifierBase AlgorithmImpl< TF_VerifierBase, SCHEME_OPTIONS::AlgorithmInfo >

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 2590 of file cryptlib.h.

Constructor & Destructor Documentation

◆ ~PublicKeyAlgorithm()

virtual PublicKeyAlgorithm::~PublicKeyAlgorithm ( )
inlinevirtual

Definition at line 2593 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 2599 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.

◆ 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 2603 of file cryptlib.h.

◆ 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 2611 of file cryptlib.h.


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