/* * ASN.1 Attribute * (C) 1999-2007,2012 Jack Lloyd * * Distributed under the terms of the Botan license */ #ifndef BOTAN_ASN1_ATTRIBUTE_H__ #define BOTAN_ASN1_ATTRIBUTE_H__ #include #include #include namespace Botan { /** * Attribute */ class BOTAN_DLL Attribute : public ASN1_Object { public: void encode_into(class DER_Encoder& to) const; void decode_from(class BER_Decoder& from); OID oid; std::vector parameters; Attribute() {} Attribute(const OID&, const std::vector&); Attribute(const std::string&, const std::vector&); }; } #endif