• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

qca

QCA::DHPublicKey

QCA::DHPublicKey Class Reference
[QCA user API]

#include <QtCrypto>

Inheritance diagram for QCA::DHPublicKey:

Inheritance graph
[legend]

List of all members.


Detailed Description

Diffie-Hellman Public Key.

Definition at line 1403 of file qca_publickey.h.


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

Constructor & Destructor Documentation

QCA::DHPublicKey::DHPublicKey (  ) 

Create an empty Diffie-Hellman public key.

Definition at line 1440 of file qca_publickey.cpp.

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

Definition at line 1444 of file qca_publickey.cpp.

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

Definition at line 1453 of file qca_publickey.cpp.


Member Function Documentation

DLGroup QCA::DHPublicKey::domain (  )  const

The discrete logarithm group that is being used.

Definition at line 1458 of file qca_publickey.cpp.

BigInteger QCA::DHPublicKey::y (  )  const

The public random value associated with this key.

Definition at line 1463 of file qca_publickey.cpp.


The documentation for this class was generated from the following files:
  • qca_publickey.h
  • qca_publickey.cpp

qca

Skip menu "qca"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • akonadi
  • Decibel
  • eigen
  • Eigen2
  • kdewin32
  • Phonon
  •     Backend
  • qca
  • qimageblitz
  • soprano
  • strigi
  •     searchclient
  •     streamanalyzer
  •     streams
Generated for API Reference by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal