Verifies the signature (sello) in an XML file
Namespace:
FirmaSATAssembly: diFirmaSatNet (in diFirmaSatNet.dll) Version: 2.0.0.31703 (2.0.0.0)
Syntax
| C# |
|---|
public static int VerifySignature( string xmlFile ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function VerifySignature ( _ xmlFile As String _ ) As Integer |
Parameters
- xmlFile
- Type: System..::.String
Full path to XML file
Return Value
0 if signature is verified or non-zero error code if failed
Remarks
The public key is obtained from the certificado field in the XML file.