Botan  1.11.10
asn1_str.h
Go to the documentation of this file.
1 /*
2 * ASN.1 string type
3 * (C) 1999-2010 Jack Lloyd
4 *
5 * Distributed under the terms of the Botan license
6 */
7 
8 #ifndef BOTAN_ASN1_STRING_H__
9 #define BOTAN_ASN1_STRING_H__
10 
11 #include <botan/asn1_obj.h>
12 
13 namespace Botan {
14 
15 /**
16 * Simple String
17 */
18 class BOTAN_DLL ASN1_String : public ASN1_Object
19  {
20  public:
21  void encode_into(class DER_Encoder&) const;
22  void decode_from(class BER_Decoder&);
23 
24  std::string value() const;
25  std::string iso_8859() const;
26 
27  ASN1_Tag tagging() const;
28 
29  ASN1_String(const std::string& = "");
30  ASN1_String(const std::string&, ASN1_Tag);
31  private:
32  std::string iso_8859_str;
33  ASN1_Tag tag;
34  };
35 
36 }
37 
38 #endif
ASN1_Tag
Definition: asn1_obj.h:19
Definition: buf_comp.h:15