- Timestamp:
- May 6, 2018 1:25:40 PM (3 years ago)
- Branches:
- master
- Children:
- 195a2d04
- Parents:
- df7c1c6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
apps/i2ptunnel/jsp/ssl.jsp
rdf7c1c6 r288a6b0 200 200 } 201 201 try { 202 boolean haveEC = net.i2p.crypto.SigType.ECDSA_SHA256_P256.isAvailable(); 203 String alg = haveEC ? "EC" : "RSA"; 204 int sz = haveEC ? 256 : 2048; 202 205 Object[] rv = net.i2p.crypto.KeyStoreUtil.createKeysAndCRL(ks, kspw, "eepsite", name, altNames, b32, 203 3652, "EC", 256, newpw);206 3652, alg, sz, newpw); 204 207 msgs.append("Created selfsigned cert\n"); 205 208 // save cert
Note: See TracChangeset
for help on using the changeset viewer.