8 #ifndef BOTAN_CMS_DECODER_H__
9 #define BOTAN_CMS_DECODER_H__
11 #include <botan/x509cert.h>
12 #include <botan/x509stor.h>
13 #include <botan/pkcs8.h>
14 #include <botan/ber_dec.h>
24 enum Status { GOOD, BAD, NO_KEY, FAILURE };
27 AUTHENTICATED, DIGESTED };
29 Status layer_status()
const;
30 Content_Type layer_type()
const;
31 std::string layer_info()
const;
32 std::string layer_algo()
const;
33 std::string get_data()
const;
34 std::vector<X509_Certificate>
get_certs()
const;
35 std::vector<X509_CRL> get_crls()
const;
44 std::string get_passphrase(
const std::string&);
51 std::vector<std::string> passphrases;
52 std::vector<Private_Key*> keys;
def get_certs(db, rev_id)