hs-asn1
hs-asn1 copied to clipboard
ASN1 Raw/BER/DER/CER reader/writer in haskell
Hopefully this suppresses the following warning: ``` Warning: asn1-types.cabal:17:34: version operators used. To use version operators the package needs to specify at least 'cabal-version: >= 1.8'. ```
Maybe there is valid reason to not expose getEnumerated.
While fuzz-testing my code I noticed that although `decodeASN1 DER` returns an `Either ASN1Error …`, it can throw such errors. The problem seems to be this code: ``` instance ASN1Decoding...
At some point, newer types for time representation have been introduced into ASN.1. I don't know in which revision they've been introduced, but at least the [latest revision of the...
The existing documentation of `Data.ASN1.Parse.onNextContainer` did not make clear that the supplied function neads to handle all elements of the container. This is due to the usage of `runParseASN1`, erroring...
I am using this library for my project, but before getting started with proper usage of it I had to spend several days of experimenting with functions, matching different type...
The x.696 **O**ctet **E**ncoding **R**ules are a relatively recent (2014) standard for space- and computing-efficient encoding. In comparison to PER, they trade ease of implementation and en-/decoding complexity for space,...
I fail to see clear way to encode/decode data with application or context tag. Only way to do this seem to be by encoding ASN1 with universal tag, parse result...
Hey @vincenthz ! This is one of a series of PR hitting different projects (namely `hs-pem`, `hs-asn1` and `hs-certificate`) aimed at improving the memory/time efficiency of these libraries and therefore...
Here is a script: ``` #!/usr/bin/env stack -- stack -v runghc --package connection --package http-client --package http-client-tls --package tls --package data-default {-# LANGUAGE OverloadedStrings #-} {- reproduce memory leak: $...