Am 29.07.2014 14:03, schrieb Marc Logemann:
> here we go with more info. Everything i can get from client side.
> I dont have control over the remote server:
>
> INFO: Connecting to xxxx.deutschepost.de <http://xxxx.deutschepost.de> port 22
why is the servername secret. This shouzld be a public server.
Try the following program
import javax.crypto.Cipher;
import javax.crypto.spec.IvParameterSpec;
import javax.crypto.spec.SecretKeySpec;
public class CheckCrypto {
public static void main(String[] args){
String cryptoAlg = "AES";
try{
SecretKeySpec keyspec = new SecretKeySpec(new byte[32], cryptoAlg);
Cipher c = Cipher.getInstance(cryptoAlg + "/CBC/NoPadding");
c.init(Cipher.ENCRYPT_MODE, keyspec, new IvParameterSpec(new
byte[16]));
}
catch(Exception e){
System.err.println("************ The Java Virtual Machine can't
handle strong cryptography.\n************ This will lead to problems with some
services and subsystems!");
}
}
}
If you get the exception-message, you still need to install the
unlimimted strength cryptography policy files.
Cheers, Lothar
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users