aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/asn1/asn1_obj.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge some of the ASN.1 headersJack Lloyd2020-10-311-4/+289
| | | | | Deprecate asn1_str.h asn1_time.h asn1_oid.h and alg_id.h with all contents moved to existing asn1_obj.h
* Add reminder comments re enum classJack Lloyd2019-05-241-0/+1
|
* Remove support for Visual C++ 2013Jack Lloyd2018-10-011-2/+0
| | | | Closes GH #1557
* Attempt at MSVC 2013 workaroundJack Lloyd2018-06-081-2/+4
|
* Declare copy and move constructors on BER_ObjectJack Lloyd2018-06-081-0/+8
|
* Improve error message on BER decoding errorJack Lloyd2018-05-241-1/+2
|
* DER improvementsJack Lloyd2018-05-221-1/+8
| | | | | | | | | | | Let DER_Encoder write to a user specified vector instead of only to an internal vector. This allows encoding to a std::vector without having to first write to a locked vector and then copying out the result. Add ASN1_Object::BER_encode convenience method. Replaces X509_Object::BER_encode which had the same logic but was restricted to a subtype. This replaces many cases where DER_Encoder was just used to encode a single object (X509_DN, AlgorithmIdentifier, etc).
* Of course they are public member variables, not functions ...Jack Lloyd2018-02-131-1/+1
|
* Add BOTAN_DEPRECATED_PUBLIC_MEMBER_FUNCTIONSJack Lloyd2018-02-131-1/+1
| | | | | | Makes such things easier to find in the future. Also adds BOTAN_NO_DEPRECATED which causes them to be private instead.
* Prepare for making BER_Object members privateJack Lloyd2018-01-181-4/+38
| | | | | Now there are usable accessors that allow the library to avoid using BER_Object members directly.
* Fix some other copy+paste code in BER_DecoderJack Lloyd2017-12-191-1/+1
|
* Move ASN1 printer to the libraryJack Lloyd2017-11-151-0/+2
|
* Increase the size of an ASN.1 tag enum to 32-bitsJack Lloyd2017-11-151-1/+1
| | | | Fixes GH #751
* introduce UNIVERSAL_STRING (UCS-4)Rene Meusel2017-11-091-0/+1
|
* Use class instead of struct for objects with member functionsJack Lloyd2017-09-301-5/+7
| | | | Flagged by Sonar and quite reasonable
* Apply final annotations to the library alsoJack Lloyd2017-09-221-2/+2
| | | | | Done by a perl script which converted all classes to final, followed by selective reversion where it caused compilation failures.
* Change header guard format to BOTAN_FOO_H_Jack Lloyd2017-09-201-2/+2
| | | | | | ISO C++ reserves names with double underscores in them Closes #512
* Add API stability annotations.Jack Lloyd2017-09-191-4/+4
| | | | | Defined in build.h, all equal to BOTAN_DLL so ties into existing system for exporting symbols.
* Content:Tomasz Frydrych2017-04-031-1/+4
| | | | | | | | | * fixes for deprecated constructions in c++11 and later (explicit rule of 3/5 or implicit rule of 0 and other violations) * `default` specifier instead of `{}` in some places(probably all) * removal of unreachable code (for example `return` after `throw`) * removal of compilation unit only visible, but not used functions * fix for `throw()` specifier - used instead `BOTAN_NOEXCEPT` * removed not needed semicolons
* Convert to using standard uintN_t integer typesJack Lloyd2016-12-181-2/+2
| | | | | | Renames a couple of functions for somewhat better name consistency, eg make_u32bit becomes make_uint32. The old typedefs remain for now since probably lots of application code uses them.
* cppcheck fixes: Class 'X' has a constructor with 1 argument that is not ↵Daniel Neus2016-03-051-1/+1
| | | | explicit.
* Mass-prefix member vars with m_René Korthaus2016-01-081-0/+3
|
* Sometimes we don't know the input format. But it is one of twoSimon Warta2015-08-111-2/+3
|
* Explicitly fwd declase classes BER_Decoder, DER_EncoderSimon Warta2015-08-111-2/+5
|
* Ensure all files have copyright and license info.lloyd2015-01-101-1/+1
| | | | | Update license header line to specify the terms and refer to the file, neither of which it included before.
* Move lib into srclloyd2014-01-101-0/+124