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

version» Context lines:

pike.git/lib/modules/Tools.pmod/X509.pmod:202:    }))->get_der();   }      //!   __deprecated__ string make_selfsigned_dsa_certificate(Crypto.DSA dsa, int ttl, array name,    array|void extensions)   {    int serial =    (int)Gmp.bignum(Standards.UUID.make_version1(-1)->encode(), 256);    -  Sequence dn = Certificate.build_distinguished_name(@name); +  Sequence dn = Certificate.build_distinguished_name(name);       return dsa_sign_key(dn, dsa, dn, DSA.public_key(dsa),    serial, ttl, extensions);   }      //!   __deprecated__ string rsa_sign_digest(Crypto.RSA rsa, object digest_id, string digest)   {    Sequence digest_info = Sequence( ({ Sequence( ({ digest_id, Null() }) ),    OctetString(digest) }) );
pike.git/lib/modules/Tools.pmod/X509.pmod:274:    }))->get_der();   }      //!   __deprecated__ string make_selfsigned_rsa_certificate(Crypto.RSA rsa, int ttl, array name,    array|void extensions)   {    int serial =    (int)Gmp.bignum(Standards.UUID.make_version1(-1)->encode(), 256);    -  Sequence dn = Certificate.build_distinguished_name(@name); +  Sequence dn = Certificate.build_distinguished_name(name);       return rsa_sign_key(dn, rsa, dn, RSA.public_key(rsa),    serial, ttl, extensions);   }      class Verifier {    constant type = "none";    int(0..1) verify(object,string,string);    this_program init(string key);    __deprecated__ void create() { }