EldoS | Feel safer!

Software components for data protection, secure storage and transfer

How to modify “EncryptedData” element properties such as Id and/or node prefix?

First, you need to fill all properties needed for encryption, then call Encrypt() method. This method will perform encryption and build “EncryptedData” structure.

Next, to change EncryptedData element Id set ID property as shown (C# notation):
ElXMLEncryptor.EncryptedData.ID = "id123";

To change the prefix of the nodes add:
ElXMLEncryptor.EncryptedData.EncryptionPrefix = "xenc"; // the default value is: "#default xenc"

Return to the list


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!