ds:Signature
Element information
Namespace: http://www.w3.org/2000/09/xmldsig#
Schema document: xmldsig-core-schema.xsd
Type: ds:SignatureType
Properties: Global, Qualified
Content
- Sequence [1..1]
- ds:SignedInfo [1..1]
- ds:SignatureValue [1..1]
- ds:KeyInfo [0..1]
- ds:Object [0..*]
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
Id | [0..1] | xsd:ID |
Sample instance
<Signature Id="MyFirstSignature"> <SignedInfo> <CanonicalizationMethod Algorithm="http://www.w3.org/2006/12/xml-c14n11"/> <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#dsa-sha1"/> <Reference URI="http://www.w3.org/TR/2000/REC-xhtml1-20000126/"> <Transforms> <Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"/> </Transforms> <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/> <DigestValue>dGhpcyBpcyBub3QgYSBzaWduYXR1cmUK...</DigestValue> </Reference> </SignedInfo> <SignatureValue>...</SignatureValue> <KeyInfo> <KeyValue> <DSAKeyValue> <P>...</P> <Q>...</Q> <G>...</G> <Y>...</Y> </DSAKeyValue> </KeyValue> </KeyInfo> </Signature>