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

qca

QCA::RSAPublicKey

QCA::RSAPublicKey Class Reference
[QCA user API]

#include <QtCrypto>

Inheritance diagram for QCA::RSAPublicKey:

Inheritance graph
[legend]

List of all members.


Detailed Description

RSA Public Key.

Definition at line 1202 of file qca_publickey.h.


Public Member Functions

BigInteger e () const
BigInteger n () const
 RSAPublicKey (const RSAPrivateKey &k)
 RSAPublicKey (const BigInteger &n, const BigInteger &e, const QString &provider=QString())
 RSAPublicKey ()

Constructor & Destructor Documentation

QCA::RSAPublicKey::RSAPublicKey (  ) 

Generate an empty RSA public key.

Definition at line 1306 of file qca_publickey.cpp.

QCA::RSAPublicKey::RSAPublicKey ( const BigInteger &  n,
const BigInteger &  e,
const QString &  provider = QString() 
)

Generate an RSA public key from specified parameters.

Parameters:
n the public key value
e the public key exponent
provider the provider to use, if a particular provider is required

Definition at line 1310 of file qca_publickey.cpp.

QCA::RSAPublicKey::RSAPublicKey ( const RSAPrivateKey &  k  ) 

Extract the public key components from an RSA private key.

Parameters:
k the private key to use as the basis for the public key

Definition at line 1319 of file qca_publickey.cpp.


Member Function Documentation

BigInteger QCA::RSAPublicKey::e (  )  const

The public key exponent.

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

Definition at line 1329 of file qca_publickey.cpp.

BigInteger QCA::RSAPublicKey::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 1324 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