-5
我得到這個錯誤,當我嘗試調用一個遠程接口:java.rmi.MarshalException:加密
java.rmi.MarshalException: error marshalling arguments; nested exception is: java.io.NotSerializableException: javax.crypto.Cipher
這些接口:
public interface Operacion extends Remote{
String operacionDesencripta(byte ciphertext[],Key key,Cipher cipher)
throws RemoteException;
}
和我打電話它是這樣的:
rmiServidor.operacionDesencripta(ciphertext,key,cipher);
Aft呃處理所有的數據
Thx我得到它我剛剛創建了兩種方式的網絡實例,只是發送字節數組和鍵:) –