System.Security.Cryptography.Xml.KeyInfoRetrievalMethod Class

References System.Security.Cryptography.Xml.KeyInfo objects stored at a different location when using XMLDSIG or XML encryption.

See Also: KeyInfoRetrievalMethod Members


public class KeyInfoRetrievalMethod : KeyInfoClause


The System.Security.Cryptography.Xml.KeyInfoRetrievalMethod class represents the <RetrievalMethod> element for both XML encryption and XML digital signatures.

Use the System.Security.Cryptography.Xml.KeyInfoRetrievalMethod class to reference the same System.Security.Cryptography.Xml.KeyInfo information in multiple XMLDSIG signatures or encrypted XML documents, especially when the referenced information is large. For example, a <RetrievalMethod> subelement can be used to reference a System.Security.Cryptography.Xml.KeyInfoX509Data object that contains an X.509v3 certificate chain, which validates the signing key.

For more information about the <RetrievalMethod> element, see Section 4.4.3 of the XMLDSIG specification, which is available from the World Wide Web Consortium (W3C) at, or see the XML Encryption specification, which is available from the W3C at


Namespace: System.Security.Cryptography.Xml
Assembly: System.Security (in System.Security.dll)
Assembly Versions: 1.0.5000.0,,