XML

Frends.XML.SignXml / 1.3.0

Summary

Applies an XML digital signature so a recipient can verify the document came from you unchanged, with a choice of enveloping style and of where the result goes.

Typical use — documents whose authenticity has to be provable on their own, independently of how they were transported

Details

Frends version
5.5 and newer
Agent
Crossplatform
Target framework
net6.0

Input class for SignXml-task.

Name Type Default Example Description
XmlInputType XmlParamType File

Input type. Possible types are File and XmlString.

Possible values:

  • File: Represents a file.

  • XmlString: Represents an XML string.

XmlFilePath String c:\temp\document.xml c:\temp\document.xml

Path to XML document to sign.

Xml String <root><value>123</value></root> File

Input type. Possible types are File and XmlString.

XmlEnvelopingType XmlEnvelopingType XmlEnvelopedSignature

XML signing technique to use.

Possible values:

  • XmlEnvelopedSignature: Uses an enveloped XML signature.
SigningStrategy SigningStrategyType PrivateKeyCertificate

How to sign the document.

Possible values:

  • PrivateKeyCertificate: Uses a private key certificate for signing.
CertificatePath String c:\certificates\signingcertificate.pfx c:\\certificates\\signingcertificate.pfx

Path to certificate with private key.

PrivateKeyPasswordSecret String password123

Private key password.

An unhandled error has occurred. Reload 🗙