1 #ifndef CRYPTOPP_XTRCRYPT_H 2 #define CRYPTOPP_XTRCRYPT_H 28 bool GetVoidValue(
const char *
name,
const std::type_info &valueType,
void *pValue)
const;
37 bool Agree(
byte *agreedValue,
const byte *privateKey,
const byte *otherPublicKey,
bool validateOtherPublicKey=
true)
const;
48 unsigned int ExponentBitLength()
const;
unsigned int PublicKeyLength() const
Provides the size of the public key.
#define NAMESPACE_BEGIN(x)
Abstract base classes that provide a uniform interface to this library.
Interface for random number generators.
const Integer & GetSubgroupOrder() const
void SetSubgroupGenerator(const GFP2Element &g)
Interface for domains of simple key agreement protocols.
XTR-DH with key validation.
CryptoParameters & AccessCryptoParameters()
Retrieves a reference to Crypto Parameters.
void SetModulus(const Integer &p)
The XTR public key system.
unsigned int AgreedValueLength() const
Provides the size of the agreed value.
bool Validate(int, bool, const char *)
Multiple precision integer with arithmetic operations.
const Integer & GetModulus() const
Multiple precision integer with arithmetic operations.
Interface for crypto prameters.
unsigned int PrivateKeyLength() const
Provides the size of the private key.
void SetSubgroupOrder(const Integer &q)
const GFP2Element & GetSubgroupGenerator() const
Interface for retrieving values given their names.