Public Methods |
| | MQV (const Integer &p,const Integer &q,const Integer &g) |
| | MQV (RandomNumberGenerator &rng,unsigned int pbits) |
| | MQV (BufferedTransformation &domainParams) |
| void | DEREncode (BufferedTransformation &domainParams)const |
| void | Precompute (unsigned int precomputationStorage=16) |
| void | LoadPrecomputation (BufferedTransformation &storedPrecomputation) |
| | retrieve previously saved precomputation. More...
|
| void | SavePrecomputation (BufferedTransformation &storedPrecomputation)const |
| | save precomputation for later use. More...
|
| bool | ValidateDomainParameters (RandomNumberGenerator &rng)const |
| unsigned int | AgreedValueLength ()const |
| unsigned int | StaticPrivateKeyLength ()const |
| unsigned int | StaticPublicKeyLength ()const |
| void | GenerateStaticKeyPair (RandomNumberGenerator &rng,byte *privateKey,byte *publicKey)const |
| unsigned int | EphemeralPrivateKeyLength ()const |
| unsigned int | EphemeralPublicKeyLength ()const |
| void | GenerateEphemeralKeyPair (RandomNumberGenerator &rng,byte *privateKey,byte *publicKey)const |
| bool | Agree (byte *agreedValue,const byte *staticPrivateKey,const byte *ephemeralPrivateKey,const byte *staticOtherPublicKey,const byte *ephemeralOtherPublicKey,bool validateStaticOtherPublicKey=true)const |
| const Integer& | Prime ()const |
| const Integer& | SubPrime ()const |
| const Integer& | Generator ()const |