QCA::DHPrivateKey
QCA::DHPrivateKey Class Reference
#include <QtCrypto>
Inheritance diagram for QCA::DHPrivateKey:
Additional Inherited Members | |
Public Types inherited from QCA::PKey | |
enum | Type { RSA , DSA , DH } |
Static Public Member Functions inherited from QCA::PrivateKey | |
static PrivateKey | fromDER (const SecureArray &a, const SecureArray &passphrase=SecureArray(), ConvertResult *result=nullptr, const QString &provider=QString()) |
static PrivateKey | fromPEM (const QString &s, const SecureArray &passphrase=SecureArray(), ConvertResult *result=nullptr, const QString &provider=QString()) |
static PrivateKey | fromPEMFile (const QString &fileName, const SecureArray &passphrase=SecureArray(), ConvertResult *result=nullptr, const QString &provider=QString()) |
static QList< PBEAlgorithm > | supportedPBEAlgorithms (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::PrivateKey | |
PrivateKey (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 Private Key.
Definition at line 1525 of file qca_publickey.h.
Constructor & Destructor Documentation
◆ DHPrivateKey() [1/2]
QCA::DHPrivateKey::DHPrivateKey | ( | ) |
Create an empty Diffie-Hellman private key.
◆ DHPrivateKey() [2/2]
QCA::DHPrivateKey::DHPrivateKey | ( | const DLGroup & | domain, |
const BigInteger & | y, | ||
const BigInteger & | x, | ||
const QString & | provider = QString() ) |
Create a Diffie-Hellman private key.
- Parameters
-
domain the discrete logarithm group to use y the public random value x the private random value provider the provider to use, if a particular provider is required
Member Function Documentation
◆ domain()
DLGroup QCA::DHPrivateKey::domain | ( | ) | const |
The discrete logarithm group that is being used.
◆ x()
BigInteger QCA::DHPrivateKey::x | ( | ) | const |
The private random value associated with this key.
◆ y()
BigInteger QCA::DHPrivateKey::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 Fri Nov 8 2024 11:53:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 8 2024 11:53:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.