Marco Neumann
d4ac17598a
use a machine-readable license key
...
See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields :
> If a package is using a nonstandard license, then the license-file field may be specified in lieu of the license
> field.
`simple_asn1` however uses a standard license (ISC, as per LICENSE).
Note that this is also a somewhat commonly used way by many projects
(see for example Cargo or serde).
Using the machine-readable SPX specifier instead of a text file helps
automatic tooling like [cargo-lichking](https://github.com/Nemo157/cargo-lichking ) to check licenses of projects and
dependencies.
2020-07-13 15:21:05 +02:00
f17f1eb246
Merge pull request #12 from drahnr/master
...
OID as_raw
2019-12-14 09:59:47 -08:00
Bernhard Schuster
47a5140bf2
feat(as_raw) impl as_raw for OID
2019-12-13 21:27:47 +01:00
Bernhard Schuster
52348af492
chore(fmt): cargo fmt
2019-12-13 21:24:48 +01:00
Bernhard Schuster
ab7616a86c
feat(OID): silence warnings
2019-12-13 21:15:28 +01:00
113c6ad16a
Merge pull request #10 from twjang/master
...
BigUint(0) bug fixed (encode_base127)
2019-09-11 22:05:16 -07:00
nyamnyam
7c8e01f5b2
BigUint(0) bug fixed (encode_base127)
2019-09-12 10:16:53 +09:00
5b62a49298
Bump version to 0.4.0.
2019-03-29 16:21:04 -07:00
Adam Wick
800f165977
Merge pull request #9 from Flakebi/master
...
Return error instead of panics on invalid ASN.1
2019-03-29 16:20:12 -07:00
b72f384989
Test reparsing generated GeneralizedTimes, to expose a bug that's about to get fixed.
2019-03-29 16:18:17 -07:00
Flakebi
0641eff20b
Add errors for panics found by fuzzing
2019-03-29 18:44:09 +01:00
Flakebi
34764ca9bf
Add cargo-fuzz target
2019-03-29 18:44:09 +01:00
Flakebi
115859668c
Remove usage of deprecated functions
2019-03-29 16:38:56 +01:00
Flakebi
8a64254c95
Return error on invalid length
2019-03-29 16:30:13 +01:00
c6b8e90a50
Bump version number.
2019-03-27 09:03:17 -07:00
Adam Wick
75a2149540
Merge pull request #8 from Fensteer/public-ressources
...
Make BigInt and BigUint public use
2019-03-26 10:22:58 -07:00
Your Name
5aa3b6665c
Make BigInt and BigUint public use
2019-03-20 13:39:05 +01:00
7a7b8fdbc3
Bump version number after a somewhat major change.
2018-12-14 08:20:05 -08:00
Adam Wick
56f0c5a9ba
Merge pull request #7 from Flakebi/master
...
Reduce num dependencies, improve class implementation and add explicit tags
2018-12-14 08:17:58 -08:00
Flakebi
b678c70508
Reduce num dependencies, improve class implementation and add explicit tags
...
The default datatypes always have Universal as their class. If we
encounter another class while parsing, it is a tagged block.
I am not sure how (and if at all) we can distinguish explicitly and
implicitly tagged data. For now they should be parsed as unknown (or
explicit if they are a valid ASN.1 block).
2018-12-09 12:01:01 +01:00
84bd0c6642
Bump version to get tag change.
2018-11-16 10:32:32 -08:00
Adam Wick
988338dacc
Merge pull request #6 from mehcode/feature/constructed
...
Encode primitive vs constructed form
2018-11-16 10:31:11 -08:00
Ryan Leckey
9f22f1dde0
Set bit 5 for SEQUENCE 0x10 and SET 0x11 to indicate constructed encoding
2018-11-14 21:12:13 -08:00
13ff3a0c19
Bump version number.
2018-11-04 15:25:56 -08:00
823fc31f6f
Add Display and Error implementations for ASN1DecodeError, plus some context.
2018-10-26 12:04:31 -07:00
bdb8f7f8aa
Make ASN1EncodeErr an instance of std::Error.
2018-10-26 09:25:05 -07:00
484ccef3fb
Remove a warning that's not entirely helpful.
2018-10-26 09:24:37 -07:00
Adam Wick
daf9cf18fd
Merge pull request #3 from mehcode/feature/up
...
Upgrade dependencies
2018-10-23 15:07:27 -07:00
Ryan Leckey
939621b8c4
Upgrade dependencies
2018-10-23 12:42:44 -07:00
f89c6d9be6
Fix comment around ToASN1.
2018-01-16 17:45:03 -08:00
cbed82a205
Slowly learning the Cargo keyword syntax through errors.
2017-12-26 18:16:31 -08:00
155fe48e7f
Add description, fix keywords.
2017-12-26 18:15:21 -08:00
c9d9a9b57f
Travis support?
2017-12-26 18:07:22 -08:00
f6b39d7003
Documentation!
2017-12-26 18:06:23 -08:00
dc1fd79886
Add generic operators for ASN1Blocks.
2017-12-21 22:27:21 -08:00
c6a7d3039c
Add the ability to capture start indexes of components, and variants of FromASN1 that require the body contents.
2017-12-21 21:44:06 -08:00
5e8dde500e
Shift import into test module to avoid warning.
2017-12-21 16:56:56 -08:00
762b9b2fa4
Add time value support.
2017-12-19 10:21:36 -08:00
89cf0a25b5
Support more string types.
2017-12-11 21:31:57 -08:00
dd281edcd1
Add support for printable strings.
2017-12-10 21:54:01 -08:00
5328ade70e
Add README and LICENSE
2017-11-14 15:51:18 -08:00
018770f711
Generic traits for dealing with ASN1.
2017-11-14 14:55:01 -08:00
b9594c9fb4
Ignore read result.
2017-11-14 14:54:46 -08:00
7134b205d4
Factor out OIDs into their own structure, with relevant functions and macros.
2017-11-14 14:54:10 -08:00
827aa0e74e
Initial parser.
2017-11-06 14:47:27 -08:00