QCA::DHPublicKey
QCA::DHPublicKey Class Reference
#include <QtCrypto>
Inheritance diagram for QCA::DHPublicKey:
Additional Inherited Members | |
Public Types inherited from QCA::PKey | |
enum | Type { RSA , DSA , DH } |
Static Public Member Functions inherited from QCA::PublicKey | |
static PublicKey | fromDER (const QByteArray &a, ConvertResult *result=nullptr, const QString &provider=QString()) |
static PublicKey | fromPEM (const QString &s, ConvertResult *result=nullptr, const QString &provider=QString()) |
static PublicKey | fromPEMFile (const QString &fileName, ConvertResult *result=nullptr, const QString &provider=QString()) |
Static Public Member Functions inherited from QCA::PKey | |
static QList< Type > | supportedIOTypes (const QString &provider=QString()) |
static QList< Type > | supportedTypes (const QString &provider=QString()) |
Protected Member Functions inherited from QCA::PublicKey | |
PublicKey (const QString &type, const QString &provider) | |
Protected Member Functions inherited from QCA::PKey | |
PKey (const QString &type, const QString &provider) | |
void | set (const PKey &k) |
DHPrivateKey | toDHPrivateKey () const |
DHPublicKey | toDHPublicKey () const |
DSAPrivateKey | toDSAPrivateKey () const |
DSAPublicKey | toDSAPublicKey () const |
RSAPrivateKey | toRSAPrivateKey () const |
RSAPublicKey | toRSAPublicKey () const |
Protected Member Functions inherited from QCA::Algorithm | |
Algorithm () | |
Algorithm (const QString &type, const QString &provider) | |
Detailed Description
Diffie-Hellman Public Key.
Definition at line 1481 of file qca_publickey.h.
Constructor & Destructor Documentation
◆ DHPublicKey() [1/3]
QCA::DHPublicKey::DHPublicKey | ( | ) |
Create an empty Diffie-Hellman public key.
◆ DHPublicKey() [2/3]
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
◆ DHPublicKey() [3/3]
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
◆ domain()
DLGroup QCA::DHPublicKey::domain | ( | ) | const |
The discrete logarithm group that is being used.
◆ y()
BigInteger QCA::DHPublicKey::y | ( | ) | const |
The public random value associated with this key.
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:03:55 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:03:55 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.