|
|||||||||
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.PathValidationOptionSpec
public class PathValidationOptionSpec
Controls RFC3280 related path validation options. For information, see "Basic Path Validation" in the RFC3280 document at http://www.ietf.org/rfc/rfc3280.txt.
Constructor Summary | |
---|---|
PathValidationOptionSpec()
A constructor used to create a PathValidationOptionSpec object. |
Method Summary | |
---|---|
java.lang.String |
getLDAPServer()
Gets the Lightweight Directory Access Protocol (LDAP) server that is used to retrieve CRL information. |
boolean |
isAnyPolicyInhibit()
Specifies whether the anyPolicy OID should be processed if it is included in a certificate. |
boolean |
isCheckAllPaths()
Specifies whether all the paths are checked. |
boolean |
isCheckCABasicConstraints()
Specifies whether the CA Basic Constraints certificate extension must be present for CA certificates. |
boolean |
isExplicitPolicy()
Specifies if the path must be valid for at least one of the certificate policies in the user initial policy set. |
boolean |
isFollowURIsInAIA()
Specifies whether to follow any URIs specified in the certificate's Authority Information Access (AIA) extension for path discovery. |
boolean |
isPolicyMappingInhibit()
Specifies if policy mapping is allowed in the certification path. |
boolean |
isRequireValidSigForChaining()
Specifies whether to use chains. |
void |
setAnyPolicyInhibit(boolean anyPolicyInhibit)
Specifies object identifiers (OID) located in a certificate that is processed. |
void |
setCheckAllPaths(boolean checkAllPaths)
Sets the checkAllPaths option. |
void |
setCheckCABasicConstraints(java.lang.Boolean checkCABasicConstraints)
Sets whether the CA Basic Constraints certificate extension must be present for CA certificates. |
void |
setExplicitPolicy(boolean explicitPolicy)
Specifies if the path must be valid for at least one of the certificate policies in the user initial policy set. |
void |
setFollowURIsInAIA(boolean followURIsInAIA)
Sets whether to follow any URIs specified in the certificate's Authority Information Access(AIA) extension for path discovery. |
void |
setLDAPServer(java.lang.String ldapServer)
Sets the Lightweight Directory Access Protocol (LDAP) server that is used to retrieve CRL information. |
void |
setPolicyMappingInhibit(boolean policyMappingInhibit)
Specifies whether policy mapping is allowed in the certification path.For information, see 4.2.1.6 in the RFC3280 document. |
void |
setRequireValidSigForChaining(boolean requireValidSigForChaining)
Sets whether to use chains. |
java.lang.String |
toString()
Returns a string representation of this class. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PathValidationOptionSpec()
PathValidationOptionSpec
object.
It uses these default values:
explicitPolicy: false
anyPolicyInhibit: false
policyMappingInhibit: false
Method Detail |
---|
public boolean isAnyPolicyInhibit()
public boolean isExplicitPolicy()
public boolean isPolicyMappingInhibit()
public void setAnyPolicyInhibit(boolean anyPolicyInhibit)
anyPolicyInhibit
- A Boolean value that specifies whether the anyPolicy OID is included.public void setExplicitPolicy(boolean explicitPolicy)
explicitPolicy
- A Boolean value that specifies whether the path must be valid for at least one of the certificate policies in the user initial policy set.public void setPolicyMappingInhibit(boolean policyMappingInhibit)
policyMappingInhibit
- A Boolean value that indicates if policy mapping is allowed in the certification path.public java.lang.String toString()
toString
in class java.lang.Object
public boolean isCheckAllPaths()
public void setCheckAllPaths(boolean checkAllPaths)
checkAllPaths
option.
checkAllPaths
- Determines if all paths to a trust anchor should be checked for all validity
or whether the path validation should return the first valid path found.public java.lang.String getLDAPServer()
public void setLDAPServer(java.lang.String ldapServer)
ldapServer
- A string value that specifies the LDAP server that is used to retrieve CRL information.public boolean isFollowURIsInAIA()
public void setFollowURIsInAIA(boolean followURIsInAIA)
followURIsInAIA
- A boolean value that specifies whether to follow any URIs specified in the certificate's AIA
extension for path discovery.public boolean isCheckCABasicConstraints()
public void setCheckCABasicConstraints(java.lang.Boolean checkCABasicConstraints)
checkCABasicConstraints
- A boolean value that specifies whether the
the CA Basic Constraints certificate extension must be present for CA certificates.public boolean isRequireValidSigForChaining()
public void setRequireValidSigForChaining(boolean requireValidSigForChaining)
requireValidSigForChaining
- A boolean value that specifies whether to use chains.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |