pike.git/
lib/
modules/
Standards.pmod/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2013-12-02
2013-12-02 16:05:26 by Martin Nilsson <nilsson@opera.com>
3f6dd0e4106d6f496219048cc773c9ed24760898 (
8
lines) (+
4
/-
4
)
[
Show
|
Annotate
]
Branch:
8.0
Use Nettle dsa_generate_keypair to generate keys. This is slower, but safer.
236:
"algorithm": "Standards.ASN1.Types.Identifier(1.2.840.113549.1.1.5)", "der": 1, "issuer": "Class 1 Public Primary Certification Authority",
-
"extensions":
0
,
+
"extensions":
([])
,
"not_after": 1848866399, "not_before": 822870000, "serial": "3f691e819cf09a4af373ffb948a2e4dd",
263:
"algorithm": "Standards.ASN1.Types.Identifier(1.2.840.113549.1.1.11)", "issuer" : "Test", "subject" : "Test",
-
"extensions" :
0
,
+
"extensions" :
([])
,
"public_key": 1, ]) ]]) test_any([[ Crypto.DSA dsa = Crypto.DSA();
-
dsa->generate_
parameters
(1024);
-
dsa->generate_key();
+
dsa->generate_
key
(1024
,160
);
foreach( ({ 0, Crypto.SHA1, #if constant(Crypto.SHA224)