QCA::DHPublicKey Class Reference

Diffie-Hellman Public Key. More...

#include <QtCrypto>

Inheritance diagram for QCA::DHPublicKey:

QCA::PublicKey QCA::PKey QCA::Algorithm Collaboration diagram for QCA::DHPublicKey:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Detailed Description

Diffie-Hellman Public Key.


Constructor & Destructor Documentation

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.

Parameters:
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.

Parameters:
k the Diffie-Hellman private key to use as the source


Member Function Documentation

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.


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