diff options
author | David Hook <dgh@cryptoworkshop.com> | 2014-03-25 07:48:04 +0400 |
---|---|---|
committer | David Hook <dgh@cryptoworkshop.com> | 2014-03-25 07:48:04 +0400 |
commit | e02e96a1db197c0ee6af8f96859c7e7a59e52609 (patch) | |
tree | 6c5d9d35bb358eded32b4ad3469784958164c39f /core/src/main/java | |
parent | 24399686e85c4a377fe302319dece9f83cd7478b (diff) |
fixed imports.
Diffstat (limited to 'core/src/main/java')
-rw-r--r-- | core/src/main/java/org/bouncycastle/crypto/signers/GOST3410Signer.java | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/core/src/main/java/org/bouncycastle/crypto/signers/GOST3410Signer.java b/core/src/main/java/org/bouncycastle/crypto/signers/GOST3410Signer.java index 9fcc41b9..135f1857 100644 --- a/core/src/main/java/org/bouncycastle/crypto/signers/GOST3410Signer.java +++ b/core/src/main/java/org/bouncycastle/crypto/signers/GOST3410Signer.java @@ -1,11 +1,15 @@ package org.bouncycastle.crypto.signers; +import java.math.BigInteger; +import java.security.SecureRandom; + import org.bouncycastle.crypto.CipherParameters; import org.bouncycastle.crypto.DSA; -import org.bouncycastle.crypto.params.*; - -import java.security.SecureRandom; -import java.math.BigInteger; +import org.bouncycastle.crypto.params.GOST3410KeyParameters; +import org.bouncycastle.crypto.params.GOST3410Parameters; +import org.bouncycastle.crypto.params.GOST3410PrivateKeyParameters; +import org.bouncycastle.crypto.params.GOST3410PublicKeyParameters; +import org.bouncycastle.crypto.params.ParametersWithRandom; /** * GOST R 34.10-94 Signature Algorithm @@ -25,7 +29,7 @@ public class GOST3410Signer { if (param instanceof ParametersWithRandom) { - ParametersWithRandom rParam = (ParametersWithRandom)param; + ParametersWithRandom rParam = (ParametersWithRandom)param; this.random = rParam.getRandom(); this.key = (GOST3410PrivateKeyParameters)rParam.getParameters(); @@ -99,7 +103,7 @@ public class GOST3410Signer } BigInteger m = new BigInteger(1, mRev); - GOST3410Parameters params = key.getParameters(); + GOST3410Parameters params = key.getParameters(); BigInteger zero = BigInteger.valueOf(0); if (zero.compareTo(r) >= 0 || params.getQ().compareTo(r) <= 0) |