Botan
1.10.9
|
#include <cms_dec.h>
Public Types | |
enum | Content_Type { DATA, UNKNOWN, COMPRESSED, ENVELOPED, SIGNED, AUTHENTICATED, DIGESTED } |
enum | Status { GOOD, BAD, NO_KEY, FAILURE } |
Public Member Functions | |
void | add_key (Private_Key *) |
CMS_Decoder (DataSource &, const X509_Store &, Private_Key *=0) | |
std::vector< X509_Certificate > | get_certs () const |
std::vector< X509_CRL > | get_crls () const |
std::string | get_data () const |
std::string | layer_algo () const |
std::string | layer_info () const |
Status | layer_status () const |
Content_Type | layer_type () const |
void | next_layer () |
Enumerator | |
---|---|
DATA | |
UNKNOWN | |
COMPRESSED | |
ENVELOPED | |
SIGNED | |
AUTHENTICATED | |
DIGESTED |
Definition at line 26 of file cms_dec.h.
Enumerator | |
---|---|
GOOD | |
BAD | |
NO_KEY | |
FAILURE |
Botan::CMS_Decoder::CMS_Decoder | ( | DataSource & | in, |
const X509_Store & | x509store, | ||
Private_Key * | key = 0 |
||
) |
Definition at line 19 of file cms_dec.cpp.
References add_key(), Botan::PEM_Code::decode_check_label(), GOOD, Botan::PEM_Code::matches(), and Botan::ASN1::maybe_BER().
void Botan::CMS_Decoder::add_key | ( | Private_Key * | key | ) |
std::vector<X509_Certificate> Botan::CMS_Decoder::get_certs | ( | ) | const |
std::vector<X509_CRL> Botan::CMS_Decoder::get_crls | ( | ) | const |
std::string Botan::CMS_Decoder::get_data | ( | ) | const |
Definition at line 85 of file cms_dec.cpp.
References DATA, layer_type(), and Botan::MemoryRegion< T >::size().
std::string Botan::CMS_Decoder::layer_algo | ( | ) | const |
std::string Botan::CMS_Decoder::layer_info | ( | ) | const |
Definition at line 111 of file cms_dec.cpp.
CMS_Decoder::Status Botan::CMS_Decoder::layer_status | ( | ) | const |
Definition at line 77 of file cms_dec.cpp.
CMS_Decoder::Content_Type Botan::CMS_Decoder::layer_type | ( | ) | const |
Definition at line 97 of file cms_dec.cpp.
References AUTHENTICATED, COMPRESSED, DATA, DIGESTED, ENVELOPED, Botan::OIDS::lookup(), SIGNED, and UNKNOWN.
Referenced by get_data().
|
inline |