Click or drag to resize
Pdftools logo

SessionCreateSignatureForOnDemandIdentity Method

Create a signature configuration for an on-demand certificate


Namespace: PdfTools.Crypto.Providers.SwisscomSigSrv
Assembly: PdfTools (in PdfTools.dll) Version: 1.5.0+84bd4d36da7e2449ee09fddee89e23a99b6ffcca
Syntax
C#
public SignatureConfiguration CreateSignatureForOnDemandIdentity(
	string identity,
	string distinguishedName,
	StepUp stepUp
)

Parameters

identity  String

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

Example: "ais-90days-trial:OnDemand-Advanced4"

distinguishedName  String

The requested distinguished name of the on-demand certificate.

Example: "cn=Hans Muster,o=ACME,c=CH"

stepUp  StepUp
Options for step-up authorization using Mobile ID.

Return Value

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