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.5.0+84bd4d36da7e2449ee09fddee89e23a99b6ffcca
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