XMLSigReference Type
This type defines information about the reference.
Remarks
This type defines information about the reference including the location within the document (XMLElement), TransformAlgorithms, HashAlgorithm, and URI.
Fields
HashAlgorithm String |
This field defines the hash algorithm to apply to the element specified by XMLElement. Possible values are:
| ||||||||||||
HashValue String |
This field holds the calculated hash value for the specified XMLElement. | ||||||||||||
TransformAlgorithms String |
This field specifies a comma separated list of canonicalization algorithms to be applied to XMLElement. The XML data specified by XMLElement will be transformed using the specified algorithm(s) before the HashAlgorithm is applied. The default value is "C14N". Possible values are:
| ||||||||||||
URI String |
This field is the URI of the reference. The value specified here identifies the data within the document. When signing, this value may be set to a URI reference which identifies XMLElement. XMLElement must be set separately. When verifying, this value may be checked within the SignatureInfo event to identify the location of XMLElement. XMLElement must be set separately. | ||||||||||||
XMLElement String |
This field specifies XML element to sign or verify using XPath notation. When signing, this must be set before calling Sign. When verifying, this must be set from within the SignatureInfo event. The URI field may be used to help identify the correct XML element.
|
Constructors
public XMLSigReference();
public XMLSigReference(String XMLElement, String URI, String hashAlgorithm, String transformAlgorithms, String hashValue);