|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.livecycle.signatures.client.types.OCSPOptionSpec
public class OCSPOptionSpec
Stores preferences for online certificate status protocol (OCSP) support. For information, see "Online Certificate Status Protocol" at http://tools.ietf.org/html/rfc2560.
Constructor Summary | |
---|---|
OCSPOptionSpec()
Creates an OCSPOptionSpec object. |
Method Summary | |
---|---|
long |
getMaxClockSkew()
Returns the maximum allowed skew in response time and local time. |
java.lang.String |
getOcspServerURL()
Returns the locally configured OCSP URL. |
java.lang.String |
getRequestSignerCredentialAlias()
Returns the alias that corresponds to the credential that is used to sign the PDF document. |
long |
getResponseFreshness()
Gets the maximum time validity of a preconstructed OCSP response. |
RevocationCheckStyle |
getRevocationCheckStyle()
Gets the RevocationCheckStyle object associated with this object. |
OCSPURLtoConsultOption |
getURLtoConsultOption()
Specifies the OCSP URL to use. |
boolean |
isAllowOCSPNoCheck()
Specifies whether it is unnecessary to check the OCSP server. |
boolean |
isDoSignRequest()
Specifies whether to sign the request or not. |
boolean |
isGoOnline()
Specifies whether to go online to interact with the OCSP server. |
boolean |
isIgnoreValidityDates()
Specifies whether to ignore the response's thisUpdate and
nextUpdate times, thereby preventing any negative affect of these times on the response validity. |
boolean |
isRequireOCSPCertHash()
Specifies whether the hash algorithm is required. |
boolean |
isSendNonce()
Specifies whether a Nonce is sent with the request. |
void |
setAllowOCSPNoCheck(boolean allowOCSPNoCheck)
Sets whether it is unnecessary to check the OCSP server. |
void |
setDoSignRequest(boolean doSignRequest)
Sets whether to sign the request or not. |
void |
setGoOnline(boolean goOnline)
Sets whether to go online to interact with the OCSP server. |
void |
setIgnoreValidityDates(boolean ignoreValidityDates)
Sets whether to ignore the response's thisUpdate and
nextUpdate times, thereby preventing any negative affect of these times on the response validity. |
void |
setMaxClockSkew(long maxClockSkew)
Sets the maximum allowed skew in response time and local time. |
void |
setOcspServerURL(java.lang.String ocspServerURL)
Sets the locally configured OCSP URL. |
void |
setRequestSignerCredentialAlias(java.lang.String requestSignerCredentialAlias)
Sets the alias that corresponds to the credential that is used to sign the PDF document. |
void |
setRequireOCSPCertHash(boolean requireOCSPCertHash)
Sets whether the hash algorithm is required. |
void |
setResponseFreshness(long responseFreshness)
Sets the maximum time validity of a preconstructed OCSP response. |
void |
setRevocationCheckStyle(RevocationCheckStyle revocationCheckStyle)
Sets the RevocationCheckStyle object associated with this object. |
void |
setSendNonce(boolean sendNonce)
Sets whether a nonce is sent during the request to the OCSP. |
void |
setURLtoConsultOption(OCSPURLtoConsultOption ltoConsultOption)
Sets the OCSP URL to use. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OCSPOptionSpec()
OCSPOptionSpec
object.
This object contains the following default values:
Method Detail |
---|
public boolean isDoSignRequest()
public void setDoSignRequest(boolean doSignRequest)
doSignRequest
- A Boolean value that specifies whether to sign the request.public long getMaxClockSkew()
public void setMaxClockSkew(long maxClockSkew)
maxClockSkew
- The maximum allowed skew in response time and local time.public java.lang.String getOcspServerURL()
public void setOcspServerURL(java.lang.String ocspServerURL)
ocspServerURL
- The locally configured OCSP URL.public java.lang.String getRequestSignerCredentialAlias()
public void setRequestSignerCredentialAlias(java.lang.String requestSignerCredentialAlias)
requestSignerCredentialAlias
- The alias that corresponds to the credential.public long getResponseFreshness()
public void setResponseFreshness(long responseFreshness)
responseFreshness
- The maximum time validity of a preconstructed OCSP response.public RevocationCheckStyle getRevocationCheckStyle()
RevocationCheckStyle
object associated with this object.
RevocationCheckStyle
object associated with this object.public void setRevocationCheckStyle(RevocationCheckStyle revocationCheckStyle)
RevocationCheckStyle
object associated with this object.
revocationCheckStyle
- The RevocationCheckStyle
object associated with this object.public boolean isSendNonce()
public void setSendNonce(boolean sendNonce)
sendNonce
- A boolean value that specifies whether a nonce is sent during the request.public OCSPURLtoConsultOption getURLtoConsultOption()
OCSPURLtoConsultOption
object that corresponds to the OCSP URL to use.public void setURLtoConsultOption(OCSPURLtoConsultOption ltoConsultOption)
ltoConsultOption
- A OCSPURLtoConsultOption
object that corresponds to the OCSP URL.public boolean isIgnoreValidityDates()
thisUpdate
and
nextUpdate
times, thereby preventing any negative affect of these times on the response validity.
This method was added in LiveCycle ES 8.2.
thisUpdate
and
nextUpdate
times.public void setIgnoreValidityDates(boolean ignoreValidityDates)
thisUpdate
and
nextUpdate
times, thereby preventing any negative affect of these times on the response validity.
ignoreValidityDates
- A boolean value that specifies whether to ignore the response's thisUpdate
and
nextUpdate
times.public boolean isGoOnline()
public void setGoOnline(boolean goOnline)
goOnline
- A boolean value that specifies whether to go online to to interact with the OCSP server.public boolean isAllowOCSPNoCheck()
public void setAllowOCSPNoCheck(boolean allowOCSPNoCheck)
allowOCSPNoCheck
- A boolean value that specifies whether it is unnecessary to check the OCSP server.public boolean isRequireOCSPCertHash()
public void setRequireOCSPCertHash(boolean requireOCSPCertHash)
requireOCSPCertHash
- A boolean value that specifies whether the hash algorithm is required.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |