Package org.bouncycastle.jcajce
Class PKIXCRLStoreSelector<T extends CRL>
java.lang.Object
org.bouncycastle.jcajce.PKIXCRLStoreSelector<T>
This class is a Selector implementation for X.509 certificate revocation
lists.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for a PKIXCRLStoreSelector. -
Method Summary
Modifier and TypeMethodDescriptionclone()static Collection<? extends CRL> getCRLs(PKIXCRLStoreSelector selector, CertStore certStore) byte[]Returns the issuing distribution point.Get the maximum base CRL number.booleanIftrueonly complete CRLs are returned.booleanReturns if this selector must match CRLs with the delta CRL indicator extension set.booleanReturns if the issuing distribution point criteria should be applied.booleanMatch the passed in object, returning true if it would be selected by this selector, false otherwise.
-
Method Details
-
isIssuingDistributionPointEnabled
public boolean isIssuingDistributionPointEnabled()Returns if the issuing distribution point criteria should be applied. Defaults tofalse.You may also set the issuing distribution point criteria if not a missing issuing distribution point should be assumed.
- Returns:
- Returns if the issuing distribution point check is enabled.
-
match
Description copied from interface:SelectorMatch the passed in object, returning true if it would be selected by this selector, false otherwise. -
isDeltaCRLIndicatorEnabled
public boolean isDeltaCRLIndicatorEnabled()Returns if this selector must match CRLs with the delta CRL indicator extension set. Defaults tofalse.- Returns:
- Returns
trueif only CRLs with the delta CRL indicator extension are selected.
-
clone
-
isCompleteCRLEnabled
public boolean isCompleteCRLEnabled()Iftrueonly complete CRLs are returned. Defaults tofalse.- Returns:
trueif only complete CRLs are returned.
-
getMaxBaseCRLNumber
Get the maximum base CRL number. Defaults tonull.- Returns:
- Returns the maximum base CRL number.
-
getIssuingDistributionPoint
public byte[] getIssuingDistributionPoint()Returns the issuing distribution point. Defaults tonull, which is a missing issuing distribution point extension.The internal byte array is cloned before it is returned.
The criteria must be enable with Builder.setIssuingDistributionPointEnabled(boolean)}.
- Returns:
- Returns the issuing distribution point.
-
getCertificateChecking
-
getCRLs
public static Collection<? extends CRL> getCRLs(PKIXCRLStoreSelector selector, CertStore certStore) throws CertStoreException - Throws:
CertStoreException
-