public class PKIXCRLStoreSelector<T extends java.security.cert.CRL>
extends java.lang.Object
implements org.spongycastle.util.Selector<T>
Selector| Modifier and Type | Class and Description |
|---|---|
static class |
PKIXCRLStoreSelector.Builder
Builder for a PKIXCRLStoreSelector.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
java.security.cert.X509Certificate |
getCertificateChecking() |
static java.util.Collection<? extends java.security.cert.CRL> |
getCRLs(PKIXCRLStoreSelector selector,
java.security.cert.CertStore certStore) |
byte[] |
getIssuingDistributionPoint()
Returns the issuing distribution point.
|
java.math.BigInteger |
getMaxBaseCRLNumber()
Get the maximum base CRL number.
|
boolean |
isCompleteCRLEnabled()
If
true only complete CRLs are returned. |
boolean |
isDeltaCRLIndicatorEnabled()
Returns if this selector must match CRLs with the delta CRL indicator
extension set.
|
boolean |
isIssuingDistributionPointEnabled()
Returns if the issuing distribution point criteria should be applied.
|
boolean |
match(java.security.cert.CRL obj) |
public boolean isIssuingDistributionPointEnabled()
false.
You may also set the issuing distribution point criteria if not a missing issuing distribution point should be assumed.
public boolean match(java.security.cert.CRL obj)
match in interface org.spongycastle.util.Selector<T extends java.security.cert.CRL>public boolean isDeltaCRLIndicatorEnabled()
false.true if only CRLs with the delta CRL
indicator extension are selected.public java.lang.Object clone()
clone in interface org.spongycastle.util.Selector<T extends java.security.cert.CRL>clone in class java.lang.Objectpublic boolean isCompleteCRLEnabled()
true only complete CRLs are returned. Defaults to
false.true if only complete CRLs are returned.public java.math.BigInteger getMaxBaseCRLNumber()
null.public byte[] getIssuingDistributionPoint()
null,
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)}.
public java.security.cert.X509Certificate getCertificateChecking()
public static java.util.Collection<? extends java.security.cert.CRL> getCRLs(PKIXCRLStoreSelector selector, java.security.cert.CertStore certStore) throws java.security.cert.CertStoreException
java.security.cert.CertStoreException