Create the selloSAT signature as a base64 string from TFD data in CFDI XML document.

Namespace:  FirmaSAT
Assembly:  diFirmaSatNet (in diFirmaSatNet.dll) Version: 10.50.0.29531

Syntax

C#
public static string MakeSignatureFromXml(
	string xmlFile,
	string keyFile,
	string password
)
Visual Basic (Declaration)
Public Shared Function MakeSignatureFromXml ( _
	xmlFile As String, _
	keyFile As String, _
	password As String _
) As String

Parameters

xmlFile
Type: System..::.String
Name of input XML file to be processed (or a string containing XML data)
keyFile
Type: System..::.String
Name of private key file
password
Type: System..::.String
Password

Return Value

Signature in base64 format or empty string on error

Remarks

Assumes you are a PAC with a valid SAT signing key.

See Also