|
CryptoParameters & | AccessCryptoParameters () |
| Retrieves a reference to Crypto Parameters. More...
|
|
unsigned int | AgreedValueLength () const |
| Provides the size of the agreed value. More...
|
|
unsigned int | PrivateKeyLength () const |
| Provides the size of the private key. More...
|
|
unsigned int | PublicKeyLength () const |
| Provides the size of the public key. More...
|
|
void | GeneratePrivateKey (RandomNumberGenerator &rng, byte *privateKey) const |
| Generate private key in this domain. More...
|
|
void | GeneratePublicKey (RandomNumberGenerator &rng, const byte *privateKey, byte *publicKey) const |
| Generate a public key from a private key in this domain. More...
|
|
bool | Agree (byte *agreedValue, const byte *privateKey, const byte *otherPublicKey, bool validateOtherPublicKey=true) const |
| Derive agreed value. More...
|
|
const Element & | GetGenerator () const |
| Retrieves a reference to the group generator. More...
|
|
Public Member Functions inherited from SimpleKeyAgreementDomain |
virtual unsigned int | AgreedValueLength () const =0 |
| Provides the size of the agreed value. More...
|
|
virtual unsigned int | PrivateKeyLength () const =0 |
| Provides the size of the private key. More...
|
|
virtual unsigned int | PublicKeyLength () const =0 |
| Provides the size of the public key. More...
|
|
virtual void | GeneratePrivateKey (RandomNumberGenerator &rng, byte *privateKey) const =0 |
| Generate private key in this domain. More...
|
|
virtual void | GeneratePublicKey (RandomNumberGenerator &rng, const byte *privateKey, byte *publicKey) const =0 |
| Generate a public key from a private key in this domain. More...
|
|
virtual void | GenerateKeyPair (RandomNumberGenerator &rng, byte *privateKey, byte *publicKey) const |
| Generate a private/public key pair. More...
|
|
virtual bool | Agree (byte *agreedValue, const byte *privateKey, const byte *otherPublicKey, bool validateOtherPublicKey=true) const =0 |
| Derive agreed value. More...
|
|
CryptoMaterial & | AccessMaterial () |
| Retrieves a reference to Crypto Parameters. More...
|
|
const CryptoMaterial & | GetMaterial () const |
| Retrieves a reference to Crypto Parameters. More...
|
|
virtual CryptoParameters & | AccessCryptoParameters ()=0 |
| Retrieves a reference to Crypto Parameters. More...
|
|
virtual const CryptoParameters & | GetCryptoParameters () const |
| Retrieves a reference to Crypto Parameters. More...
|
|
virtual CryptoMaterial & | AccessMaterial ()=0 |
| Retrieves a reference to CryptoMaterial. More...
|
|
virtual const CryptoMaterial & | GetMaterial () const =0 |
| Retrieves a reference to CryptoMaterial. More...
|
|
| Algorithm (bool checkSelfTestStatus=true) |
| Interface for all crypto algorithms. More...
|
|
virtual std::string | AlgorithmName () const |
| Provides the name of this algorithm. More...
|
|
virtual std::string | AlgorithmProvider () const |
| Retrieve the provider of this algorithm. More...
|
|
virtual Clonable * | Clone () const |
| Copies this object. More...
|
|
template<class T>
class DL_SimpleKeyAgreementDomainBase< T >
Discrete Log (DL) simple key agreement base implementation.
- Template Parameters
-
Definition at line 2063 of file pubkey.h.