|
| DH2 (SimpleKeyAgreementDomain &domain) |
| Construct a DH2. More...
|
|
| DH2 (SimpleKeyAgreementDomain &staticDomain, SimpleKeyAgreementDomain &ephemeralDomain) |
| Construct a DH2. More...
|
|
CryptoParameters & | AccessCryptoParameters () |
| Retrieves a reference to Crypto Parameters. More...
|
|
unsigned int | AgreedValueLength () const |
| Provides the size of the agreed value. More...
|
|
unsigned int | StaticPrivateKeyLength () const |
| Provides the size of the static private key. More...
|
|
unsigned int | StaticPublicKeyLength () const |
| Provides the size of the static public key. More...
|
|
void | GenerateStaticPrivateKey (RandomNumberGenerator &rng, byte *privateKey) const |
| Generate static private key in this domain. More...
|
|
void | GenerateStaticPublicKey (RandomNumberGenerator &rng, const byte *privateKey, byte *publicKey) const |
| Generate a static public key from a private key in this domain. More...
|
|
void | GenerateStaticKeyPair (RandomNumberGenerator &rng, byte *privateKey, byte *publicKey) const |
| Generate a static private/public key pair. More...
|
|
unsigned int | EphemeralPrivateKeyLength () const |
| Provides the size of ephemeral private key. More...
|
|
unsigned int | EphemeralPublicKeyLength () const |
| Provides the size of ephemeral public key. More...
|
|
void | GenerateEphemeralPrivateKey (RandomNumberGenerator &rng, byte *privateKey) const |
| Generate ephemeral private key. More...
|
|
void | GenerateEphemeralPublicKey (RandomNumberGenerator &rng, const byte *privateKey, byte *publicKey) const |
| Generate ephemeral public key. More...
|
|
void | GenerateEphemeralKeyPair (RandomNumberGenerator &rng, byte *privateKey, byte *publicKey) const |
| Generate private/public key pair. More...
|
|
bool | Agree (byte *agreedValue, const byte *staticPrivateKey, const byte *ephemeralPrivateKey, const byte *staticOtherPublicKey, const byte *ephemeralOtherPublicKey, bool validateStaticOtherPublicKey=true) const |
| Derive agreed value. More...
|
|
virtual unsigned int | AgreedValueLength () const =0 |
| Provides the size of the agreed value. More...
|
|
virtual unsigned int | StaticPrivateKeyLength () const =0 |
| Provides the size of the static private key. More...
|
|
virtual unsigned int | StaticPublicKeyLength () const =0 |
| Provides the size of the static public key. More...
|
|
virtual void | GenerateStaticPrivateKey (RandomNumberGenerator &rng, byte *privateKey) const =0 |
| Generate static private key in this domain. More...
|
|
virtual void | GenerateStaticPublicKey (RandomNumberGenerator &rng, const byte *privateKey, byte *publicKey) const =0 |
| Generate a static public key from a private key in this domain. More...
|
|
virtual void | GenerateStaticKeyPair (RandomNumberGenerator &rng, byte *privateKey, byte *publicKey) const |
| Generate a static private/public key pair. More...
|
|
virtual unsigned int | EphemeralPrivateKeyLength () const =0 |
| Provides the size of ephemeral private key. More...
|
|
virtual unsigned int | EphemeralPublicKeyLength () const =0 |
| Provides the size of ephemeral public key. More...
|
|
virtual void | GenerateEphemeralPrivateKey (RandomNumberGenerator &rng, byte *privateKey) const =0 |
| Generate ephemeral private key. More...
|
|
virtual void | GenerateEphemeralPublicKey (RandomNumberGenerator &rng, const byte *privateKey, byte *publicKey) const =0 |
| Generate ephemeral public key. More...
|
|
virtual void | GenerateEphemeralKeyPair (RandomNumberGenerator &rng, byte *privateKey, byte *publicKey) const |
| Generate private/public key pair. More...
|
|
virtual bool | Agree (byte *agreedValue, const byte *staticPrivateKey, const byte *ephemeralPrivateKey, const byte *staticOtherPublicKey, const byte *ephemeralOtherPublicKey, bool validateStaticOtherPublicKey=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...
|
|
Unified Diffie-Hellman in GF(p)
A Diffie-Hellman domain is a set of parameters that must be shared by two parties in a key agreement protocol, along with the algorithms for generating key pairs and deriving agreed values.
- See also
- AuthenticatedKeyAgreementDomain, Unified Diffie-Hellman
- Since
- Crypto++ 3.0
Definition at line 20 of file dh2.h.