|
Botan 1.10.17
|
Functions | |
| bool | maybe_BER (DataSource &source) |
| SecureVector< byte > | put_in_sequence (const MemoryRegion< byte > &contents) |
| std::string | to_string (const BER_Object &obj) |
| bool Botan::ASN1::maybe_BER | ( | DataSource & | src | ) |
Heuristics tests; is this object possibly BER?
| src | a data source that will be peeked at but not modified |
Definition at line 55 of file asn1_int.cpp.
References Botan::CONSTRUCTED, maybe_BER(), Botan::DataSource::peek_byte(), Botan::SEQUENCE, and Botan::Stream_IO_Error::Stream_IO_Error().
Referenced by Botan::CMS_Decoder::CMS_Decoder(), Botan::X509::load_key(), and maybe_BER().
| SecureVector< byte > Botan::ASN1::put_in_sequence | ( | const MemoryRegion< byte > & | contents | ) |
Definition at line 34 of file asn1_int.cpp.
References Botan::DER_Encoder::end_cons(), Botan::DER_Encoder::get_contents(), put_in_sequence(), Botan::DER_Encoder::raw_bytes(), Botan::SEQUENCE, and Botan::DER_Encoder::start_cons().
Referenced by put_in_sequence(), and Botan::X509_Object::tbs_data().
| std::string Botan::ASN1::to_string | ( | const BER_Object & | obj | ) |
Definition at line 46 of file asn1_int.cpp.
References Botan::MemoryRegion< T >::size(), to_string(), and Botan::BER_Object::value.
Referenced by Botan::AlternativeName::decode_from(), Botan::ASN1_EAC_String::decode_from(), Botan::ASN1_String::decode_from(), Botan::X509_Time::decode_from(), and to_string().