Udostępnij za pośrednictwem


DSigSerializer Class

Definition

Reads and writes XML conforming to https://www.w3.org/TR/2001/PR-xmldsig-core-20010820

public class DSigSerializer
type DSigSerializer = class
Public Class DSigSerializer
Inheritance
DSigSerializer

Constructors

DSigSerializer()

Initializes an instance of DSigSerializer

Properties

Default

Returns the default DSigSerializer instance.

MaximumReferenceTransforms

Gets or sets the maximum number of Transforms that are allowed on a Reference

Prefix

Gets or sets the prefix to use when writing the Signature element.

TransformFactory

Gets or sets the TransformFactory to use when processing transforms in References

Methods

CreateKeyInfo(XmlReader)

Creates a new KeyInfo object.

ReadCanonicalizationMethod(XmlReader)

Reads XML conforming to https://www.w3.org/TR/2001/PR-xmldsig-core-20010820/#sec-CanonicalizationMethod

ReadKeyInfo(XmlReader)

Reads XML conforming to https://www.w3.org/TR/2001/PR-xmldsig-core-20010820/#sec-KeyInfo

ReadReference(XmlReader)

Reads XML conforming to https://www.w3.org/TR/2001/PR-xmldsig-core-20010820/#sec-Reference

ReadReferences(XmlReader)

Reads multiple XML elements conforming to https://www.w3.org/TR/2001/PR-xmldsig-core-20010820/#sec-Reference

ReadSignature(XmlReader)

Reads XML conforming to https://www.w3.org/TR/2001/PR-xmldsig-core-20010820/#sec-Signature

ReadSignatureMethod(XmlReader)

Reads XML conforming to https://www.w3.org/TR/2001/PR-xmldsig-core-20010820/#sec-SignatureMethod

ReadSignedInfo(XmlReader)

Reads XML conforming to https://www.w3.org/TR/2001/PR-xmldsig-core-20010820/#sec-SignedInfo

ReadTransforms(XmlReader, Reference)

Reads XML conforming to https://www.w3.org/TR/2001/PR-xmldsig-core-20010820/#sec-Transforms

TryReadKeyInfoType(XmlReader, KeyInfo)

Attempts to read the key info type which is the child of the <KeyInfo> element.

TryReadKeyName(XmlReader, String)

Attempts to read the KeyName element conforming to https://www.w3.org/TR/2001/PR-xmldsig-core-20010820/#sec-KeyName.

TryReadKeyValueType(XmlReader, KeyInfo)

Attempts to read the KeyValue element conforming to https://www.w3.org/TR/2001/PR-xmldsig-core-20010820/#sec-KeyValue.

Only supports RSAKeyValue, but can be extended to support more key value types.

TryReadRetrievalMethod(XmlReader, String)

Attempts to read the RetrievalMethod element conforming to https://www.w3.org/TR/2001/PR-xmldsig-core-20010820/#sec-RetrievalMethod.

TryReadRSAKeyValue(XmlReader, RSAKeyValue)

Attempts to read the RSAKeyValue element conforming to https://www.w3.org/TR/2001/PR-xmldsig-core-20010820/#sec-RSAKeyValue.

TryReadX509Data(XmlReader, X509Data)

Attempts to read the X509Data element conforming to https://www.w3.org/TR/2001/PR-xmldsig-core-20010820/#sec-X509Data.

WriteKeyInfo(XmlWriter, KeyInfo)

Writes the contents of a KeyInfo as XML conforming to https://www.w3.org/TR/2001/PR-xmldsig-core-20010820/#sec-KeyInfo.

WriteReference(XmlWriter, Reference)

Writes the contents of a Reference as XML conforming to https://www.w3.org/TR/2001/PR-xmldsig-core-20010820/#sec-Reference.

WriteSignature(XmlWriter, Signature)

Writes the contents of a Signature as XML conforming to https://www.w3.org/TR/2001/PR-xmldsig-core-20010820/#sec-Signature.

WriteSignedInfo(XmlWriter, SignedInfo)

Writes the contents of a SignedInfo as XML conforming to https://www.w3.org/TR/2001/PR-xmldsig-core-20010820/#sec-SignedInfo.

Applies to