Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hook <dgh@cryptoworkshop.com>2014-01-04 07:26:22 +0400
committerDavid Hook <dgh@cryptoworkshop.com>2014-01-04 07:26:22 +0400
commit817be8c7009fbb6abd1ff007e015de9d3c2b7dab (patch)
tree896f8a5ad54a07d29f4a9df0053b538d5f79267e /core/src/main/java/org/bouncycastle/crypto/tls/TlsECCUtils.java
parent0df54f4bb6a137e1ed13d3e206e2d8b109e91d87 (diff)
Added constructor taking signed byte array.
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.java4
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 3d02c03e..e2a99d87 100644
--- a/core/src/main/java/org/bouncycastle/crypto/tls/TlsECCUtils.java
+++ b/core/src/main/java/org/bouncycastle/crypto/tls/TlsECCUtils.java
@@ -8,6 +8,7 @@ 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;
@@ -20,7 +21,6 @@ import org.bouncycastle.crypto.params.ECPublicKeyParameters;
import org.bouncycastle.math.ec.ECCurve;
import org.bouncycastle.math.ec.ECFieldElement;
import org.bouncycastle.math.ec.ECPoint;
-import org.bouncycastle.math.ec.custom.CustomNamedCurves;
import org.bouncycastle.util.Arrays;
import org.bouncycastle.util.BigIntegers;
import org.bouncycastle.util.Integers;
@@ -153,7 +153,7 @@ public class TlsECCUtils
// Parameters are lazily created the first time a particular curve is accessed
- X9ECParameters ecP = CustomNamedCurves.getByName(curveName);
+ X9ECParameters ecP = SECCustomNamedCurves.getByName(curveName);
if (ecP == null)
{
ecP = ECNamedCurveTable.getByName(curveName);