#include <QtCrypto>
Public Member Functions | |
DHPrivateKey (const DLGroup &domain, const BigInteger &y, const BigInteger &x, const QString &provider=QString()) | |
DHPrivateKey () | |
DLGroup | domain () const |
BigInteger | x () const |
BigInteger | y () const |
QCA::DHPrivateKey::DHPrivateKey | ( | ) |
Create an empty Diffie-Hellman private key.
QCA::DHPrivateKey::DHPrivateKey | ( | const DLGroup & | domain, | |
const BigInteger & | y, | |||
const BigInteger & | x, | |||
const QString & | provider = QString() | |||
) |
Create a Diffie-Hellman private key.
domain | the discrete logarithm group to use | |
y | the public random value | |
x | the private random value | |
provider | the provider to use, if a particular provider is required |
DLGroup QCA::DHPrivateKey::domain | ( | ) | const |
The discrete logarithm group that is being used.
BigInteger QCA::DHPrivateKey::x | ( | ) | const |
The private random value associated with this key.
BigInteger QCA::DHPrivateKey::y | ( | ) | const |
The public random value associated with this key.