|
|
| RevocationList (const Blob &b) |
| | RevocationList (RevocationList &&o) noexcept |
| RevocationList & | operator= (RevocationList &&o) |
|
void | pack (Blob &b) const |
|
void | unpack (const uint8_t *dat, size_t dat_size) |
| Blob | getPacked () const |
| template<typename Packer> |
| void | msgpack_pack (Packer &p) const |
|
void | msgpack_unpack (const msgpack::object &o) |
|
void | revoke (const Certificate &crt, time_point t=time_point::min()) |
|
bool | isRevoked (const Certificate &crt) const |
| void | sign (const PrivateKey &, const Certificate &, duration validity_period={}) |
| void | sign (const Identity &id) |
|
bool | isSignedBy (const Certificate &issuer) const |
|
std::string | toString () const |
| Blob | getNumber () const |
| std::string | getIssuerName () const |
| std::string | getIssuerUID () const |
|
time_point | getUpdateTime () const |
|
time_point | getNextUpdateTime () const |
| gnutls_x509_crl_t | get () |
| gnutls_x509_crl_t | getCopy () const |
Definition at line 223 of file crypto.h.
◆ RevocationList()
| dht::crypto::RevocationList::RevocationList |
( |
RevocationList && | o | ) |
|
|
inlinenoexcept |
◆ get()
| gnutls_x509_crl_t dht::crypto::RevocationList::get |
( |
| ) |
|
|
inline |
◆ getCopy()
| gnutls_x509_crl_t dht::crypto::RevocationList::getCopy |
( |
| ) |
const |
|
inline |
◆ getIssuerName()
| std::string dht::crypto::RevocationList::getIssuerName |
( |
| ) |
const |
Read CRL issuer Common Name (CN)
◆ getIssuerUID()
| std::string dht::crypto::RevocationList::getIssuerUID |
( |
| ) |
const |
Read CRL issuer User ID (UID)
◆ getNumber()
| Blob dht::crypto::RevocationList::getNumber |
( |
| ) |
const |
Read the CRL number extension field.
◆ getPacked()
| Blob dht::crypto::RevocationList::getPacked |
( |
| ) |
const |
|
inline |
◆ msgpack_pack()
template<typename Packer>
| void dht::crypto::RevocationList::msgpack_pack |
( |
Packer & | p | ) |
const |
|
inline |
◆ operator=()
| RevocationList & dht::crypto::RevocationList::operator= |
( |
RevocationList && | o | ) |
|
|
inline |
◆ sign() [1/2]
| void dht::crypto::RevocationList::sign |
( |
const Identity & | id | ) |
|
|
inline |
◆ sign() [2/2]
| void dht::crypto::RevocationList::sign |
( |
const PrivateKey & | , |
|
|
const Certificate & | , |
|
|
duration | validity_period = {} ) |
Sign this revocation list using provided key and certificate. Validity_period sets the duration until next update (default to no next update).
The documentation for this class was generated from the following file:
- /home/noptrix/ba/blackarch/packages/opendht-c/src/opendht/include/opendht/crypto.h