SignedInfo Třída
Definice
Obsahuje informace o algoritmu kanonikalizace a algoritmu podpisu použitého pro podpis XML.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
- Dědičnost
-
SignedInfo
- Implementuje
Poznámky
SignedInfoTřída představuje <SignedInfo>
prvek signatury XML definované specifikací digitálního podpisu XML.The SignedInfo class represents the <SignedInfo>
element of an XML signature defined by the XML digital signature specification. <SignedInfo>
Element, který je podelementem <Signature>
elementu, obsahuje metodu kanonikalizace použitou k podepisování, algoritmus použitý k podepisování a ověřování a odkazy, které popisují digitální podpis.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.
Pro většinu scénářů byste měli použít SignedInfo třídu dostupnou z SignedInfo Vlastnosti k podepsání a ověření digitálních podpisů XML.For most scenarios, you should use the SignedInfo class available from the SignedInfo property to sign and verify XML digital signatures.
Další informace o <SignedInfo>
elementu naleznete v tématu specifikace konsorcium World Wide Web (W3C).For more information about the <SignedInfo>
element, see the World Wide Web Consortium (W3C) specification.
Konstruktory
SignedInfo() |
Inicializuje novou instanci SignedInfo třídy.Initializes a new instance of the SignedInfo class. |
Vlastnosti
CanonicalizationMethod |
Získá nebo nastaví algoritmus pro kanonikalizaci, který se používá před přihlášením k aktuálnímu SignedInfo objektu.Gets or sets the canonicalization algorithm that is used before signing for the current SignedInfo object. |
CanonicalizationMethodObject |
Načte Transform objekt používaný pro kanonikalizaci.Gets a Transform object used for canonicalization. |
Count |
Získá počet odkazů v aktuálním SignedInfo objektu.Gets the number of references in the current SignedInfo object. |
Id |
Získá nebo nastaví ID aktuálního SignedInfo objektu.Gets or sets the ID of the current SignedInfo object. |
IsReadOnly |
Získá hodnotu, která označuje, zda je kolekce jen pro čtení.Gets a value that indicates whether the collection is read-only. |
IsSynchronized |
Načte hodnotu, která označuje, jestli je kolekce synchronizovaná.Gets a value that indicates whether the collection is synchronized. |
References |
Načte seznam Reference objektů aktuálního SignedInfo objektu.Gets a list of the Reference objects of the current SignedInfo object. |
SignatureLength |
Získá nebo nastaví délku podpisu pro aktuální SignedInfo objekt.Gets or sets the length of the signature for the current SignedInfo object. |
SignatureMethod |
Získá nebo nastaví název algoritmu použitého pro generování podpisu a ověření pro aktuální SignedInfo objekt.Gets or sets the name of the algorithm used for signature generation and validation for the current SignedInfo object. |
SyncRoot |
Získá objekt, který se má použít pro synchronizaci.Gets an object to use for synchronization. |
Metody
AddReference(Reference) |
Přidá Reference objekt do seznamu odkazů na algoritmus Digest a znaménko.Adds a Reference object to the list of references to digest and sign. |
CopyTo(Array, Int32) |
Zkopíruje prvky této instance do Array objektu, počínaje zadaným indexem v poli.Copies the elements of this instance into an Array object, starting at a specified index in the array. |
Equals(Object) |
Určí, zda se zadaný objekt rovná aktuálnímu objektu.Determines whether the specified object is equal to the current object. (Zděděno od Object) |
GetEnumerator() |
Vrátí enumerátor, který prochází kolekci odkazů.Returns an enumerator that iterates through the collection of references. |
GetHashCode() |
Slouží jako výchozí funkce hash.Serves as the default hash function. (Zděděno od Object) |
GetType() |
Získá Type aktuální instanci.Gets the Type of the current instance. (Zděděno od Object) |
GetXml() |
Vrátí reprezentaci SignedInfo objektu XML.Returns the XML representation of the SignedInfo object. |
LoadXml(XmlElement) |
Načte SignedInfo stav z elementu XML.Loads a SignedInfo state from an XML element. |
MemberwiseClone() |
Vytvoří kopii aktuálního seznamu Object .Creates a shallow copy of the current Object. (Zděděno od Object) |
ToString() |
Vrátí řetězec, který představuje aktuální objekt.Returns a string that represents the current object. (Zděděno od Object) |
Metody rozšíření
Cast<TResult>(IEnumerable) |
Přetypování prvky IEnumerable na zadaný typ.Casts the elements of an IEnumerable to the specified type. |
OfType<TResult>(IEnumerable) |
Filtruje prvky IEnumerable založené na zadaném typu.Filters the elements of an IEnumerable based on a specified type. |
AsParallel(IEnumerable) |
Povoluje paralelní zpracování dotazu.Enables parallelization of a query. |
AsQueryable(IEnumerable) |
Převede IEnumerable na IQueryable .Converts an IEnumerable to an IQueryable. |