OcspSettings

Inheritance: java.lang.Object, com.aspose.pdf.OcspSettings

public class OcspSettings extends Object

Represents the ocsp settings using during signing process.

Constructors

ConstructorDescription
OcspSettingsInitializes a new instance of the {@link OcspSettings} class.

Methods

MethodDescription
getRequestTimeoutGets or sets the request timeout duration in milliseconds for the OCSP request.
getServerUrlGets and sets the ocsp server url.
setRequestTimeoutGets or sets the request timeout duration in milliseconds for the OCSP request.
setServerUrlGets 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:

ParameterTypeDescription
valueint value

setServerUrl

Gets and sets the ocsp server url.