示例#1
0
 /// <summary>Parses the input <see cref="T:System.Xml.XmlElement" /> object and configures the internal state of the <see cref="T:System.Security.Cryptography.Xml.KeyInfoEncryptedKey" /> object to match.</summary>
 /// <param name="value">The <see cref="T:System.Xml.XmlElement" /> object that specifies the state of the <see cref="T:System.Security.Cryptography.Xml.KeyInfoEncryptedKey" /> object.</param>
 public override void LoadXml(XmlElement value)
 {
     this.m_encryptedKey = new EncryptedKey();
     this.m_encryptedKey.LoadXml(value);
 }
示例#2
0
 /// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.Xml.KeyInfoEncryptedKey" /> class using an <see cref="T:System.Security.Cryptography.Xml.EncryptedKey" /> object.</summary>
 /// <param name="encryptedKey">An <see cref="T:System.Security.Cryptography.Xml.EncryptedKey" />  object that encapsulates an encrypted key.</param>
 public KeyInfoEncryptedKey(EncryptedKey encryptedKey)
 {
     this.m_encryptedKey = encryptedKey;
 }