1
1
mirror of https://github.com/wader/fq.git synced 2024-12-23 13:22:58 +03:00
fq/format/asn1/testdata
Mattias Wadman e3ae1440c9 interp: Rename to/from<format> functions to to_/from_<format>
Feels less cluttered, easier to read and more consistent.

Still keep tovalue, tobytes etc that are more basic functions this
only renamed format related functions.
Also there is an exceptin for to/fromjson as it comes from jq.

Also fixes lots of spelling errors while reading thru.
2022-12-21 17:48:39 +01:00
..
regression decode,interp: Rename unknown gap fields from "unknown#" to "gap#" 2022-12-01 20:43:30 +01:00
ed25519.cer asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
ed25519.cer.fqtest interp: Rename to/from<format> functions to to_/from_<format> 2022-12-21 17:48:39 +01:00
help_asn1_ber.fqtest interp: Rename to/from<format> functions to to_/from_<format> 2022-12-21 17:48:39 +01:00
laymans_guide_examples.fqtest interp,dump: Show address bar for root, nested roots and on format change 2022-08-09 18:09:41 +02:00
laymans_guide_examples.json asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
letsencrypt-x3.cer asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
letsencrypt-x3.cer.fqtest interp: Rename to/from<format> functions to to_/from_<format> 2022-12-21 17:48:39 +01:00
openssl.rsa.key.der asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
openssl.rsa.key.fqtest asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
README.md asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
sig-p256-ber.p7m asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
sig-p256-ber.p7m.fqtest interp: Rename to/from<format> functions to to_/from_<format> 2022-12-21 17:48:39 +01:00
sig-p256-der.p7m asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
sig-p256-der.p7m.fqtest interp: Rename to/from<format> functions to to_/from_<format> 2022-12-21 17:48:39 +01:00
sig-rsa1024-sha1.p7s asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
sig-rsa1024-sha1.p7s.fqtest interp: Rename to/from<format> functions to to_/from_<format> 2022-12-21 17:48:39 +01:00
tc1.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc1.ber.fqtest asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc1.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc2.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc2.ber.fqtest decode,interp: Rename unknown gap fields from "unknown#" to "gap#" 2022-12-01 20:43:30 +01:00
tc2.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc3.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc3.ber.fqtest asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc3.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc4.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc4.ber.fqtest decode,interp: Rename unknown gap fields from "unknown#" to "gap#" 2022-12-01 20:43:30 +01:00
tc4.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc5.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc5.ber.fqtest asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc5.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc6.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc6.ber.fqtest asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc6.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc7.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc7.ber.fqtest asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc7.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc8.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc8.ber.fqtest decode,interp: Rename unknown gap fields from "unknown#" to "gap#" 2022-12-01 20:43:30 +01:00
tc8.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc9.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc9.ber.fqtest asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc9.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc10.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc10.ber.fqtest asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc10.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc11.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc11.ber.fqtest asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc11.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc12.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc12.ber.fqtest asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc12.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc13.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc13.ber.fqtest decode,interp: Rename unknown gap fields from "unknown#" to "gap#" 2022-12-01 20:43:30 +01:00
tc13.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc14.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc14.ber.fqtest decode,interp: Rename unknown gap fields from "unknown#" to "gap#" 2022-12-01 20:43:30 +01:00
tc14.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc15.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc15.ber.fqtest decode,interp: Rename unknown gap fields from "unknown#" to "gap#" 2022-12-01 20:43:30 +01:00
tc15.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc16.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc16.ber.fqtest decode,interp: Rename unknown gap fields from "unknown#" to "gap#" 2022-12-01 20:43:30 +01:00
tc16.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc17.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc17.ber.fqtest decode,interp: Rename unknown gap fields from "unknown#" to "gap#" 2022-12-01 20:43:30 +01:00
tc17.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc18.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc18.ber.fqtest asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc18.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc19.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc19.ber.fqtest asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc19.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc20.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc20.ber.fqtest asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc20.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc21.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc21.ber.fqtest asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc21.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc22.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc22.ber.fqtest asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc22.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc23.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc23.ber.fqtest decode,interp: Rename unknown gap fields from "unknown#" to "gap#" 2022-12-01 20:43:30 +01:00
tc23.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc24.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc24.ber.fqtest asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc24.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc25.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc25.ber.fqtest decode,interp: Rename unknown gap fields from "unknown#" to "gap#" 2022-12-01 20:43:30 +01:00
tc25.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc26.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc26.ber.fqtest decode,interp: Rename unknown gap fields from "unknown#" to "gap#" 2022-12-01 20:43:30 +01:00
tc26.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc27.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc27.ber.fqtest asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc27.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc28.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc28.ber.fqtest asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc28.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc29.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc29.ber.fqtest asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc29.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc30.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc30.ber.fqtest decode,interp: Rename unknown gap fields from "unknown#" to "gap#" 2022-12-01 20:43:30 +01:00
tc30.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc31.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc31.ber.fqtest decode,interp: Rename unknown gap fields from "unknown#" to "gap#" 2022-12-01 20:43:30 +01:00
tc31.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc32.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc32.ber.fqtest asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc32.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc33.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc33.ber.fqtest decode,interp: Rename unknown gap fields from "unknown#" to "gap#" 2022-12-01 20:43:30 +01:00
tc33.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc34.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc34.ber.fqtest decode,interp: Rename unknown gap fields from "unknown#" to "gap#" 2022-12-01 20:43:30 +01:00
tc34.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc35.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc35.ber.fqtest interp,dump: Show address bar for root, nested roots and on format change 2022-08-09 18:09:41 +02:00
tc35.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc36.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc36.ber.fqtest interp,dump: Show address bar for root, nested roots and on format change 2022-08-09 18:09:41 +02:00
tc36.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc37.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc37.ber.fqtest interp,dump: Show address bar for root, nested roots and on format change 2022-08-09 18:09:41 +02:00
tc37.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc38.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc38.ber.fqtest interp,dump: Show address bar for root, nested roots and on format change 2022-08-09 18:09:41 +02:00
tc38.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc39.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc39.ber.fqtest decode: Keep decode tree on RangeFn error 2022-05-03 10:57:43 +02:00
tc39.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc40.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc40.ber.fqtest asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc40.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc41.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc41.ber.fqtest interp,dump: Show address bar for root, nested roots and on format change 2022-08-09 18:09:41 +02:00
tc41.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc42.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc42.ber.fqtest decode,interp: Rename unknown gap fields from "unknown#" to "gap#" 2022-12-01 20:43:30 +01:00
tc42.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc43.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc43.ber.fqtest asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc43.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc44.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc44.ber.fqtest asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc44.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc45.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc45.ber.fqtest decode: Keep decode tree on RangeFn error 2022-05-03 10:57:43 +02:00
tc45.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc46.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc46.ber.fqtest decode,interp: Rename unknown gap fields from "unknown#" to "gap#" 2022-12-01 20:43:30 +01:00
tc46.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc47.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc47.ber.fqtest decode,interp: Rename unknown gap fields from "unknown#" to "gap#" 2022-12-01 20:43:30 +01:00
tc47.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
tc48.ber asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
tc48.ber.fqtest decode,interp: Rename unknown gap fields from "unknown#" to "gap#" 2022-12-01 20:43:30 +01:00
tc48.xml asn1_ber,goreleaser: Convert CRLF to LF in asn1 xml tests, hopefully fixes goreleaer workspace dirty error 2022-07-24 12:38:24 +02:00
test.pem asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
test.pem.fqtest interp: Rename to/from<format> functions to to_/from_<format> 2022-12-21 17:48:39 +01:00

tc* files from http://www.strozhevsky.com/free_docs/TEST_SUITE.zip Files were created using: for i in tc*.ber; do echo "$ fq -d asn1_ber v $i" > $i.fqtest ; done rename 's/transformed_//' transformed_tc*

laymans_guide_examples.json extracted from https://luca.ntop.org/Teaching/Appunti/asn1.html

From https://lapo.it/asn1js/ released under ISC license: sig-p256-der.p7m sig-p256-ber.p7m sig-rsa1024-sha1.p7s letsencrypt-x3.cer ed25519.cer