Exporting RSA key object to XML in Java

前端 未结 3 1526
独厮守ぢ
独厮守ぢ 2020-12-30 11:09

I am successfully running RSA encryption/decryption in Java. This is how I generated the key.

        ObjectOutputStream oos = new ObjectOutputStream(new Fil         


        
3条回答
  •  孤独总比滥情好
    2020-12-30 11:49

    You can have some form of XMLObjectOutputStream such that it outputs to XML instead of a proprietary binary format as in here.

提交回复
热议问题