|
DLGroup | domain () const |
|
| DSAPrivateKey () |
|
| DSAPrivateKey (const DLGroup &domain, const BigInteger &y, const BigInteger &x, const QString &provider=QString()) |
|
BigInteger | x () const |
|
BigInteger | y () const |
|
bool | canDecrypt () const |
|
bool | canEncrypt () const |
|
bool | canSign () const |
|
bool | decrypt (const SecureArray &in, SecureArray *out, EncryptionAlgorithm alg) |
|
SymmetricKey | deriveKey (const PublicKey &theirs) |
|
SecureArray | encrypt (const SecureArray &a, EncryptionAlgorithm alg) |
|
int | maximumEncryptSize (EncryptionAlgorithm alg) const |
|
PrivateKey & | operator= (const PrivateKey &from) |
|
| PrivateKey () |
|
| PrivateKey (const PrivateKey &from) |
|
| PrivateKey (const QString &fileName, const SecureArray &passphrase=SecureArray()) |
|
QByteArray | signature () |
|
QByteArray | signMessage (const MemoryRegion &a, SignatureAlgorithm alg, SignatureFormat format=DefaultFormat) |
|
void | startSign (SignatureAlgorithm alg, SignatureFormat format=DefaultFormat) |
|
SecureArray | toDER (const SecureArray &passphrase=SecureArray(), PBEAlgorithm pbe=PBEDefault) const |
|
DHPrivateKey | toDH () const |
|
DSAPrivateKey | toDSA () const |
|
QString | toPEM (const SecureArray &passphrase=SecureArray(), PBEAlgorithm pbe=PBEDefault) const |
|
bool | toPEMFile (const QString &fileName, const SecureArray &passphrase=SecureArray(), PBEAlgorithm pbe=PBEDefault) const |
|
RSAPrivateKey | toRSA () const |
|
void | update (const MemoryRegion &a) |
|
int | bitSize () const |
|
bool | canExport () const |
|
bool | canKeyAgree () const |
|
bool | isDH () const |
|
bool | isDSA () 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 |
|
| 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 |
|
|
enum | Type { RSA
, DSA
, DH
} |
|
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 QList< Type > | supportedIOTypes (const QString &provider=QString()) |
|
static QList< Type > | supportedTypes (const QString &provider=QString()) |
|
| PrivateKey (const QString &type, const QString &provider) |
|
| 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 |
|
| Algorithm () |
|
| Algorithm (const QString &type, const QString &provider) |
|
Digital Signature Algorithm Private Key.