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

qca

QCA::RSAPrivateKey

QCA::RSAPrivateKey Class Reference
[QCA user API]

RSA Private Key. More...

#include <QtCrypto>

Inheritance diagram for QCA::RSAPrivateKey:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 RSAPrivateKey (const BigInteger &n, const BigInteger &e, const BigInteger &p, const BigInteger &q, const BigInteger &d, const QString &provider=QString())
 RSAPrivateKey ()
BigInteger d () const
BigInteger e () const
BigInteger n () const
BigInteger p () const
BigInteger q () const

Detailed Description

RSA Private Key.

Definition at line 1257 of file qca_publickey.h.


Constructor & Destructor Documentation

QCA::RSAPrivateKey::RSAPrivateKey (  ) 

Generate an empty RSA private key.

Definition at line 1337 of file qca_publickey.cpp.

QCA::RSAPrivateKey::RSAPrivateKey ( const BigInteger &  n,
const BigInteger &  e,
const BigInteger &  p,
const BigInteger &  q,
const BigInteger &  d,
const QString &  provider = QString() 
)

Generate an RSA private key from specified parameters.

Parameters:
n the public key value
e the public key exponent
p one of the two chosen primes
q the other of the two chosen primes
d inverse of the exponent, modulo (p-1)(q-1)
provider the provider to use, if a particular provider is required

Definition at line 1341 of file qca_publickey.cpp.


Member Function Documentation

BigInteger QCA::RSAPrivateKey::d (  )  const

The inverse of the exponent, module (p-1)(q-1).

Definition at line 1370 of file qca_publickey.cpp.

BigInteger QCA::RSAPrivateKey::e (  )  const

The public key exponent.

This value is the exponent chosen in the original key generator step

Definition at line 1355 of file qca_publickey.cpp.

BigInteger QCA::RSAPrivateKey::n (  )  const

The public key value.

This value is the actual public key value (the product of p and q, the random prime numbers used to generate the RSA key), also known as the public modulus.

Definition at line 1350 of file qca_publickey.cpp.

BigInteger QCA::RSAPrivateKey::p (  )  const

One of the two random primes used to generate the private key.

Definition at line 1360 of file qca_publickey.cpp.

BigInteger QCA::RSAPrivateKey::q (  )  const

The second of the two random primes used to generate the private key.

Definition at line 1365 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

KDE Support

Skip menu "KDE Support"
  • akonadi
  • Decibel
  • grantlee
  • kdewin
  • phonon
  •     Backend
  • polkit-qt
  • qca
  • qimageblitz
  • soprano
  • strigi
  •     searchclient
  •     streamanalyzer
  •     streams
Generated for KDE Support by doxygen 1.5.9-20090814
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