nc work

nc work

  • NA
  • 23
  • 2k

C# Where and how to store public key in encrypted XML

Sep 20 2018 9:36 AM
 I want to store public key in that XML, I thought to store it as KeyInfo, is there a better way?
 
<EncryptedData Type="http://www.w3.org/2001/04/xmlenc#Element" xmlns="http://www.w3.org/2001/04/xmlenc#">
<CipherData>
<CipherValue>VEU2eVRSOTZXdzVneWxiULzMIQAFmAp3zgVFFF7oxpZYHDkGxh+pSXtkVUcc8JJGyCQ73j9h</CipherValue>
</CipherData>
</EncryptedData>
 
 
Thanks  

Answers (1)