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

Public Member Functions

virtual ~PublicKeyAlgorithm ()
 
CryptoMaterialAccessMaterial ()
 Retrieves a reference to a Public Key. More...
 
const CryptoMaterialGetMaterial () const
 Retrieves a reference to a Public Key. More...
 
virtual PublicKeyAccessPublicKey ()=0
 Retrieves a reference to a Public Key. More...
 
virtual const PublicKeyGetPublicKey () const
 Retrieves a reference to a Public 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 public keys.

Definition at line 2223 of file cryptlib.h.

Constructor & Destructor Documentation

virtual PublicKeyAlgorithm::~PublicKeyAlgorithm ( )
inlinevirtual

Definition at line 2226 of file cryptlib.h.

Member Function Documentation

CryptoMaterial& PublicKeyAlgorithm::AccessMaterial ( )
inlinevirtual

Retrieves a reference to a Public Key.

Returns
a reference to the public key

Implements AsymmetricAlgorithm.

Definition at line 2232 of file cryptlib.h.

Here is the caller graph for this function:

virtual PublicKey& PublicKeyAlgorithm::AccessPublicKey ( )
pure virtual
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 2236 of file cryptlib.h.

Here is the caller graph for this function:

virtual const PublicKey& PublicKeyAlgorithm::GetPublicKey ( ) const
inlinevirtual

Retrieves a reference to a Public Key.

Returns
a const reference the public key

Reimplemented in TF_ObjectImplBase< TF_EncryptorBase, SCHEME_OPTIONS, SCHEME_OPTIONS::PublicKey >, and TF_ObjectImplBase< TF_VerifierBase, SCHEME_OPTIONS, SCHEME_OPTIONS::PublicKey >.

Definition at line 2244 of file cryptlib.h.


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