diff options
author | lloyd <[email protected]> | 2008-11-24 18:35:37 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-11-24 18:35:37 +0000 |
commit | 894a1da566d5940646514bfa64e74f342695dde4 (patch) | |
tree | 8c4af8d4bc4347d380c42e39852baf514c1ab91c /src/cert/x509/x509stor.h | |
parent | b2fb5410917afe6126d8326c7c09766395c9819d (diff) |
Make X509_Store::CRL_Info public for IBM XLC 0.9 for Cell
Diffstat (limited to 'src/cert/x509/x509stor.h')
-rw-r--r-- | src/cert/x509/x509stor.h | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/src/cert/x509/x509stor.h b/src/cert/x509/x509stor.h index 3f3f38ea0..2667187af 100644 --- a/src/cert/x509/x509stor.h +++ b/src/cert/x509/x509stor.h @@ -69,6 +69,20 @@ class BOTAN_DLL X509_Store std::vector<X509_Certificate> get_cert_chain(const X509_Certificate&); std::string PEM_encode() const; + /* + * Made CRL_Data public for XLC for Cell 0.9, otherwise cannot + * instantiate member variable std::vector<CRL_Data> revoked + */ + class BOTAN_DLL CRL_Data + { + public: + X509_DN issuer; + MemoryVector<byte> serial, auth_key_id; + bool operator==(const CRL_Data&) const; + bool operator!=(const CRL_Data&) const; + bool operator<(const CRL_Data&) const; + }; + X509_Code add_crl(const X509_CRL&); void add_cert(const X509_Certificate&, bool = false); void add_certs(DataSource&); @@ -103,16 +117,6 @@ class BOTAN_DLL X509_Store mutable u64bit last_checked; }; - class BOTAN_DLL CRL_Data - { - public: - X509_DN issuer; - MemoryVector<byte> serial, auth_key_id; - bool operator==(const CRL_Data&) const; - bool operator!=(const CRL_Data&) const; - bool operator<(const CRL_Data&) const; - }; - u32bit find_cert(const X509_DN&, const MemoryRegion<byte>&) const; X509_Code check_sig(const Cert_Info&, const Cert_Info&) const; void recompute_revoked_info() const; |