summaryrefslogtreecommitdiff
path: root/common/basic.asn.h
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2013-03-15 11:50:24 +0100
committerStef Walter <stefw@gnome.org>2013-03-15 18:18:47 +0100
commit7fd74a78fcad81227be3650239669bca5851a1db (patch)
tree64f60c20357a7fd34f9aee30ac12dcfa2ebb1109 /common/basic.asn.h
parent48004b92d4c65080ac71f6a48297abd4d83dfdcb (diff)
trust: Support a p11-kit specific serialization format
This is documented in doc/internals/ subdirectory Add tests for the format as well. https://bugs.freedesktop.org/show_bug.cgi?id=62156
Diffstat (limited to 'common/basic.asn.h')
-rw-r--r--common/basic.asn.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/common/basic.asn.h b/common/basic.asn.h
new file mode 100644
index 0000000..b63447b
--- /dev/null
+++ b/common/basic.asn.h
@@ -0,0 +1,13 @@
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#include <libtasn1.h>
+
+const ASN1_ARRAY_TYPE basic_asn1_tab[] = {
+ { "BASIC", 536872976, NULL },
+ { NULL, 1073741836, NULL },
+ { "Any", 1073741837, NULL },
+ { "ObjectIdentifier", 12, NULL },
+ { NULL, 0, NULL }
+};