|
Bouncy Castle Cryptography Library 1.77.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.bouncycastle.jcajce.PKIXCRLStoreSelector.Builder
Constructor Summary | |
PKIXCRLStoreSelector.Builder(CRLSelector certSelector)
|
Method Summary | |
PKIXCRLStoreSelector |
build()
|
PKIXCRLStoreSelector.Builder |
setCompleteCRLEnabled(boolean completeCRLEnabled)
If set to true only complete CRLs are returned. |
PKIXCRLStoreSelector.Builder |
setDeltaCRLIndicatorEnabled(boolean deltaCRLIndicator)
If this is set to true the CRL reported contains the delta CRL indicator CRL extension. |
void |
setIssuingDistributionPoint(byte[] issuingDistributionPoint)
Sets the issuing distribution point. |
void |
setIssuingDistributionPointEnabled(boolean issuingDistributionPointEnabled)
Enables or disables the issuing distribution point check. |
void |
setMaxBaseCRLNumber(java.math.BigInteger maxBaseCRLNumber)
Sets the maximum base CRL number. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PKIXCRLStoreSelector.Builder(CRLSelector certSelector)
Method Detail |
public PKIXCRLStoreSelector.Builder setCompleteCRLEnabled(boolean completeCRLEnabled)
setCompleteCRLEnabled(boolean)
and
setDeltaCRLIndicatorEnabled(boolean)
excluded each other.
completeCRLEnabled
- true if only complete CRLs
should be returned.public PKIXCRLStoreSelector.Builder setDeltaCRLIndicatorEnabled(boolean deltaCRLIndicator)
setCompleteCRLEnabled(boolean)
and
setDeltaCRLIndicatorEnabled(boolean)
excluded each other.
deltaCRLIndicator
- true if the delta CRL indicator
extension must be in the CRL.public void setMaxBaseCRLNumber(java.math.BigInteger maxBaseCRLNumber)
This is only meaningful for delta CRLs. Complete CRLs must have a CRL number which is greater or equal than the base number of the corresponding CRL.
maxBaseCRLNumber
- The maximum base CRL number to set.public void setIssuingDistributionPointEnabled(boolean issuingDistributionPointEnabled)
issuingDistributionPointEnabled
- true to enable the
issuing distribution point check.public void setIssuingDistributionPoint(byte[] issuingDistributionPoint)
The issuing distribution point extension is a CRL extension which identifies the scope and the distribution point of a CRL. The scope contains among others information about revocation reasons contained in the CRL. Delta CRLs and complete CRLs must have matching issuing distribution points.
The byte array is cloned to protect against subsequent modifications.
You must also enable or disable this criteria with
setIssuingDistributionPointEnabled(boolean)
.
issuingDistributionPoint
- The issuing distribution point to set.
This is the DER encoded OCTET STRING extension value.PKIXCRLStoreSelector.getIssuingDistributionPoint()
public PKIXCRLStoreSelector build()
|
Bouncy Castle Cryptography Library 1.77.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |