Документация
ОС Аврора 5.0.1
Класс GOSTPrivateKey
Публичные функции
GOSTPrivateKey ()=default | |
GOSTPrivateKey (const QString ¶mset, const QString &provider=QString()) | |
QString | paramset () 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) |
Подробное описание
Закрытый ключ ГОСТ.
Описание конструкторов и деструктора
GOSTPrivateKey() [1/2]
QCA::GOSTPrivateKey::GOSTPrivateKey () | default |
Создаёт пустой закрытый ключ GOST.
GOSTPrivateKey() [2/2]
QCA::GOSTPrivateKey::GOSTPrivateKey (const QString & paramset, const QString & provider = QString() ) |
Генерирует закрытый ключ ГОСТ из указанного набора параметров.
Параметры
paramset | Набор параметров ГОСТ, который будет использоваться в качестве источника |
provider | Криптопровайдер, который будет использоваться, если требуется конкретный криптопровайдер |
Описание методов
paramset()
QString QCA::GOSTPrivateKey::paramset () const |
Тип набора параметров.