SignedInfo SignedInfo SignedInfo SignedInfo Class

Definition

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

public ref class SignedInfo : System::Collections::ICollection
public class SignedInfo : System.Collections.ICollection
type SignedInfo = class
    interface ICollection
    interface IEnumerable
Public Class SignedInfo
Implements ICollection
Inheritance
SignedInfoSignedInfoSignedInfoSignedInfo
Implements

Remarks

The SignedInfo class represents the <SignedInfo> element of an XML signature defined by the XML digital signature specification. The <SignedInfo> element, which is a subelement of the <Signature> element, contains the canonicalization method used for signing, the algorithm used for signing and validation, and references that describe a digital signature.

For most scenarios, you should use the SignedInfo class available from the SignedInfo property to sign and verify XML digital signatures.

For more information about the <SignedInfo> element, see the World Wide Web Consortium (W3C) specification at www.w3.org/TR/xmldsig-core/.

Constructors

SignedInfo() SignedInfo() SignedInfo() SignedInfo()

Initializes a new instance of the SignedInfo class.

Properties

CanonicalizationMethod CanonicalizationMethod CanonicalizationMethod CanonicalizationMethod

Gets or sets the canonicalization algorithm that is used before signing for the current SignedInfo object.

CanonicalizationMethodObject CanonicalizationMethodObject CanonicalizationMethodObject CanonicalizationMethodObject

Gets a Transform object used for canonicalization.

Count Count Count Count

Gets the number of references in the current SignedInfo object.

Id Id Id Id

Gets or sets the ID of the current SignedInfo object.

IsReadOnly IsReadOnly IsReadOnly IsReadOnly

Gets a value that indicates whether the collection is read-only.

IsSynchronized IsSynchronized IsSynchronized IsSynchronized

Gets a value that indicates whether the collection is synchronized.

References References References References

Gets a list of the Reference objects of the current SignedInfo object.

SignatureLength SignatureLength SignatureLength SignatureLength

Gets or sets the length of the signature for the current SignedInfo object.

SignatureMethod SignatureMethod SignatureMethod SignatureMethod

Gets or sets the name of the algorithm used for signature generation and validation for the current SignedInfo object.

SyncRoot SyncRoot SyncRoot SyncRoot

Gets an object to use for synchronization.

Methods

AddReference(Reference) AddReference(Reference) AddReference(Reference) AddReference(Reference)

Adds a Reference object to the list of references to digest and sign.

CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32)

Copies the elements of this instance into an Array object, starting at a specified index in the array.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

Returns an enumerator that iterates through the collection of references.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetXml() GetXml() GetXml() GetXml()

Returns the XML representation of the SignedInfo object.

LoadXml(XmlElement) LoadXml(XmlElement) LoadXml(XmlElement) LoadXml(XmlElement)

Loads a SignedInfo state from an XML element.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Extension Methods

Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to