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

System.Security.Cryptography.Xml.KeyReference

public sealed class KeyReference : EncryptedReference
Represents the <KeyReference> element used in XML encryption. This class cannot be inherited.
public KeyReference()

Initializes a new instance of the KeyReference class for XML encryption.

public KeyReference(string uri)

Initializes a new instance of the KeyReference class for XML encryption using the supplied Uniform Resource Identifier (URI).

public KeyReference(string uri, TransformChain transformChain)

Initializes a new instance of the KeyReference class for XML encryption using the specified Uniform Resource Identifier (URI) and a TransformChain object.