QCA::DSAPrivateKey
QCA::DSAPrivateKey Class Reference
#include <QtCrypto>
Inheritance diagram for QCA::DSAPrivateKey:
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
Digital Signature Algorithm Private Key.
Definition at line 1438 of file qca_publickey.h.
Constructor & Destructor Documentation
◆ DSAPrivateKey() [1/2]
QCA::DSAPrivateKey::DSAPrivateKey | ( | ) |
Create an empty DSA private key.
◆ DSAPrivateKey() [2/2]
QCA::DSAPrivateKey::DSAPrivateKey | ( | const DLGroup & | domain, |
const BigInteger & | y, | ||
const BigInteger & | x, | ||
const QString & | provider = QString() ) |
Create a DSA public 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 specific provider is required
Member Function Documentation
◆ domain()
DLGroup QCA::DSAPrivateKey::domain | ( | ) | const |
The discrete logarithm group that is being used.
◆ x()
BigInteger QCA::DSAPrivateKey::x | ( | ) | const |
the private random value
◆ y()
BigInteger QCA::DSAPrivateKey::y | ( | ) | const |
the public random value
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 Mon Nov 18 2024 12:15:57 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:15:57 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.