Skip to content

Commit 6c77b40

Browse files
committed
Final the APIs
1 parent d139e5b commit 6c77b40

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/net/i2p/crypto/eddsa/EdDSAEngine.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* @author str4d
2020
*
2121
*/
22-
public class EdDSAEngine extends Signature {
22+
public final class EdDSAEngine extends Signature {
2323
private MessageDigest digest;
2424
private final ByteArrayOutputStream baos;
2525
private EdDSAKey key;

src/net/i2p/crypto/eddsa/KeyFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* @author str4d
1616
*
1717
*/
18-
public class KeyFactory extends KeyFactorySpi {
18+
public final class KeyFactory extends KeyFactorySpi {
1919

2020
protected PrivateKey engineGeneratePrivate(KeySpec keySpec)
2121
throws InvalidKeySpecException {

src/net/i2p/crypto/eddsa/KeyPairGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
/**
1919
* Default strength is 256
2020
*/
21-
public class KeyPairGenerator extends KeyPairGeneratorSpi {
21+
public final class KeyPairGenerator extends KeyPairGeneratorSpi {
2222
private static final int DEFAULT_STRENGTH = 256;
2323
private EdDSAParameterSpec edParams;
2424
private SecureRandom random;

0 commit comments

Comments
 (0)