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