Click or drag to resize

SatSignXmlEx Method

Note: This API is now obsolete.

Sign an XML file with extended options [deprecated].

Namespace: FirmaSAT
Assembly: diFirmaSatNet (in diFirmaSatNet.dll) Version: 10.70.0.38178 (10.70.0.0)
Syntax
[ObsoleteAttribute("Use Sat.SignXml with optional SignOptions parameter")]
public static int SignXmlEx(
	string newFile,
	string xmlFile,
	string keyFile,
	string password,
	string certFile,
	SignOptions signOpts
)

Parameters

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

Return Value

Int32
0 if successful or non-zero error code if failed
Remarks
Example
C#
int n = Sat.SignXmlEx(newname, fname, keyfile, password, certfile, SignOptions.BigFile);
See Also