|
Botan
1.10.17
|
#include <alg_id.h>
Public Types | |
| enum | Encoding_Option { USE_NULL_PARAM } |
Public Member Functions | |
| AlgorithmIdentifier () | |
| AlgorithmIdentifier (const OID &, Encoding_Option) | |
| AlgorithmIdentifier (const std::string &, Encoding_Option) | |
| AlgorithmIdentifier (const OID &, const MemoryRegion< byte > &) | |
| AlgorithmIdentifier (const std::string &, const MemoryRegion< byte > &) | |
| void | decode_from (class BER_Decoder &) |
| void | encode_into (class DER_Encoder &) const |
Public Attributes | |
| OID | oid |
| SecureVector< byte > | parameters |
|
inline |
| Botan::AlgorithmIdentifier::AlgorithmIdentifier | ( | const OID & | alg_id, |
| Encoding_Option | option | ||
| ) |
| Botan::AlgorithmIdentifier::AlgorithmIdentifier | ( | const std::string & | alg_id, |
| Encoding_Option | option | ||
| ) |
Definition at line 55 of file alg_id.cpp.
References Botan::OIDS::lookup(), oid, parameters, and USE_NULL_PARAM.
| Botan::AlgorithmIdentifier::AlgorithmIdentifier | ( | const OID & | alg_id, |
| const MemoryRegion< byte > & | param | ||
| ) |
| Botan::AlgorithmIdentifier::AlgorithmIdentifier | ( | const std::string & | alg_id, |
| const MemoryRegion< byte > & | param | ||
| ) |
|
virtual |
Decode whatever this object is from from
| from | the BER_Decoder that will be read from |
Implements Botan::ASN1_Object.
Definition at line 103 of file alg_id.cpp.
References Botan::BER_Decoder::decode(), Botan::BER_Decoder::end_cons(), oid, parameters, Botan::BER_Decoder::raw_bytes(), Botan::SEQUENCE, and Botan::BER_Decoder::start_cons().
|
virtual |
Encode whatever this object is into to
| to | the DER_Encoder that will be written to |
Implements Botan::ASN1_Object.
Definition at line 92 of file alg_id.cpp.
References Botan::DER_Encoder::encode(), Botan::DER_Encoder::end_cons(), oid, parameters, Botan::DER_Encoder::raw_bytes(), Botan::SEQUENCE, and Botan::DER_Encoder::start_cons().
| OID Botan::AlgorithmIdentifier::oid |
Definition at line 35 of file alg_id.h.
Referenced by AlgorithmIdentifier(), Botan::EAC_Signed_Object::check_signature(), Botan::X509_Object::check_signature(), decode_from(), encode_into(), Botan::X509_Object::hash_used_for_signature(), Botan::make_public_key(), and Botan::operator==().
| SecureVector<byte> Botan::AlgorithmIdentifier::parameters |
Definition at line 36 of file alg_id.h.
Referenced by AlgorithmIdentifier(), decode_from(), Botan::DL_Scheme_PrivateKey::DL_Scheme_PrivateKey(), Botan::DL_Scheme_PublicKey::DL_Scheme_PublicKey(), Botan::EC_PrivateKey::EC_PrivateKey(), Botan::EC_PublicKey::EC_PublicKey(), encode_into(), and Botan::operator==().
1.8.14