File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
app/src/main/java/app/trigger/ssh Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -69,10 +69,6 @@ public static KeyPairBean deserializeKeyPair_3_2_3(String str) {
69
69
}
70
70
71
71
try {
72
- //JSch jsch = new JSch();
73
- //KeyPair keypair = KeyPair.load(jsch, str.getBytes(), null);
74
- //keypair.setPublicKeyComment(null);
75
- //return keypair;
76
72
return parsePrivateKeyPEM (str );
77
73
} catch (Exception e ) {
78
74
Log .e (TAG , "deserialize error: " + e .toString ());
@@ -96,11 +92,6 @@ public static KeyPairBean deserializeKeyPair_1_9_1(String str) {
96
92
KeyPairData obj = (KeyPairData ) ios .readObject ();
97
93
98
94
return parsePrivateKeyPEM (new String (obj .prvkey ));
99
-
100
- // KeyParData to KeyPair
101
- //JSch jsch = new JSch();
102
- //KeyPair keypair = KeyPair.load(jsch, obj.prvkey, obj.pubkey);
103
- //return keypair;
104
95
} catch (Exception e ) {
105
96
Log .e (TAG , "deserialize error: " + e .toString ());
106
97
}
You can’t perform that action at this time.
0 commit comments