 | Session Constructor |
Namespace: PdfTools.Crypto.Providers.SwisscomSigSrvAssembly: PdfTools (in PdfTools.dll) Version: 1.10.0+8a8a96de3867b60fd3fc0089ea1028db6add63f1
Syntaxpublic Session(
Uri url,
HttpClientHandler httpClientHandler
)
Parameters
- url Uri
The service endpoint base URL.
Example: https://ais.swisscom.com
- httpClientHandler HttpClientHandler
-
The SSL configuration with the client certificate and trust store.
Use SetClientCertificate(Stream, String) to set your SSL client certificate "clientcert.p12"
of your Swisscom Signing Service account.
Exceptions| Exception | Condition |
|---|
| HttpException | If a network error occurs. |
| PermissionException | If the SSL client certificate is rejected. |
| ArgumentNullException | if url is . |
| ArgumentNullException | if httpClientHandler is . |
See Also