Skip to content

Commit 74c837a

Browse files
committed
Removed unregistered duplicate SPIs from the EC package: KeyAgreementSpi$DHwithSHA1KDF (a copy of DHwithSHA1KDFAndSharedInfo) and KeyFactorySpi$ECGOST3410/$ECGOST3410_2012 (ECGOST registers its own KeyFactorySpi).
1 parent 0b4a878 commit 74c837a

3 files changed

Lines changed: 0 additions & 36 deletions

File tree

‎prov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/KeyAgreementSpi.java‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -343,15 +343,6 @@ public DHUC()
343343
}
344344
}
345345

346-
public static class DHwithSHA1KDF
347-
extends KeyAgreementSpi
348-
{
349-
public DHwithSHA1KDF()
350-
{
351-
super("ECDHwithSHA1KDF", new ECDHRawAgreement(), new KDF2BytesGenerator(DigestFactory.createSHA1()));
352-
}
353-
}
354-
355346
public static class DHwithSHA1KDFAndSharedInfo
356347
extends KeyAgreementSpi
357348
{

‎prov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/KeyFactorySpi.java‎

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -321,24 +321,6 @@ public ECDSA()
321321
}
322322
}
323323

324-
public static class ECGOST3410
325-
extends KeyFactorySpi
326-
{
327-
public ECGOST3410()
328-
{
329-
super("ECGOST3410", BouncyCastleProvider.CONFIGURATION);
330-
}
331-
}
332-
333-
public static class ECGOST3410_2012
334-
extends KeyFactorySpi
335-
{
336-
public ECGOST3410_2012()
337-
{
338-
super("ECGOST3410-2012", BouncyCastleProvider.CONFIGURATION);
339-
}
340-
}
341-
342324
public static class ECDH
343325
extends KeyFactorySpi
344326
{

‎prov/src/main/jdk1.4/org/bouncycastle/jcajce/provider/asymmetric/ec/KeyFactorySpi.java‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -169,15 +169,6 @@ public ECDSA()
169169
}
170170
}
171171

172-
public static class ECGOST3410
173-
extends KeyFactorySpi
174-
{
175-
public ECGOST3410()
176-
{
177-
super("ECGOST3410", BouncyCastleProvider.CONFIGURATION);
178-
}
179-
}
180-
181172
public static class ECDH
182173
extends KeyFactorySpi
183174
{

0 commit comments

Comments
 (0)