Click or drag to resize

C14nToDigest(String, DigAlg) Method

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

Namespace: Sc14n
Assembly: diSc14nNet (in diSc14nNet.dll) Version: 3.1.0.28355 (3.1.0.0)
Syntax
public static string ToDigest(
	string xmlFile,
	DigAlg digAlg
)

Parameters

xmlFile  String
Name of input XML file.
digAlg  DigAlg
Digest algorithm

Return Value

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