Failed to deserialize sealed objects from Cipher input stream

This question is an exact duplicate of:

  • Java: StreamCorruptedException occur when Decrypt object with DES 1 answer

  • This doesn't make sense. You don't need both the Cipher streams and the SealedObject , and if you consider the actual order of execution of all of these with respect to the Cipher you will see that it isn't symmetrical as between writing and reading.

    Lose the SealedObject , or lose the Cipher streams.

    链接地址: http://www.djcxy.com/p/49166.html

    上一篇: 绝对通过鼠标事件

    下一篇: 无法从密码输入流中反序列化密封对象