OcspSettings
概述
OcspSettings 是 Aspose.PDF FOSS 中用于 .NET 的类。
OCSP(Online Certificate Status Protocol)设置,用于签名者的撤销检查 / OCSP-stapling 路径。
此类提供 2 个方法,用于在 .NET 程序中处理 OcspSettings 对象。可用的方法包括:OcspSettings。安装 Aspose.PDF FOSS for .NET 包后,所有公共成员对任何 .NET 应用程序均可访问。属性:RequestTimeout,ServerUrl。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
ServerUrl | string? | 读写 | OCSP 响应者 URL。 |
RequestTimeout | int | 读写 | HTTP 请求超时(单位:毫秒)。 |
方法
| 签名 | 描述 |
|---|---|
OcspSettings() | 在此 OcspSettings 实例上调用 OcspSettings。 |
OcspSettings(serverUrl: string?) | 在此 OcspSettings 实例上调用 OcspSettings(serverUrl)。 |