Botan
1.10.9
|
#include <asn1_obj.h>
Public Member Functions | |
Attribute () | |
Attribute (const OID &, const MemoryRegion< byte > &) | |
Attribute (const std::string &, const MemoryRegion< byte > &) | |
void | decode_from (class BER_Decoder &from) |
void | encode_into (class DER_Encoder &to) const |
Public Attributes | |
OID | oid |
MemoryVector< byte > | parameters |
Definition at line 24 of file asn1_obj.h.
|
inline |
Definition at line 33 of file asn1_obj.h.
Botan::Attribute::Attribute | ( | const OID & | attr_oid, |
const MemoryRegion< byte > & | attr_value | ||
) |
Botan::Attribute::Attribute | ( | const std::string & | attr_oid, |
const MemoryRegion< byte > & | attr_value | ||
) |
|
virtual |
Decode whatever this object is from from
from | the BER_Decoder that will be read from |
Implements Botan::ASN1_Object.
Definition at line 50 of file asn1_att.cpp.
References Botan::BER_Decoder::decode(), Botan::BER_Decoder::end_cons(), oid, parameters, Botan::BER_Decoder::raw_bytes(), Botan::SEQUENCE, Botan::SET, 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 37 of file asn1_att.cpp.
References Botan::DER_Encoder::encode(), Botan::DER_Encoder::end_cons(), oid, parameters, Botan::DER_Encoder::raw_bytes(), Botan::SEQUENCE, Botan::SET, and Botan::DER_Encoder::start_cons().
OID Botan::Attribute::oid |
Definition at line 30 of file asn1_obj.h.
Referenced by Attribute(), decode_from(), and encode_into().
MemoryVector<byte> Botan::Attribute::parameters |
Definition at line 31 of file asn1_obj.h.
Referenced by Attribute(), decode_from(), and encode_into().