Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​Security.​Cryptography.​Xml.​SignedInfo
Assembly: System.Security.Cryptography.Xml
Inheritance: object → SignedInfo
Implemented Interfaces
- Collections.​ICollection (Inherits: IEnumerable)
Contains information about the canonicalization algorithm and signature algorithm used for the XML signature.
Properties
public
string
CanonicalizationMethod
Gets or sets the canonicalization algorithm that is used before signing for the current <see cref="T:System.Security.Cryptography.Xml.SignedInfo" /> object.
public
Transform
CanonicalizationMethodObject
Gets a <see cref="T:System.Security.Cryptography.Xml.Transform" /> object used for canonicalization.
public
int
Count
Gets the number of references in the current <see cref="T:System.Security.Cryptography.Xml.SignedInfo" /> object.
public
string
Id
Gets or sets the ID of the current <see cref="T:System.Security.Cryptography.Xml.SignedInfo" /> object.
public
bool
IsReadOnly
Gets a value that indicates whether the collection is read-only.
public
bool
IsSynchronized
Gets a value that indicates whether the collection is synchronized.
References
Gets a list of the <see cref="T:System.Security.Cryptography.Xml.Reference" /> objects of the current <see cref="T:System.Security.Cryptography.Xml.SignedInfo" /> object.
public
string
SignatureLength
Gets or sets the length of the signature for the current <see cref="T:System.Security.Cryptography.Xml.SignedInfo" /> object.
public
string
SignatureMethod
Gets or sets the name of the algorithm used for signature generation and validation for the current <see cref="T:System.Security.Cryptography.Xml.SignedInfo" /> object.
public
object
SyncRoot
Gets an object to use for synchronization.
Methods
public
void
AddReference​(Reference reference)
Adds a <see cref="T:System.Security.Cryptography.Xml.Reference" /> object to the list of references to digest and sign.
reference
The reference to add to the list of references.
public
void
CopyTo​(Array array,
int index)
Copies the elements of this instance into an <see cref="T:System.Array" /> object, starting at a specified index in the array.
array
An <see cref="T:System.Array" /> object that holds the collection's elements.
index
The beginning index in the array where the elements are copied.
GetEnumerator​()
Returns an enumerator that iterates through the collection of references.
Returns An enumerator that iterates through the collection of references.
GetXml​()
Returns the XML representation of the <see cref="T:System.Security.Cryptography.Xml.SignedInfo" /> object.
Returns The XML representation of the <see cref="T:System.Security.Cryptography.Xml.SignedInfo" /> instance.
public
void
LoadXml​(Xml.​XmlElement value)
Loads a <see cref="T:System.Security.Cryptography.Xml.SignedInfo" /> state from an XML element.
value
The XML element from which to load the <see cref="T:System.Security.Cryptography.Xml.SignedInfo" /> state.
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object