|
| PrivateKey (gnutls_x509_privkey_t k) |
|
| PrivateKey (PrivateKey &&o) noexcept |
|
PrivateKey & | operator= (PrivateKey &&o) noexcept |
|
| PrivateKey (const uint8_t *src, size_t src_size, const char *password=nullptr) |
|
| PrivateKey (const Blob &src, const std::string &password={}) |
|
| PrivateKey (std::string_view src, const std::string &password={}) |
|
| operator bool () const |
|
const PublicKey & | getPublicKey () const |
|
const std::shared_ptr< PublicKey > & | getSharedPublicKey () const |
|
int | serialize (uint8_t *out, size_t *out_len, const std::string &password={}) const |
|
Blob | serialize (const std::string &password={}) const |
|
Blob | sign (const uint8_t *data, size_t data_len) const |
|
Blob | sign (std::string_view dat) const |
|
Blob | sign (const Blob &dat) const |
|
Blob | decrypt (const uint8_t *cypher, size_t cypher_len) const |
|
Blob | decrypt (const Blob &cypher) const |
|
A private key, including the corresponding public key.
Definition at line 160 of file crypto.h.