summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-02-07 14:59:19 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-02-07 14:59:19 +0000
commitab7cfdd39e10b1ebf1cf99aebb50d93fa95c4dde (patch)
tree58cdd079cf0bf3cd246f4c8c225cee5956d972f5
parent675acf0aee31d633fa5a41003d588a5f56dd0a55 (diff)
downloadgnutls-ab7cfdd39e10b1ebf1cf99aebb50d93fa95c4dde.tar.gz
Added asn1 file
-rw-r--r--lib/gnutls_asn1_tab.c (renamed from lib/pkcs1_asn1_tab.c)31
1 files changed, 19 insertions, 12 deletions
diff --git a/lib/pkcs1_asn1_tab.c b/lib/gnutls_asn1_tab.c
index 3e1d2b1208..5c701cbbf2 100644
--- a/lib/pkcs1_asn1_tab.c
+++ b/lib/gnutls_asn1_tab.c
@@ -1,17 +1,9 @@
#include "x509_asn1.h"
-const static_asn pkcs1_asn1_tab[]={
- {"PKCS-1",536872976,0},
- {0,1610612748,0},
- {"iso",1073741825,"1"},
- {"member-body",1073741825,"2"},
- {"us",1073741825,"840"},
- {"rsadsi",1073741825,"113549"},
- {"pkcs",1073741825,"1"},
- {"pkcs-1",1073741825,"1"},
- {"modules",1073741825,"0"},
- {"pkcs-1",1,"1"},
+const static_asn gnutls_asn1_tab[]={
+ {"GNUTLS",536872976,0},
+ {0,1073741836,0},
{"RSAPublicKey",1610612741,0},
{"modulus",1073741827,0},
{"publicExponent",3,0},
@@ -44,6 +36,21 @@ const static_asn pkcs1_asn1_tab[]={
{"digestAlgorithm",1073741826,"DigestAlgorithmIdentifier"},
{"digest",2,"Digest"},
{"DigestAlgorithmIdentifier",1073741826,"AlgorithmIdentifier"},
- {"Digest",7,0},
+ {"Digest",1073741831,0},
+ {"DSAPublicKey",1073741827,0},
+ {"DSAParameters",1610612741,0},
+ {"p",1073741827,0},
+ {"q",1073741827,0},
+ {"g",3,0},
+ {"DSASignatureValue",1610612741,0},
+ {"r",1073741827,0},
+ {"s",3,0},
+ {"DSAPrivateKey",536870917,0},
+ {"version",1073741827,0},
+ {"p",1073741827,0},
+ {"q",1073741827,0},
+ {"g",1073741827,0},
+ {"Y",1073741827,0},
+ {"priv",3,0},
{0,0,0}
};