diff options
Diffstat (limited to 'include/x509cert.h')
-rw-r--r-- | include/x509cert.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/include/x509cert.h b/include/x509cert.h index 60534c769..0a6d0ec83 100644 --- a/include/x509cert.h +++ b/include/x509cert.h @@ -13,7 +13,7 @@ namespace Botan { -static const u32bit NO_CERT_PATH_LIMIT = 0xFFFFFFFF; +static const u32bit NO_CERT_PATH_LIMIT = 0xFFFFFFF0; /************************************************* * X.509 Certificate * @@ -23,36 +23,36 @@ class X509_Certificate : public X509_Object public: X509_PublicKey* subject_public_key() const; - u32bit x509_version() const; - MemoryVector<byte> serial_number() const; - MemoryVector<byte> authority_key_id() const; - MemoryVector<byte> subject_key_id() const; - Key_Constraints constraints() const; + X509_DN issuer_dn() const; + X509_DN subject_dn() const; + std::string subject_info(const std::string&) const; + std::string issuer_info(const std::string&) const; std::string start_time() const; std::string end_time() const; - std::string subject_info(const std::string&) const; - std::string issuer_info(const std::string&) const; - X509_DN issuer_dn() const; - X509_DN subject_dn() const; + u32bit x509_version() const; + MemoryVector<byte> serial_number() const; + MemoryVector<byte> authority_key_id() const; + MemoryVector<byte> subject_key_id() const; bool self_signed() const; bool is_CA_cert() const; u32bit path_limit() const; + Key_Constraints constraints() const; std::vector<std::string> ex_constraints() const; std::vector<std::string> policies() const; bool operator==(const X509_Certificate&) const; - void force_decode(); - X509_Certificate(DataSource&); X509_Certificate(const std::string&); private: friend class X509_CA; X509_Certificate() {} + void force_decode(); + void handle_v3_extension(const Extension&); Data_Store info; |