qca
QCA::DHPrivateKey Class Reference
[QCA user API]
Diffie-Hellman Private Key. More...
#include <QtCrypto>
Inheritance diagram for QCA::DHPrivateKey:

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 |
Detailed Description
Diffie-Hellman Private Key.
Definition at line 1451 of file qca_publickey.h.
Constructor & Destructor Documentation
| QCA::DHPrivateKey::DHPrivateKey | ( | ) |
Create an empty Diffie-Hellman private key.
Definition at line 1471 of file qca_publickey.cpp.
| QCA::DHPrivateKey::DHPrivateKey | ( | const DLGroup & | domain, | |
| const BigInteger & | y, | |||
| const BigInteger & | x, | |||
| const QString & | provider = QString() | |||
| ) |
Create a Diffie-Hellman private key.
- Parameters:
-
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
Definition at line 1475 of file qca_publickey.cpp.
Member Function Documentation
| DLGroup QCA::DHPrivateKey::domain | ( | ) | const |
The discrete logarithm group that is being used.
Definition at line 1484 of file qca_publickey.cpp.
| BigInteger QCA::DHPrivateKey::x | ( | ) | const |
The private random value associated with this key.
Definition at line 1494 of file qca_publickey.cpp.
| BigInteger QCA::DHPrivateKey::y | ( | ) | const |
The public random value associated with this key.
Definition at line 1489 of file qca_publickey.cpp.
The documentation for this class was generated from the following files:
KDE 4.4 API Reference