pike.git / lib / modules / Tools.pmod / X509.pmod

version» Context lines:

pike.git/lib/modules/Tools.pmod/X509.pmod:1:   #pike __REAL_VERSION__   //#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.    *    */      #if constant(Standards.ASN1.Types.Sequence)      import Standards.ASN1.Types;   import Standards.PKCS;   
pike.git/lib/modules/Tools.pmod/X509.pmod:316:    return 0;    }   }      //!   class TBSCertificate   {    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)    {    der = asn1->get_der();    if (asn1->type_name != "SEQUENCE")    return 0;       array(Object) a = ([object(Sequence)]asn1)->elements;    X509_WERR("TBSCertificate: sizeof(a) = %d\n", sizeof(a));