Commit Graph

33 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
9ad10fba55 update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21597 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-16 18:48:58 +00:00
Love Hörnquist Åstrand
3654c1d2b2 Passe object id is its part of the module defintion statement.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21594 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-16 18:36:58 +00:00
Love Hörnquist Åstrand
dd1f6ac549 (OctetStringType): add SIZE to OCTET STRING.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21454 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 12:50:25 +00:00
Love Hörnquist Åstrand
fa8cbd4607 Parse size limitations to SEQ OF.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21393 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-02 10:13:50 +00:00
Love Hörnquist Åstrand
983b89b811 Add VisibleString parsing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19539 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 17:15:05 +00:00
Love Hörnquist Åstrand
5e97c59ab7 Add missing ;'s, found by bison on a SuSE 8.2 machine.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17330 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-28 10:51:35 +00:00
Love Hörnquist Åstrand
a3b5faf72e Drop ExceptionSpec for now, its not used.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16404 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-14 09:44:36 +00:00
Love Hörnquist Åstrand
fb7c1e5ca2 Add support for parsing part of the Constraint-s
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16355 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-06 19:57:59 +00:00
Love Hörnquist Åstrand
8e43bfece2 Const poision yyerror.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15960 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-23 10:52:31 +00:00
Love Hörnquist Åstrand
b838707d0e Commit much improved ASN.1 compiler from joda-choice-branch.
Highlighs for the compiler is support for CHOICE and in general better
support for tags. This compiler support most of what is needed for
PK-INIT, LDAP, X.509, PKCS-12 and many other protocols.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15617 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-12 06:27:42 +00:00
Love Hörnquist Åstrand
111de1cb5e (readd) support negative numbers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14305 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-13 17:41:48 +00:00
Love Hörnquist Åstrand
322b4a8a3e added dummy parsing of CHOICE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13434 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 12:42:55 +00:00
Love Hörnquist Åstrand
2b0cf9b3eb add BOOLEAN
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12962 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-03 23:49:41 +00:00
Love Hörnquist Åstrand
bd85856ef6 -= add parser/generate glue for UTF8String and NULL
(DER primitive encode/decode functions missing)
- handle parsing of DEFAULT and, ...


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12311 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-20 18:42:10 +00:00
Assar Westerlund
cee81d995f remove libasn1.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10750 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-27 16:23:15 +00:00
Assar Westerlund
2bcae56ac3 add ENUMERATED and OBJECT IDENTIFIER
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10741 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-25 13:39:27 +00:00
Assar Westerlund
31cbd16e0e fix format error in error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9771 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-03-26 04:09:55 +00:00
Assar Westerlund
67f83f9b94 remove duplicate yylex
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8576 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-08 11:35:47 +00:00
Johan Danielsson
fb46c05aa0 add support for more standards like import statements, and
distinguished value integers


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8394 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-19 15:16:48 +00:00
Assar Westerlund
404fc0abf4 be more tolerant in ranges
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8153 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-09 09:20:49 +00:00
Assar Westerlund
5bc0d4e7d4 regonize INTEGER (0..UNIT_MAX).
(DOTDOT): add


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8137 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-06 17:26:41 +00:00
Johan Danielsson
c5b916ca6f remove advertising clause
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7464 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 17:05:13 +00:00
Assar Westerlund
78acc3e8de (yylex): correct prototype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7383 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-13 20:34:11 +00:00
Johan Danielsson
420b041447 Handle external declarations.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2480 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-20 00:11:19 +00:00
Johan Danielsson
5a32a5c8e7 Add copyright notice.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2389 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-16 21:40:05 +00:00
Assar Westerlund
c1439d2cd8 changed asn1_locl.h to gen_locl.h and der_locl.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2328 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-15 20:02:05 +00:00
Assar Westerlund
dd5d033bbd don't worry about strdup, it's defined by roken
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2274 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-14 11:39:17 +00:00
Johan Danielsson
372881f5ef Now all decode_* and encode_* functions now take a final size_t*
argument, that they return the size in. Return values are zero for
success, and anything else (such as some ASN1_* constant) for error.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1951 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-01 23:52:30 +00:00
Assar Westerlund
7b10172a7c more includes and prototypes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1259 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-03-08 03:20:47 +00:00
Assar Westerlund
d8baa6f1fb ifdef HAVE_STRDUP
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1229 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-02-11 02:55:37 +00:00
Assar Westerlund
7335772620 stupid and quick fixes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@867 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-20 17:47:14 +00:00
Johan Danielsson
dbdb412ba0 Ugh
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@864 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-20 16:47:54 +00:00
Assar Westerlund
b55aed018f Now uses generated ASN1-code.
kinit should be able to get a initial message from FOO.SE.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@844 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-13 21:13:38 +00:00