public void WriteEncryptedInfo(ENEncryptedContentInfo encryptedInfo)
            {
                Dictionary <string, string> cryptAttributes = new Dictionary <string, string>();

                cryptAttributes.Add("cipher", encryptedInfo.Cipher);
                cryptAttributes.Add("length", encryptedInfo.KeyLength.ToString());
                string hint = encryptedInfo.Hint;

                if (hint != null)
                {
                    cryptAttributes.Add("hint", encryptedInfo.Hint);
                }
                WriteElementWithAttributes(ENMLConstants.ENMLTagCrypt, cryptAttributes, encryptedInfo.CipherText);
            }
			public void WriteEncryptedInfo(ENEncryptedContentInfo encryptedInfo)
			{
				Dictionary<string, string> cryptAttributes = new Dictionary<string, string>();
				cryptAttributes.Add("cipher", encryptedInfo.Cipher);
				cryptAttributes.Add("length", encryptedInfo.KeyLength.ToString());
				string hint = encryptedInfo.Hint;
				if (hint != null)
				{
					cryptAttributes.Add("hint", encryptedInfo.Hint);
				}
				WriteElementWithAttributes(ENMLConstants.ENMLTagCrypt, cryptAttributes, encryptedInfo.CipherText);
			}