mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-08 00:00:54 +03:00
Update KeyType.java
remove my common lib
This commit is contained in:
@@ -15,7 +15,6 @@
|
||||
*/
|
||||
package net.schmizz.sshj.common;
|
||||
|
||||
import bidstreet.core.thunder.common.StringHelper;
|
||||
import org.bouncycastle.asn1.nist.NISTNamedCurves;
|
||||
import org.bouncycastle.asn1.x9.X9ECParameters;
|
||||
import org.bouncycastle.jce.spec.ECParameterSpec;
|
||||
@@ -120,8 +119,8 @@ public enum KeyType {
|
||||
curveName,
|
||||
keyLen,
|
||||
x04,
|
||||
StringHelper.printBytes(x),
|
||||
StringHelper.printBytes(y))
|
||||
x,
|
||||
y)
|
||||
);
|
||||
|
||||
if (!NISTP_CURVE.equals(curveName)) {
|
||||
@@ -239,4 +238,4 @@ public enum KeyType {
|
||||
return sType;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user