public EncryptedXml(XmlDocument document, Evidence evidence) { m_document = document; m_evidence = evidence; m_xmlResolver = null; // set the default padding to ISO-10126 m_padding = PaddingMode.ISO10126; // set the default cipher mode to CBC m_mode = CipherMode.CBC; // By default the encoding is going to be UTF8 m_encoding = Encoding.UTF8; m_keyNameMapping = new Hashtable(m_capacity); m_xmlDsigSearchDepth = Utils.GetXmlDsigSearchDepth(); }