TfdMakeSignatureFromXml Method |
Create the selloSAT signature as a base64 string from TFD data in CFDI XML document.
Namespace: FirmaSATAssembly: diFirmaSatNet (in diFirmaSatNet.dll) Version: 10.70.0.38178 (10.70.0.0)
Syntaxpublic static string MakeSignatureFromXml(
string xmlFile,
string keyFile,
string password
)
Public Shared Function MakeSignatureFromXml (
xmlFile As String,
keyFile As String,
password As String
) As String
Parameters
- xmlFile String
- Name of input XML file to be processed (or a string containing XML data)
- keyFile String
- Name of private key file
- password String
- Password
Return Value
StringSignature in base64 format or empty string on error
RemarksAssumes you are a PAC with a valid SAT signing key.
See Also