Fabcoin Core  0.16.2
P2P Digital Currency
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:
[legend]
Collaboration diagram for PrivateKeyAlgorithm:
[legend]

Public Member Functions

virtual ~PrivateKeyAlgorithm ()
 
CryptoMaterialAccessMaterial ()
 Retrieves a reference to a Private Key. More...
 
const CryptoMaterialGetMaterial () const
 Retrieves a reference to a Private Key. More...
 
virtual PrivateKeyAccessPrivateKey ()=0
 Retrieves a reference to a Private Key. More...
 
virtual const PrivateKeyGetPrivateKey () const
 Retrieves a reference to a Private Key. More...
 
- Public Member Functions inherited from AsymmetricAlgorithm
virtual ~AsymmetricAlgorithm ()
 
void BERDecode (BufferedTransformation &bt)
 Loads this object from a BufferedTransformation. More...
 
void DEREncode (BufferedTransformation &bt) const
 Saves this object to a BufferedTransformation. More...
 
- Public Member Functions inherited from Algorithm
virtual ~Algorithm ()
 
 Algorithm (bool checkSelfTestStatus=true)
 Interface for all crypto algorithms. More...
 
virtual std::string AlgorithmName () const
 Provides the name of this algorithm. More...
 
- Public Member Functions inherited from Clonable
virtual ~Clonable ()
 
virtual ClonableClone () const
 Copies this object. More...
 

Detailed Description

Interface for asymmetric algorithms using private keys.

Definition at line 2249 of file cryptlib.h.

Constructor & Destructor Documentation

virtual PrivateKeyAlgorithm::~PrivateKeyAlgorithm ( )
inlinevirtual

Definition at line 2252 of file cryptlib.h.

Member Function Documentation

CryptoMaterial& PrivateKeyAlgorithm::AccessMaterial ( )
inlinevirtual

Retrieves a reference to a Private Key.

Returns
a reference the private key

Implements AsymmetricAlgorithm.

Definition at line 2256 of file cryptlib.h.

Here is the caller graph for this function:

virtual PrivateKey& PrivateKeyAlgorithm::AccessPrivateKey ( )
pure virtual
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 2259 of file cryptlib.h.

Here is the caller graph for this function:

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

Retrieves a reference to a Private Key.

Returns
a const reference the private key

Reimplemented in TF_ObjectImplBase< TF_DecryptorBase, SCHEME_OPTIONS, SCHEME_OPTIONS::PrivateKey >, and TF_ObjectImplBase< TF_SignerBase, SCHEME_OPTIONS, SCHEME_OPTIONS::PrivateKey >.

Definition at line 2266 of file cryptlib.h.


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