|
Botan
2.1.0
Crypto and TLS for C++11
|
A single Name Constraint. More...
#include <name_constraint.h>
Public Member Functions | |
| GeneralName | base () const |
| void | decode_from (class BER_Decoder &) override |
| void | encode_into (class DER_Encoder &) const override |
| GeneralSubtree () | |
| GeneralSubtree (GeneralName base, size_t min, size_t max) | |
| GeneralSubtree (const std::string &str) | |
| size_t | maximum () const |
| size_t | minimum () const |
A single Name Constraint.
The Name Constraint extension adds a minimum and maximum path length to a GeneralName to form a constraint. The length limits are currently unused.
Definition at line 87 of file name_constraint.h.
|
inline |
|
inline |
Definition at line 102 of file name_constraint.h.
| Botan::GeneralSubtree::GeneralSubtree | ( | const std::string & | str | ) |
Creates a new name constraint for its string format.
| str | name constraint |
Definition at line 231 of file name_constraint.cpp.
References Botan::CT::max(), and Botan::CT::min().
|
inline |
|
overridevirtual |
Decode whatever this object is from from
| from | the BER_Decoder that will be read from |
Implements Botan::ASN1_Object.
Definition at line 255 of file name_constraint.cpp.
References Botan::CONTEXT_SPECIFIC, Botan::BER_Decoder::decode(), Botan::BER_Decoder::decode_optional(), Botan::BER_Decoder::end_cons(), Botan::CT::max(), Botan::SEQUENCE, and Botan::BER_Decoder::start_cons().
|
overridevirtual |
Encode whatever this object is into to
| to | the DER_Encoder that will be written to |
Implements Botan::ASN1_Object.
Definition at line 250 of file name_constraint.cpp.
|
inline |
Definition at line 129 of file name_constraint.h.
Referenced by Botan::operator<<().
|
inline |
Definition at line 124 of file name_constraint.h.
Referenced by Botan::operator<<().
1.8.9.1