std.crypto.asn1: add lapo.it url for all_types.der

This commit is contained in:
clickingbuttons 2024-05-16 13:13:42 -04:00
parent 3cc17b93a9
commit a51bc1d1d1

View File

@ -61,6 +61,7 @@ test AllTypes {
.g = .{ .inner = .{ .a = 4, .b = 5 }, .sum = 9 },
.h = .{ .tag = Tag.init(.string_ia5, false, .universal), .bytes = "asdf" },
};
// https://lapo.it/asn1js/#MC-gAwIBAqEFAwMABKCCAyoDBAwEYXNkZgQEZmRzYQICAQGjBgIBBAIBBRYEYXNkZg
const path = "./der/testdata/all_types.der";
const encoded = @embedFile(path);
const actual = try asn1.der.decode(AllTypes, encoded);