SignedInfo Class
![]() |
---|
The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience. |
Contains information about the canonicalization algorithm and signature algorithm used for the XML signature.
Assembly: System.Security (in System.Security.dll)
Name | Description | |
---|---|---|
![]() | SignedInfo() | Initializes a new instance of the SignedInfo class. |
Name | Description | |
---|---|---|
![]() | CanonicalizationMethod | Gets or sets the canonicalization algorithm that is used before signing for the current SignedInfo object. |
![]() | CanonicalizationMethodObject | Gets a Transform object used for canonicalization. |
![]() | Count | Gets the number of references in the current SignedInfo object. |
![]() | Id | Gets or sets the ID of the current SignedInfo object. |
![]() | IsReadOnly | Gets a value that indicates whether the collection is read-only. |
![]() | IsSynchronized | Gets a value that indicates whether the collection is synchronized. |
![]() | References | Gets a list of the Reference objects of the current SignedInfo object. |
![]() | SignatureLength | Gets or sets the length of the signature for the current SignedInfo object. |
![]() | SignatureMethod | Gets or sets the name of the algorithm used for signature generation and validation for the current SignedInfo object. |
![]() | SyncRoot | Gets an object to use for synchronization. |
Name | Description | |
---|---|---|
![]() | AddReference(Reference) | Adds a Reference object to the list of references to digest and sign. |
![]() | CopyTo(Array, Int32) | Copies the elements of this instance into an Array object, starting at a specified index in the array. |
![]() | Equals(Object) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetEnumerator() | Returns an enumerator that iterates through the collection of references. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | GetXml() | Returns the XML representation of the SignedInfo object. |
![]() | LoadXml(XmlElement) | Loads a SignedInfo state from an XML element. |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | AsParallel() | Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.) |
![]() | AsQueryable() | Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.) |
![]() | Cast<TResult>() | Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.) |
![]() | OfType<TResult>() | Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.) |
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/.
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.