diff options
author | David Hook <dgh@cryptoworkshop.com> | 2014-01-05 09:40:11 +0400 |
---|---|---|
committer | David Hook <dgh@cryptoworkshop.com> | 2014-01-05 09:40:11 +0400 |
commit | c613629f8314220a85adbc2c5de175a7e2bd9b81 (patch) | |
tree | 6b236c8dcc3669621f7991c41e25a791eb553c15 /core/src/main/java/org/bouncycastle/crypto/tls/TlsECCUtils.java | |
parent | 38f988fa0d25149b597f2b53e47300a6536b1470 (diff) |
moved SECCustomNamedCurves to CustomNamedCurves in crypto.ec
Diffstat (limited to 'core/src/main/java/org/bouncycastle/crypto/tls/TlsECCUtils.java')
-rw-r--r-- | core/src/main/java/org/bouncycastle/crypto/tls/TlsECCUtils.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/main/java/org/bouncycastle/crypto/tls/TlsECCUtils.java b/core/src/main/java/org/bouncycastle/crypto/tls/TlsECCUtils.java index e2a99d87..5adf06cf 100644 --- a/core/src/main/java/org/bouncycastle/crypto/tls/TlsECCUtils.java +++ b/core/src/main/java/org/bouncycastle/crypto/tls/TlsECCUtils.java @@ -8,11 +8,11 @@ import java.math.BigInteger; import java.security.SecureRandom; import java.util.Hashtable; -import org.bouncycastle.asn1.sec.SECCustomNamedCurves; import org.bouncycastle.asn1.x9.ECNamedCurveTable; import org.bouncycastle.asn1.x9.X9ECParameters; import org.bouncycastle.crypto.AsymmetricCipherKeyPair; import org.bouncycastle.crypto.agreement.ECDHBasicAgreement; +import org.bouncycastle.crypto.ec.CustomNamedCurves; import org.bouncycastle.crypto.generators.ECKeyPairGenerator; import org.bouncycastle.crypto.params.ECDomainParameters; import org.bouncycastle.crypto.params.ECKeyGenerationParameters; @@ -153,7 +153,7 @@ public class TlsECCUtils // Parameters are lazily created the first time a particular curve is accessed - X9ECParameters ecP = SECCustomNamedCurves.getByName(curveName); + X9ECParameters ecP = CustomNamedCurves.getByName(curveName); if (ecP == null) { ecP = ECNamedCurveTable.getByName(curveName); |