편집

다음을 통해 공유


System.Security.Cryptography.Xml Namespace

Contains classes to support the creation and validation of XML digital signatures. The classes in this namespace implement the World Wide Web Consortium Recommendation, XML-Signature Syntax and Processing.

Classes

CipherData

Represents the <CipherData> element in XML encryption. This class cannot be inherited.

CipherReference

Represents the <CipherReference> element in XML encryption. This class cannot be inherited.

CryptoSignedXmlRecursionException

The exception that's thrown when the signed XML recursion limit is reached. Catch this exception when computing the hash, in addition to the other exceptions that ComputeHash can throw.

DataObject

Represents the object element of an XML signature that holds data to be signed.

DataReference

Represents the <DataReference> element used in XML encryption. This class cannot be inherited.

DSAKeyValue

Represents the DSA private key of the <KeyInfo> element.

EncryptedData

Represents the <EncryptedData> element in XML encryption. This class cannot be inherited.

EncryptedKey

Represents the <EncryptedKey> element in XML encryption. This class cannot be inherited.

EncryptedReference

Represents the abstract base class used in XML encryption from which the CipherReference, KeyReference, and DataReference classes derive.

EncryptedType

Represents the abstract base class from which the classes EncryptedData and EncryptedKey derive.

EncryptedXml

Represents the process model for implementing XML encryption.

EncryptionMethod

Encapsulates the encryption algorithm used for XML encryption.

EncryptionProperty

Represents the <EncryptionProperty> element used in XML encryption. This class cannot be inherited.

EncryptionPropertyCollection

Represents a collection of EncryptionProperty classes used in XML encryption. This class cannot be inherited.

KeyInfo

Represents an XML digital signature or XML encryption <KeyInfo> element.

KeyInfoClause

Represents the abstract base class from which all implementations of KeyInfo subelements inherit.

KeyInfoEncryptedKey

Wraps the EncryptedKey class, it to be placed as a subelement of the KeyInfo class.

KeyInfoName

Represents a <KeyName> subelement of an XMLDSIG or XML Encryption <KeyInfo> element.

KeyInfoNode

Handles KeyInfo subelements that do not have specific implementations or handlers registered on the machine.

KeyInfoRetrievalMethod

References KeyInfo objects stored at a different location when using XMLDSIG or XML encryption.

KeyInfoX509Data

Represents an <X509Data> subelement of an XMLDSIG or XML Encryption <KeyInfo> element.

KeyReference

Represents the <KeyReference> element used in XML encryption. This class cannot be inherited.

Reference

Represents the <reference> element of an XML signature.

ReferenceList

Represents the <ReferenceList> element used in XML encryption. This class cannot be inherited.

RSAKeyValue

Represents the <RSAKeyValue> element of an XML signature.

Signature

Represents the <Signature> element of an XML signature.

SignedInfo

Contains information about the canonicalization algorithm and signature algorithm used for the XML signature.

SignedXml

Provides a wrapper on a core XML signature object to facilitate creating XML signatures.

Transform

Represents the abstract base class from which all <Transform> elements that can be used in an XML digital signature derive.

TransformChain

Defines an ordered list of Transform objects that is applied to unsigned content prior to digest calculation.

XmlDecryptionTransform

Specifies the order of XML Digital Signature and XML Encryption operations when both are performed on the same document.

XmlDsigBase64Transform

Represents the Base64 decoding transform as defined in Section 6.6.2 of the XMLDSIG specification.

XmlDsigC14NTransform

Represents the C14N XML canonicalization transform for a digital signature as defined by the World Wide Web Consortium (W3C), without comments.

XmlDsigC14NWithCommentsTransform

Represents the C14N XML canonicalization transform for a digital signature as defined by the World Wide Web Consortium (W3C), with comments.

XmlDsigEnvelopedSignatureTransform

Represents the enveloped signature transform for an XML digital signature as defined by the W3C.

XmlDsigExcC14NTransform

Represents the exclusive C14N XML canonicalization transform for a digital signature as defined by the World Wide Web Consortium (W3C), without comments.

XmlDsigExcC14NWithCommentsTransform

Represents the exclusive C14N XML canonicalization transform for a digital signature as defined by the World Wide Web Consortium (W3C), with comments.

XmlDsigXPathTransform

Represents the XPath transform for a digital signature as defined by the W3C.

XmlDsigXsltTransform

Represents the XSLT transform for a digital signature as defined by the W3C.

XmlLicenseTransform

Represents the license transform algorithm used to normalize XrML licenses for signatures.

Structs

X509IssuerSerial

Represents the <X509IssuerSerial> element of an XML digital signature.

Interfaces

IRelDecryptor

Defines methods that decrypt an XrML <encryptedGrant> element.