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

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

#include <cryptlib.h>

Inheritance diagram for PrivateKeyAlgorithm:
AsymmetricAlgorithm Algorithm Clonable PK_Decryptor PK_Signer 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_DecryptorBase< T > DL_SignerBase< T > TF_SignerBase AlgorithmImpl< TF_SignerBase, SCHEME_OPTIONS::AlgorithmInfo >

Public Member Functions

CryptoMaterialAccessMaterial ()
 Retrieves a reference to a Private Key.
 
const CryptoMaterialGetMaterial () const
 Retrieves a reference to a Private Key.
 
virtual PrivateKeyAccessPrivateKey ()=0
 Retrieves a reference to a Private Key.
 
virtual const PrivateKeyGetPrivateKey () const
 Retrieves a reference to a Private 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 private keys.

Definition at line 2616 of file cryptlib.h.

Constructor & Destructor Documentation

◆ ~PrivateKeyAlgorithm()

virtual PrivateKeyAlgorithm::~PrivateKeyAlgorithm ( )
inlinevirtual

Definition at line 2619 of file cryptlib.h.

Member Function Documentation

◆ AccessMaterial()

CryptoMaterial & PrivateKeyAlgorithm::AccessMaterial ( )
inlinevirtual

Retrieves a reference to a Private Key.

Returns
a reference the private key

Implements AsymmetricAlgorithm.

Definition at line 2623 of file cryptlib.h.

◆ AccessPrivateKey()

virtual PrivateKey & PrivateKeyAlgorithm::AccessPrivateKey ( )
pure virtual

Retrieves a reference to a Private Key.

Returns
a reference the private key

Implemented in ed25519Signer.

◆ GetMaterial()

const CryptoMaterial & PrivateKeyAlgorithm::GetMaterial ( ) const
inlinevirtual

Retrieves a reference to a Private Key.

Returns
a const reference the private key

Implements AsymmetricAlgorithm.

Definition at line 2626 of file cryptlib.h.

◆ GetPrivateKey()

virtual const PrivateKey & PrivateKeyAlgorithm::GetPrivateKey ( ) const
inlinevirtual

Retrieves a reference to a Private Key.

Returns
a const reference the private key

Reimplemented in ed25519Signer.

Definition at line 2633 of file cryptlib.h.


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