2 writes to KeyInfo
System.Security.Cryptography.Xml (2)
System\Security\Cryptography\Xml\EncryptedData.cs (1)
37KeyInfo = new KeyInfo();
System\Security\Cryptography\Xml\EncryptedKey.cs (1)
73KeyInfo = 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)
40KeyInfo.LoadXml((keyInfoNode as XmlElement)!); 105if (KeyInfo.Count > 0) 106encryptedDataElement.AppendChild(KeyInfo.GetXml(document));
System\Security\Cryptography\Xml\EncryptedKey.cs (3)
76KeyInfo.LoadXml((keyInfoNode as XmlElement)!); 178if (KeyInfo.Count > 0) 179encryptedKeyElement.AppendChild(KeyInfo.GetXml(document));
System\Security\Cryptography\Xml\EncryptedXml.cs (8)
333if (encryptedData.KeyInfo == null) 335IEnumerator keyInfoEnum = encryptedData.KeyInfo.GetEnumerator(); 419if (encryptedKey.KeyInfo == null) 422IEnumerator keyInfoEnum = encryptedKey.KeyInfo.GetEnumerator(); 571ek.KeyInfo.AddClause(new KeyInfoX509Data(certificate)); 580ed.KeyInfo.AddClause(kek); 650ek.KeyInfo.AddClause(new KeyInfoName(keyName)); 659ed.KeyInfo.AddClause(kek);