CreaSign

References.AddReferenceDigest Method 

Adds a new reference to the data that should be signed and sets the reference's digest.

[Visual Basic]
Public Function AddReferenceDigest( _
   ByVal Id As String, _
   ByVal URI As String, _
   ByVal Type As String, _
   ByVal Sha1DigestValue As String _
) As Reference

Parameters

Id
Optional. An identifier, which is used to identify the <ds:Reference> node.
URI
Optional. The URI that identifies the data that should be signed.
Type
Optional. The type of reference.
Sha1DigestValue
A base64 encoded digest value corresponding to the referenced data.

Return Value

The reference that was added to the list of references.

Remarks

The reference's Sha1DigestValue will be used when creating the signature. The specified value is not verified. When invalid, the signature will be invalid too.

Requirements

Requires CreaSign Pro (not supported by CreaSign Lite).

See Also

References Class | CreaSign Namespace


Send comments on this topic.

(c) CREA 2002-2007 www.creasign.si