SignedInfo Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
-
SignedInfo
- 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.
Constructors
SignedInfo() |
Initializes a new instance of the SignedInfo class. |
Properties
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. |
Methods
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) |
GetEnumerator() |
Returns an enumerator that iterates through the collection of references. |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
GetXml() |
Returns the XML representation of the SignedInfo object. |
LoadXml(XmlElement) |
Loads a SignedInfo state from an XML element. |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Extension Methods
Cast<TResult>(IEnumerable) |
Casts the elements of an IEnumerable to the specified type. |
OfType<TResult>(IEnumerable) |
Filters the elements of an IEnumerable based on a specified type. |
AsParallel(IEnumerable) |
Enables parallelization of a query. |
AsQueryable(IEnumerable) |
Converts an IEnumerable to an IQueryable. |
Applies to
.NET