Документация
ОС Аврора 5.0.1
Класс DSAPrivateKey
Публичные функции
DLGroup | domain () const |
DSAPrivateKey () | |
DSAPrivateKey (const DLGroup &domain, const BigInteger &y, const BigInteger &x, const QString &provider=QString()) | |
BigInteger | x () const |
BigInteger | y () const |
Публичные функции, унаследованные от QCA::PrivateKey
Публичные функции, унаследованные от QCA::PKey
int | bitSize () const |
bool | canExport () const |
bool | canKeyAgree () const |
bool | isDH () const |
bool | isDSA () const |
bool | isEC () const |
bool | isGOST () const |
bool | isNull () const |
bool | isPrivate () const |
bool | isPublic () const |
bool | isRSA () const |
bool | operator!= (const PKey &a) const |
PKey & | operator= (const PKey &from) |
bool | operator== (const PKey &a) const |
PKey () | |
PKey (const PKey &from) | |
PrivateKey | toPrivateKey () const |
PublicKey | toPublicKey () const |
Type | type () const |
Публичные функции, унаследованные от QCA::Algorithm
Algorithm (const Algorithm &from) | |
void | change (const QString &type, const QString &provider) |
void | change (Provider::Context *c) |
Provider::Context * | context () |
const Provider::Context * | context () const |
Algorithm & | operator= (const Algorithm &from) |
Provider * | provider () const |
Provider::Context * | takeContext () |
QString | type () const |
Дополнительные унаследованные члены
Публичные типы, унаследованные от QCA::PKey
enum | Type { RSA , DSA , DH , EC , GOST , UNKNOWN } |
Статические публичные функции, унаследованные от 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()) |
Статические публичные функции, унаследованные от QCA::PKey
static QList<Type> | supportedIOTypes (const QString &provider=QString()) |
static QList<Type> | supportedTypes (const QString &provider=QString()) |
Защищённые функции, унаследованные от QCA::PrivateKey
PrivateKey (const QString &type, const QString &provider) |
Защищённые функции, унаследованные от 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 |
ECPrivateKey | toECPrivateKey () const |
ECPublicKey | toECPublicKey () const |
GOSTPrivateKey | toGOSTPrivateKey () const |
GOSTPublicKey | toGOSTPublicKey () const |
RSAPrivateKey | toRSAPrivateKey () const |
RSAPublicKey | toRSAPublicKey () const |
Защищённые функции, унаследованные от QCA::Algorithm
Algorithm () |
Algorithm (const QString &type, const QString &provider) |
Подробное описание
Закрытый ключ алгоритма цифровой подписи.
Описание конструкторов и деструктора
DSAPrivateKey() [1/2]
QCA::DSAPrivateKey::DSAPrivateKey () |
Создаёт пустой закрытый ключ DSA.
DSAPrivateKey() [2/2]
QCA::DSAPrivateKey::DSAPrivateKey (const DLGroup & domain, const BigInteger & y, const BigInteger & x, const QString & provider = QString() ) |
Создаёт открытый ключ DSA.
Параметры
domain | Группа дискретного логарифма для использования |
y | Публичное случайное значение. |
x | Закрытое случайное значение. |
provider | Криптопровайдер, который будет использоваться, если требуется конкретный криптопровайдер |
Описание методов
domain()
DLGroup QCA::DSAPrivateKey::domain () const |
Используемая группа дискретных логарифмов.
y()
BigInteger QCA::DSAPrivateKey::y () const |
Публичное случайное значение.
x()
BigInteger QCA::DSAPrivateKey::x () const |
Закрытое случайное значение.