Branch: Tag:

2004-01-30

2004-01-30 10:33:52 by Martin Nilsson <mani@lysator.liu.se>

Better types

Rev: lib/modules/SSL.pmod/context.pike:1.27
Rev: lib/modules/SSL.pmod/handshake.pike:1.44
Rev: lib/modules/Tools.pmod/X509.pmod:1.25

2:   //#pragma strict_types      /* -  * $Id: X509.pmod,v 1.24 2004/01/30 01:06:35 bill Exp $ +  * $Id: X509.pmod,v 1.25 2004/01/30 10:33:11 nilsson Exp $    *    * Some random functions for creating RFC-2459 style X.509 certificates.    *
323:    string der;       int version; -  object serial; -  object algorithm; /* Algorithm Identifier */ -  object issuer; +  Gmp.mpz serial; +  Sequence algorithm; /* Algorithm Identifier */ +  Sequence issuer;    mapping not_after;    mapping not_before;    -  object subject; +  Sequence subject;    Verifier public_key;       /* Optional */ -  object issuer_id; -  object subject_id; +  BitString issuer_id; +  BitString subject_id;    object extensions;       this_program init(Object asn1)