OcspSettings
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.pdf.OcspSettings
public class OcspSettings extends Object
Represents the ocsp settings using during signing process.
Constructors
| Constructor | Description |
|---|---|
| OcspSettings | Initializes a new instance of the {@link OcspSettings} class. |
Methods
| Method | Description |
|---|---|
| getRequestTimeout | Gets or sets the request timeout duration in milliseconds for the OCSP request. |
| getServerUrl | Gets and sets the ocsp server url. |
| setRequestTimeout | Gets or sets the request timeout duration in milliseconds for the OCSP request. |
| setServerUrl | Gets and sets the ocsp server url. |
OcspSettings
Initializes a new instance of the {@link OcspSettings} class.
getRequestTimeout
public final int getRequestTimeout()
Gets or sets the request timeout duration in milliseconds for the OCSP request.
Returns: int value
getServerUrl
public final String getServerUrl()
Gets and sets the ocsp server url.
Returns: String value
setRequestTimeout
public final void setRequestTimeout(int value)
Gets or sets the request timeout duration in milliseconds for the OCSP request.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int value |
setServerUrl
Gets and sets the ocsp server url.