Botan 3.9.0
Crypto and TLS for C&
|
#include <x509_ext.h>
Classes | |
class | ASIdentifierChoice |
class | ASIdentifiers |
class | ASIdOrRange |
Public Types | |
typedef uint32_t | asnum_t |
Public Member Functions | |
void | add_asnum (asnum_t asnum) |
Add a single asnum to this extension. | |
void | add_asnum (asnum_t min, asnum_t max) |
Add an asnum range to this extension. | |
void | add_rdi (asnum_t min, asnum_t max) |
Add an rdi range to this extension. | |
void | add_rdi (asnum_t rdi) |
Add a single rdi to this extension. | |
const ASIdentifiers & | as_identifiers () const |
ASBlocks ()=default | |
ASBlocks (const ASIdentifiers &as_idents) | |
std::unique_ptr< Certificate_Extension > | copy () const override |
void | inherit_asnum () |
Mark the asnum entry as 'inherit'. | |
void | inherit_rdi () |
Mark the rdi entry as 'inherit'. | |
OID | oid_of () const override |
void | restrict_asnum () |
Make the extension contain no allowed asnum's. | |
void | restrict_rdi () |
Make the extension contain no allowed rdi's. | |
void | validate (const X509_Certificate &subject, const X509_Certificate &issuer, const std::vector< X509_Certificate > &cert_path, std::vector< std::set< Certificate_Status_Code > > &cert_status, size_t pos) override |
Static Public Member Functions | |
static OID | static_oid () |
typedef uint32_t Botan::Cert_Extension::ASBlocks::asnum_t |
Definition at line 791 of file x509_ext.h.
|
default |
Referenced by validate().
|
inlineexplicit |
Definition at line 859 of file x509_ext.h.
|
inline |
Add a single asnum to this extension.
Definition at line 874 of file x509_ext.h.
References add_asnum().
Referenced by add_asnum().
Add an asnum range to this extension.
Definition at line 877 of file x509_ext.h.
Add an rdi range to this extension.
Definition at line 894 of file x509_ext.h.
|
inline |
Add a single rdi to this extension.
Definition at line 891 of file x509_ext.h.
References add_rdi().
Referenced by add_rdi().
|
inline |
Definition at line 907 of file x509_ext.h.
Referenced by validate().
|
inlineoverridevirtual |
Make a copy of this extension
Implements Botan::Certificate_Extension.
Definition at line 861 of file x509_ext.h.
|
inline |
|
inline |
|
inlineoverridevirtual |
Implements Botan::Certificate_Extension.
Definition at line 865 of file x509_ext.h.
References static_oid().
|
inline |
Make the extension contain no allowed asnum's.
Definition at line 882 of file x509_ext.h.
|
inline |
Make the extension contain no allowed rdi's.
Definition at line 899 of file x509_ext.h.
|
inlinestatic |
Definition at line 863 of file x509_ext.h.
Referenced by oid_of().
|
overridevirtual |
Reimplemented from Botan::Certificate_Extension.
Definition at line 1626 of file x509_ext.cpp.
References Botan::AS_BLOCKS_ERROR, as_identifiers(), ASBlocks(), Botan::Cert_Extension::ASBlocks::ASIdentifiers::asnum(), BOTAN_ASSERT_NOMSG, and Botan::Cert_Extension::ASBlocks::ASIdentifiers::rdi().