|
Botan 3.13.0
Crypto and TLS for C&
|
#include <x509_ext.h>
Public Member Functions | |
| std::vector< uint8_t > | BER_encode () const |
| const std::optional< AlternativeName > & | crl_issuer () const |
| void | decode_from (BER_Decoder &from) override |
| Distribution_Point ()=default | |
| Distribution_Point (const AlternativeName &name) | |
| Distribution_Point (std::optional< DistributionPointName > dp_name, std::optional< ReasonFlags > reasons, std::optional< AlternativeName > crl_issuer) | |
| const std::optional< DistributionPointName > & | distribution_point_name () const |
| void | encode_into (DER_Encoder &to) const override |
| const AlternativeName & | point () const |
| const std::optional< ReasonFlags > & | reasons () const |
Definition at line 604 of file x509_ext.h.
|
default |
|
inlineexplicit |
Definition at line 611 of file x509_ext.h.
|
inline |
Definition at line 613 of file x509_ext.h.
References crl_issuer(), and reasons().
|
inherited |
Return the encoding of this object. This is a convenience method when just one object needs to be serialized. Use DER_Encoder for complicated encodings.
Definition at line 21 of file asn1_obj.cpp.
References encode_into().
Referenced by decode_from(), Botan::PKCS12::export_to(), Botan::Certificate_Store_In_SQL::find_all_certs(), Botan::Certificate_Store_In_SQL::find_cert(), Botan::X509_Certificate::fingerprint(), Botan::Certificate_Store_In_SQL::insert_cert(), Botan::X509_Object::PEM_encode(), and Botan::PSS_Params::PSS_Params().
|
inline |
Return the optional CRL issuer name
Definition at line 631 of file x509_ext.h.
Referenced by decode_from(), and Distribution_Point().
|
overridevirtual |
Decode whatever this object is from from
| from | the BER_Decoder that will be read from |
Implements Botan::ASN1_Object.
Definition at line 1447 of file x509_ext.cpp.
References Botan::Constructed, Botan::ContextSpecific, crl_issuer(), Botan::BER_Decoder::decode(), Botan::BER_Decoder::decode_implicit(), Botan::BER_Decoder::decode_optional_field(), Botan::BER_Decoder::end_cons(), Botan::Sequence, Botan::BER_Decoder::start_context_specific(), Botan::BER_Decoder::start_sequence(), and Botan::BER_Decoder::verify_end().
|
inline |
Return the optional distribution point name
Definition at line 621 of file x509_ext.h.
|
overridevirtual |
Encode whatever this object is into to
| to | the DER_Encoder that will be written to |
Implements Botan::ASN1_Object.
Definition at line 1409 of file x509_ext.cpp.
References Botan::DER_Encoder::encode(), Botan::DER_Encoder::end_cons(), Botan::DER_Encoder::start_explicit_context_specific(), and Botan::DER_Encoder::start_sequence().
| const AlternativeName & Botan::Cert_Extension::CRL_Distribution_Points::Distribution_Point::point | ( | ) | const |
Deprecated compatibility shim. Raises Invalid_State if the distributionPoint field is absent or the name is a relative name.
Prefer distribution_point_name(), which surfaces both the OPTIONAL field and the CHOICE arm explicitly.
Definition at line 1331 of file x509_ext.cpp.
References BOTAN_STATE_CHECK.
|
inline |
Return the optional reason flags
Definition at line 626 of file x509_ext.h.
Referenced by Distribution_Point().