public class PKIXValidationOptions extends Object
PKIXTrustEvaluator
.Constructor and Description |
---|
PKIXValidationOptions()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getDefaultVerificationDepth()
The default PKIX maximum path verification depth, if not supplied in the
PKIXValidationInformation being evaluated. |
boolean |
isProcessCredentialCRLs()
Whether CRLs supplied within the untrusted
X509Credential being evaluated should be processed. |
boolean |
isProcessEmptyCRLs()
Whether empty CRLs should be processed.
|
boolean |
isProcessExpiredCRLs()
Whether expired CRLs should be processed.
|
void |
setDefaultVerificationDepth(Integer depth)
The default PKIX maximum path verification depth, if not supplied in the
PKIXValidationInformation being evaluated. |
void |
setProcessCredentialCRLs(boolean flag)
Whether CRLs supplied within the untrusted
X509Credential being evaluated should be processed. |
void |
setProcessEmptyCRLs(boolean flag)
Whether empty CRLs should be processed.
|
void |
setProcessExpiredCRLs(boolean flag)
Whether expired CRLs should be processed.
|
public boolean isProcessEmptyCRLs()
Default is: true
public void setProcessEmptyCRLs(boolean flag)
Default is: true
flag
- whether to process empty CRLspublic boolean isProcessExpiredCRLs()
Default is: true
public void setProcessExpiredCRLs(boolean flag)
Default is: true
flag
- whether expired CRLs should be processedpublic boolean isProcessCredentialCRLs()
X509Credential
being evaluated should be processed.
Default is: true
public void setProcessCredentialCRLs(boolean flag)
X509Credential
being evaluated should be processed.
Default is: true
flag
- whether to process CRLs from an untrusted credentialpublic Integer getDefaultVerificationDepth()
PKIXValidationInformation
being evaluated.
Default is: 1
public void setDefaultVerificationDepth(@Nonnull Integer depth)
PKIXValidationInformation
being evaluated.
Default is: 1
depth
- default verification depth to setCopyright © 2016 JBoss by Red Hat. All rights reserved.