Sign an XML file with extended options [deprecated].

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

Syntax

C#
[ObsoleteAttribute("Use Sat.SignXml with optional SignOptions parameter")]
public static int SignXmlEx(
	string newFile,
	string xmlFile,
	string keyFile,
	string password,
	string certFile,
	SignOptions signOpts
)
Visual Basic (Declaration)
<ObsoleteAttribute("Use Sat.SignXml with optional SignOptions parameter")> _
Public Shared Function SignXmlEx ( _
	newFile As String, _
	xmlFile As String, _
	keyFile As String, _
	password As String, _
	certFile As String, _
	signOpts As SignOptions _
) As Integer

Parameters

newFile
Type: System..::.String
Name of new file to be created
xmlFile
Type: System..::.String
Name of base XML file to be signed
keyFile
Type: System..::.String
Name of private key file
password
Type: System..::.String
Password for private key file
certFile
Type: System..::.String
(optional) name of X.509 certificate file to be included in output XML
signOpts
Type: FirmaSAT..::.SignOptions
Options for output format

Return Value

0 if successful or non-zero error code if failed

Remarks

Examples

CopyC#
int n = Sat.SignXmlEx(newname, fname, keyfile, password, certfile, SignOptions.BigFile);

See Also