public class CertPathPKIXValidationOptions extends PKIXValidationOptions
PKIXValidationOptions
which specifies options specific to a
PKIXTrustEvaluator
based on the Java CertPath API.Constructor and Description |
---|
CertPathPKIXValidationOptions()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
getInitialPolicies()
Returns the set of initial policies (OID strings) of the underlying CertPath Provider.
|
boolean |
isAnyPolicyInhibited()
Returns the value of the any policy inhibited flag of the underlying CertPath Provider.
|
boolean |
isForceRevocationEnabled()
If true, the revocation behavior of the underlying CertPath provider will be forced to the
value supplied by
isRevocationEnabled() . |
boolean |
isPolicyMappingInhibited()
Returns the value of the policy mapping inhibited flag of the underlying CertPath Provider.
|
boolean |
isRevocationEnabled()
If
isForceRevocationEnabled() is true, the revocation behavior of the underlying CertPath Provider
will be forced to this value. |
void |
setAnyPolicyInhibit(boolean flag)
Sets the any policy inhibited flag for the underlying CertPath Provider.
|
void |
setForceRevocationEnabled(boolean flag)
If true, the revocation behavior of the underlying CertPath provider will be forced to the
value supplied by
isRevocationEnabled() . |
void |
setInitialPolicies(Set<String> newPolicies)
Sets the initial policy identifiers (OID strings) for the underlying CertPath Provider,
i.e.
|
void |
setPolicyMappingInhibit(boolean flag)
Sets the policy mapping inhibited flag for the underlying CertPath Provider.
|
void |
setRevocationEnabled(boolean flag)
If
isForceRevocationEnabled() is true, the revocation behavior of the underlying CertPath Provider
will be forced to this value. |
getDefaultVerificationDepth, isProcessCredentialCRLs, isProcessEmptyCRLs, isProcessExpiredCRLs, setDefaultVerificationDepth, setProcessCredentialCRLs, setProcessEmptyCRLs, setProcessExpiredCRLs
public CertPathPKIXValidationOptions()
public boolean isForceRevocationEnabled()
isRevocationEnabled()
. If false, the revocation behavior
of the underlying provider will be determined by the PKIXTrustEvaluator implementation.
Default is: false
public void setForceRevocationEnabled(boolean flag)
isRevocationEnabled()
. If false, the revocation behavior
of the underlying provider will be determined by the PKIXTrustEvaluator implementation.
Default is: false
flag
- whether to force revocation behaviorpublic boolean isRevocationEnabled()
isForceRevocationEnabled()
is true, the revocation behavior of the underlying CertPath Provider
will be forced to this value. If the former is false, the revocation behavior
of the underlying provider will be determined by the PKIXTrustEvaluator implementation.
Default is: true
public void setRevocationEnabled(boolean flag)
isForceRevocationEnabled()
is true, the revocation behavior of the underlying CertPath Provider
will be forced to this value. If the former is false, the revocation behavior
of the underlying provider will be determined by the PKIXTrustEvaluator implementation.
Default is: true
flag
- whether to force revocation if forcing is enabledpublic boolean isPolicyMappingInhibited()
public void setPolicyMappingInhibit(boolean flag)
Default is: false
flag
- the policyMappingInhibit boolean to set.public boolean isAnyPolicyInhibited()
public void setAnyPolicyInhibit(boolean flag)
Default is: false
flag
- the anyPolicyInhibit boolean to set.public Set<String> getInitialPolicies()
public void setInitialPolicies(Set<String> newPolicies)
newPolicies
- the initial set of policy identifiers (OID strings)Copyright © 2016 JBoss by Red Hat. All rights reserved.