Computes digest value of C14N transformation of entire XML document (file-to-digest).

Namespace:  Sc14n
Assembly:  diSc14nNet (in diSc14nNet.dll) Version: 0.9.0.0 (0.9.0.0)

Syntax

C#
public static string ToDigest(
	string xmlFile,
	DigAlg digAlg
)
Visual Basic (Declaration)
Public Shared Function ToDigest ( _
	xmlFile As String, _
	digAlg As DigAlg _
) As String

Parameters

xmlFile
Type: System..::.String
Name of input XML file.
digAlg
Type: Sc14n..::.DigAlg
Digest algorithm

Return Value

Digest value in base64 encoding or empty string on error (for more details use Err.LastError()).

See Also