---
Product: Aspose.PDF
Platform: net
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/net/OcspSettings
---

# OcspSettings

## Overview

`OcspSettings` is a class in Aspose.PDF FOSS for .NET.

OCSP (Online Certificate Status Protocol) settings for the signer's revocation-check / OCSP-stapling path.

This class provides 2 methods for working with OcspSettings objects in .NET programs.
Available methods include: `OcspSettings`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: `RequestTimeout`, `ServerUrl`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `ServerUrl` | `string?` | Read/Write | OCSP responder URL. |
| `RequestTimeout` | `int` | Read/Write | HTTP request timeout in milliseconds. |

## Methods

| Signature | Description |
|-----------|-------------|
| `OcspSettings()` | Calls OcspSettings on this OcspSettings instance. |
| `OcspSettings(serverUrl: string?)` |  |

## See Also

- [Aspose.PDF for .NET — Enterprise API Reference](https://reference.aspose.com/pdf/net/)