Repository navigation
asnkit 1.1.0
·
24 commits
to trunk
since this release
Immutable
release. Only release title and notes can be modified.
Added
asnkitcc convert, which decodes a value with one codec and encodes
it with another, as JER to DER, with an.asnifile or ASN.1 files
it compiles first.asnkitccnow depends on the runtimeasnkitrt.- The compiler for browsers and Node.js, as WebAssembly, in
packages/asnkit-compiler-wasm: it compiles and parses the text of a
specification, and signs, encrypts, binds and gives a nonce as
asnkitccdoes. It is on npm asasnkit-compiler. - The runtime for C, in
packages/asnkitrt-c: the Rust runtime as a
shared and a static library, with the headerasnkitrt.h. It is
built from source.
Changed
-
asnkit-compilerbuilds forwasm32-unknown-unknown, where it has no
moduleplugin, as WebAssembly runs no programs.aes-gcmis used
without its default features, which the compiler did not use. -
The option
embedof the pluginsasnkit-gen-pythonand
asnkit-gen-rust: withembed=false, the module made does not have
the compiled specification in it, and is given one that is loaded
from a file, as one that is signed, encrypted, bound or has a nonce.
The module of Python then hasuse_asni().
Fixed
- XER, in every runtime: a BOOLEAN is read only as
<true/>or
<false/>, and anything else is an error, where it was read as false.
An OCTET STRING with an odd number of hexadecimal digits is ended by a
zero (X.680 22.3), so<A>123</A>is12 30, where it was01 23.
A BIT STRING and an OCTET STRING may have space in them (X.680 12.10,
12.12), and the runtime for Python no longer takes0b,_or+in
a BIT STRING. A carriage return in a string is written , as one
written as it is is read as a line feed. - The playground no longer tells a byte offset for an error in JER or
XER, which the runtimes do not give.