QCA::DHPrivateKey Class Reference

Diffie-Hellman Private Key. More...

#include <QtCrypto>

Inheritance diagram for QCA::DHPrivateKey:

QCA::PrivateKey QCA::PKey QCA::Algorithm Collaboration diagram for QCA::DHPrivateKey:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DHPrivateKey ()
 DHPrivateKey (const DLGroup &domain, const BigInteger &y, const BigInteger &x, const QString &provider=QString())
DLGroup domain () const
BigInteger y () const
BigInteger x () const

Detailed Description

Diffie-Hellman Private Key.


Constructor & Destructor Documentation

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.

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


Member Function Documentation

DLGroup QCA::DHPrivateKey::domain  )  const
 

The discrete logarithm group that is being used.

BigInteger QCA::DHPrivateKey::y  )  const
 

The public random value associated with this key.

BigInteger QCA::DHPrivateKey::x  )  const
 

The private random value associated with this key.


The documentation for this class was generated from the following file:
Generated on Fri Jul 6 13:24:11 2007 for Qt Cryptographic Architecture by  doxygen 1.4.6