Botan
2.1.0
Crypto and TLS for C++11
Main Page
Namespaces
Classes
Files
File List
File Members
src
lib
asn1
asn1_str.h
Go to the documentation of this file.
1
/*
2
* ASN.1 string type
3
* (C) 1999-2010 Jack Lloyd
4
*
5
* Botan is released under the Simplified BSD License (see license.txt)
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
final :
public
ASN1_Object
19
{
20
public
:
21
void
encode_into(
class
DER_Encoder
&)
const override
;
22
void
decode_from(
class
BER_Decoder
&)
override
;
23
24
std::string value()
const
;
25
std::string iso_8859()
const
;
26
27
ASN1_Tag
tagging()
const
;
28
29
explicit
ASN1_String
(
const
std::string& =
""
);
30
ASN1_String
(
const
std::string&,
ASN1_Tag
);
31
private
:
32
std::string m_iso_8859_str;
33
ASN1_Tag
m_tag;
34
};
35
36
}
37
38
#endif
Botan::ASN1_Object
Definition:
asn1_obj.h:61
Botan::ASN1_String
Definition:
asn1_str.h:18
Botan::DER_Encoder
Definition:
der_enc.h:22
Botan::ASN1_Tag
ASN1_Tag
Definition:
asn1_obj.h:22
Botan
Definition:
alg_id.cpp:13
Botan::BER_Decoder
Definition:
ber_dec.h:19
Generated on Fri Aug 4 2017 19:29:38 for Botan by
1.8.9.1