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)
70KeyInfo = 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)
73KeyInfo.LoadXml((keyInfoNode as XmlElement)!); 170if (KeyInfo.Count > 0) 171encryptedKeyElement.AppendChild(KeyInfo.GetXml(document));
System\Security\Cryptography\Xml\EncryptedXml.cs (8)
307if (encryptedData.KeyInfo == null) 309IEnumerator keyInfoEnum = encryptedData.KeyInfo.GetEnumerator(); 393if (encryptedKey.KeyInfo == null) 396IEnumerator keyInfoEnum = encryptedKey.KeyInfo.GetEnumerator(); 545ek.KeyInfo.AddClause(new KeyInfoX509Data(certificate)); 554ed.KeyInfo.AddClause(kek); 624ek.KeyInfo.AddClause(new KeyInfoName(keyName)); 633ed.KeyInfo.AddClause(kek);