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)
77KeyInfo = 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)!); 100if (KeyInfo.Count > 0) 101encryptedDataElement.AppendChild(KeyInfo.GetXml(document));
System\Security\Cryptography\Xml\EncryptedKey.cs (3)
80KeyInfo.LoadXml((keyInfoNode as XmlElement)!); 177if (KeyInfo.Count > 0) 178encryptedKeyElement.AppendChild(KeyInfo.GetXml(document));
System\Security\Cryptography\Xml\EncryptedXml.cs (8)
317if (encryptedData.KeyInfo == null) 319IEnumerator keyInfoEnum = encryptedData.KeyInfo.GetEnumerator(); 406if (encryptedKey.KeyInfo == null) 409IEnumerator keyInfoEnum = encryptedKey.KeyInfo.GetEnumerator(); 570ek.KeyInfo.AddClause(new KeyInfoX509Data(certificate)); 579ed.KeyInfo.AddClause(kek); 655ek.KeyInfo.AddClause(new KeyInfoName(keyName)); 664ed.KeyInfo.AddClause(kek);