aboutsummaryrefslogtreecommitdiffstats
path: root/src/asn1/asn1_str.cpp
Commit message (Collapse)AuthorAgeFilesLines
* is_string_type was only used in one place, asn1_alt.cpp, so make it anlloyd2010-11-031-12/+0
| | | | anon namespace function there.
* Split some of the ASN.1 types into their own headerslloyd2010-10-131-1/+1
|
* s/u32bit/size_t/ in asn1lloyd2010-10-131-2/+2
|
* Thomas Moschny passed along a request from the Fedora packagers which camelloyd2009-03-301-31/+33
| | | | | | | | | | | | | | | up during the Fedora submission review, that each source file include some text about the license. One handy Perl script later and each file now has the line Distributed under the terms of the Botan license after the copyright notices. While I was in there modifying every file anyway, I also stripped out the remainder of the block comments (lots of astericks before and after the text); this is stylistic thing I picked up when I was first learning C++ but in retrospect it is not a good style as the structure makes it harder to modify comments (with the result that comments become fewer, shorter and are less likely to be updated, which are not good things).
* Remove more dependencies on the global state object.lloyd2008-09-291-1/+1
| | | | | | | New argument to X509_CRL constructor, a boolean that specifies if an exception should be thrown upon encountering an unknown extension type marked as critical. Previously this was controlled globally via the x509/crl/unknown_critical policy flag.
* Hardcode use of Latin1 encoding if an encoding using ASN.1 DIRECTORY STRINGlloyd2008-09-291-5/+2
| | | | | | | | is encountered and the charaters will not fit into PRINTABLE STRING. Previously was toggle-able between Latin1 and UTF-8 via policy config. However does not seem worth the depencencies especially as AFAIK nobody has ever touched this setting. If its functionality turns out to be needed then something can be arranged later on.
* Move almost all of the ASN.1, BER, and DER codec related code into newlloyd2008-09-281-0/+161
module asn1 Move hex and base64 codecs into new codecs directory. Also move zlib and bzip2 to codecs from compress.