Failed to deserialize sealed objects from Cipher input stream
This question is an exact duplicate of:
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.
上一篇: 绝对通过鼠标事件
下一篇: 无法从密码输入流中反序列化密封对象