Click or drag to resize
Pdftools logo

SessionCreateSignatureForStaticIdentity Method

Create a signature configuration for a static certificate.


Namespace: PdfTools.Crypto.Providers.SwisscomSigSrv
Assembly: PdfTools (in PdfTools.dll) Version: 1.7.0+cfcc11b476b3e1eb4320f0f37269191f64e36bd8
Syntax
C#
public SignatureConfiguration CreateSignatureForStaticIdentity(
	string identity,
	string name
)

Parameters

identity  String

The Claimed Identity string as provided by Swisscom: ‹customer name›:‹key identity›

Example: "ais-90days-trial:static-saphir4-ch"

name  String

Name of the signer. This parameter is not used for certificate selection, but for the signature appearance and signature description in the PDF only.

Example: "Signing Service TEST account"

Return Value

SignatureConfiguration
Exceptions
ExceptionCondition
ArgumentNullExceptionif identity is .
ArgumentNullExceptionif name is .
See Also