pike.git / lib / modules / Standards.pmod / testsuite.in

version» Context lines:

pike.git/lib/modules/Standards.pmod/testsuite.in:263:    object t = Standards.X509.decode_certificate(c);    mapping ext = t->extensions;    foreach(ext; string id; object value) ext[id]=value->get_der();    return ([    "version" : t->version,    "serial":t->serial->digits(16),    "algorithm":t->algorithm[0],    "issuer":t->issuer[0][0][1]->value,    "subject":t->subject[0][0][1]->value,    "extensions":ext, -  "public_key":(int)t->public_key->rsa->public_key_equal(rsa), +  "public_key":(int)t->public_key->pkc->public_key_equal(rsa),    "ext_bc" : t->ext_basicConstraints,    "ext_bc_ca" : t->ext_basicConstraints_cA,    "ext_bc_len" : t->ext_basicComnstraints_pathLenConstraint,    "ext_subkey" : t->ext_subjectKeyIdentifier,    "ext_ku" : t->ext_keyUsage,    ])   ]],[[ ([    "version" : 3,    "serial" : "5",    "algorithm": Standards.ASN1.Types.Identifier(1,2,840,113549,1,1,11),