2 writes to KeyInfo
System.Security.Cryptography.Xml (2)
System\Security\Cryptography\Xml\EncryptedData.cs (1)
34KeyInfo = new KeyInfo();
System\Security\Cryptography\Xml\EncryptedKey.cs (1)
74KeyInfo = new KeyInfo();
15 references to KeyInfo
Microsoft.AspNetCore.DataProtection (1)
XmlEncryption\EncryptedXmlDecryptor.cs (1)
105var keyInfoEnum = encryptedKey.KeyInfo?.GetEnumerator();
System.Security.Cryptography.Xml (14)
System\Security\Cryptography\Xml\EncryptedData.cs (3)
37KeyInfo.LoadXml((keyInfoNode as XmlElement)!); 97if (KeyInfo.Count > 0) 98encryptedDataElement.AppendChild(KeyInfo.GetXml(document));
System\Security\Cryptography\Xml\EncryptedKey.cs (3)
77KeyInfo.LoadXml((keyInfoNode as XmlElement)!); 174if (KeyInfo.Count > 0) 175encryptedKeyElement.AppendChild(KeyInfo.GetXml(document));
System\Security\Cryptography\Xml\EncryptedXml.cs (8)
308if (encryptedData.KeyInfo == null) 310IEnumerator keyInfoEnum = encryptedData.KeyInfo.GetEnumerator(); 394if (encryptedKey.KeyInfo == null) 397IEnumerator keyInfoEnum = encryptedKey.KeyInfo.GetEnumerator(); 546ek.KeyInfo.AddClause(new KeyInfoX509Data(certificate)); 555ed.KeyInfo.AddClause(kek); 625ek.KeyInfo.AddClause(new KeyInfoName(keyName)); 634ed.KeyInfo.AddClause(kek);