<PackageReference Include="System.Security.Cryptography.Xml" Version="10.0.11" />

System.Security.Cryptography.Xml.KeyInfoEncryptedKey

Wraps the EncryptedKey class, it to be placed as a subelement of the KeyInfo class.
public EncryptedKey EncryptedKey { get; set; }

Gets or sets an EncryptedKey object that encapsulates an encrypted key.

Initializes a new instance of the KeyInfoEncryptedKey class.

public KeyInfoEncryptedKey(EncryptedKey encryptedKey)

Initializes a new instance of the KeyInfoEncryptedKey class using an EncryptedKey object.