* Transports: Use SigUtil.rectify() in DH

This commit is contained in:
zzz
2014-02-24 13:51:20 +00:00
parent 895d54d36d
commit c48266fdc4
2 changed files with 13 additions and 11 deletions

View File

@ -43,9 +43,9 @@ import net.i2p.util.NativeBigInteger;
/**
* Utilities for Signing keys and Signatures
*
* @since 0.9.9
* @since 0.9.9, public since 0.9.12
*/
class SigUtil {
public class SigUtil {
private static final Map<SigningPublicKey, ECPublicKey> _pubkeyCache = new LHMCache<SigningPublicKey, ECPublicKey>(64);
private static final Map<SigningPrivateKey, ECPrivateKey> _privkeyCache = new LHMCache<SigningPrivateKey, ECPrivateKey>(16);