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

version» Context lines:

pike.git/lib/modules/Standards.pmod/testsuite.in:260:    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) ])   ]],[[ ([    "version" : 3,    "serial" : "5",    "algorithm": Standards.ASN1.Types.Identifier(1,2,840,113549,1,1,11),    "issuer" : "Test",    "subject" : "Test",    "extensions" : ([    Standards.ASN1.Types.Identifier(2,5,29,14): "\4\24\214\366\177.l>\273\345\317\361z\262""4\366.\264\346B|K", -  Standards.ASN1.Types.Identifier(2,5,29,15): "\3\2\1\206", -  Standards.ASN1.Types.Identifier(2,5,29,19): "0\3\1\1\377" +  Standards.ASN1.Types.Identifier(2,5,29,15): "\3\2\5\240", +  Standards.ASN1.Types.Identifier(2,5,29,19): "0\3\1\1\0"    ]),    "public_key": 1,   ]) ]])      test_any([[    Crypto.DSA dsa = Crypto.DSA();    dsa->generate_key(1024,160);       foreach( ({ 0, Crypto.SHA1,   #if constant(Crypto.SHA224)