Asymmetric encryption in XML
.NET (Core and Framework)
1
Posts
1
Posters
0
Views
1
Watching
-
I have an XML document that needs to pass through 4 users hands, each using the public key to encrypt and send it to the next person. The public keys and private keys are stored in the XML file, with each user's private key being protected by SYMMETRIC encryption to which they know the password. The .NET EncryptedXML class does not seem to handle this case, specifically the .encrypt and .decrypt methods of this class do not allow me to pass in an ASYMMETRIC key. Am I left to encrypt the necessary XML elements using the "regular" encryption classes, or is there a way that I'm not seeing? TIA, Randy