Package org.bouncycastle.jcajce
Class PKIXCRLStoreSelector<T extends CRL>
- java.lang.Object
-
- org.bouncycastle.jcajce.PKIXCRLStoreSelector<T>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPKIXCRLStoreSelector.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()Creates and returns a copy of thisObject.X509CertificategetCertificateChecking()static Collection<? extends CRL>getCRLs(PKIXCRLStoreSelector selector, CertStore certStore)byte[]getIssuingDistributionPoint()Returns the issuing distribution point.BigIntegergetMaxBaseCRLNumber()Get the maximum base CRL number.booleanisCompleteCRLEnabled()Iftrueonly complete CRLs are returned.booleanisDeltaCRLIndicatorEnabled()Returns if this selector must match CRLs with the delta CRL indicator extension set.booleanisIssuingDistributionPointEnabled()Returns if the issuing distribution point criteria should be applied.booleanmatch(CRL obj)
-
-
-
Method Detail
-
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.
-
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
public Object clone()
Description copied from class:ObjectCreates and returns a copy of thisObject. The default implementation returns a so-called "shallow" copy: It creates a new instance of the same class and then copies the field values (including object references) from this instance to the new instance. A "deep" copy, in contrast, would also recursively clone nested objects. A subclass that needs to implement this kind of cloning should callsuper.clone()to create the new instance and then create deep copies of the nested, mutable objects.
-
isCompleteCRLEnabled
public boolean isCompleteCRLEnabled()
Iftrueonly complete CRLs are returned. Defaults tofalse.- Returns:
trueif only complete CRLs are returned.
-
getMaxBaseCRLNumber
public BigInteger 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
public X509Certificate getCertificateChecking()
-
getCRLs
public static Collection<? extends CRL> getCRLs(PKIXCRLStoreSelector selector, CertStore certStore) throws CertStoreException
- Throws:
CertStoreException
-
-