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