org.bouncycastle.util.Selector
| Modifier and Type | Class and Description |
|---|---|
| public static class | PKIXCRLStoreSelector.
Builder for a PKIXCRLStoreSelector. |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final CRLSelector | |
| private final boolean | |
| private final boolean | |
| private final byte[] | |
| private final boolean | |
| private final BigInteger |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Object | clone()
Overrides java. Implements org. Creates and returns a copy of this object. |
| public X509Certificate | |
| public static Collection | |
| public byte[] | Returns: Returns the issuing distribution point.Returns the issuing distribution point. |
| public BigInteger | |
| public boolean | Returns: true if only complete CRLs are returned.If |
| public boolean | Returns: Returnstrue if only CRLs with the delta CRL
indicator extension are selected.Returns if this selector must match CRLs with the delta CRL indicator extension set. |
| public boolean | Returns: Returns if the issuing distribution point check is enabled.Returns if the issuing distribution point criteria should be applied. |
| public boolean | match(CRL
the object to be matched. obj)Implements org. Match the passed in object, returning true if it would be selected by this selector, false otherwise. |
| baseSelector | back to summary |
|---|---|
| private final CRLSelector baseSelector | |
| completeCRLEnabled | back to summary |
|---|---|
| private final boolean completeCRLEnabled | |
| deltaCRLIndicator | back to summary |
|---|---|
| private final boolean deltaCRLIndicator | |
| issuingDistributionPoint | back to summary |
|---|---|
| private final byte[] issuingDistributionPoint | |
| issuingDistributionPointEnabled | back to summary |
|---|---|
| private final boolean issuingDistributionPointEnabled | |
| maxBaseCRLNumber | back to summary |
|---|---|
| private final BigInteger maxBaseCRLNumber | |
| PKIXCRLStoreSelector | back to summary |
|---|---|
| private PKIXCRLStoreSelector(PKIXCRLStoreSelector. | |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Implements org. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by
| |
| getCertificateChecking | back to summary |
|---|---|
| public X509Certificate getCertificateChecking() | |
| getCRLs | back to summary |
|---|---|
| public static Collection | |
| getIssuingDistributionPoint | back to summary |
|---|---|
| public byte[] getIssuingDistributionPoint() Returns the issuing distribution point. Defaults to The internal byte array is cloned before it is returned. The criteria must be enable with Builder.setIssuingDistributionPointEnabled(boolean)}.
| |
| getMaxBaseCRLNumber | back to summary |
|---|---|
| public BigInteger getMaxBaseCRLNumber() Get the maximum base CRL number. Defaults to
| |
| isCompleteCRLEnabled | back to summary |
|---|---|
| public boolean isCompleteCRLEnabled() If
| |
| isDeltaCRLIndicatorEnabled | back to summary |
|---|---|
| public boolean isDeltaCRLIndicatorEnabled() Returns if this selector must match CRLs with the delta CRL indicator
extension set. Defaults to
| |
| isIssuingDistributionPointEnabled | back to summary |
|---|---|
| public boolean isIssuingDistributionPointEnabled() Returns if the issuing distribution point criteria should be applied.
Defaults to You may also set the issuing distribution point criteria if not a missing issuing distribution point should be assumed.
| |
| match | back to summary |
|---|---|
| public boolean match(CRL obj) Implements org. Doc from org. Match the passed in object, returning true if it would be selected by this selector, false otherwise.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final CRLSelector | |
| private boolean | |
| private boolean | |
| private byte[] | |
| private boolean | |
| private BigInteger |
| Access | Constructor and Description |
|---|---|
| public | Builder(CRLSelector
the CertSelector to copy the match details from. crlSelector)Constructor initializing a builder with a CertSelector. |
| Modifier and Type | Method and Description |
|---|---|
| public PKIXCRLStoreSelector | |
| public PKIXCRLStoreSelector. | setCompleteCRLEnabled(boolean
true if only complete CRLs
should be returned.If set to |
| public PKIXCRLStoreSelector. | setDeltaCRLIndicatorEnabled(boolean
true if the delta CRL indicator
extension must be in the CRL.If this is set to |
| public void | setIssuingDistributionPoint(byte[]
The issuing distribution point to set.
This is the DER encoded OCTET STRING extension value. issuingDistributionPoint)Sets the issuing distribution point. |
| public void | setIssuingDistributionPointEnabled(boolean
true to enable the
issuing distribution point check.Enables or disables the issuing distribution point check. |
| public void | setMaxBaseCRLNumber(BigInteger
The maximum base CRL number to set. maxBaseCRLNumber)Sets the maximum base CRL number. |
| baseSelector | back to summary |
|---|---|
| private final CRLSelector baseSelector | |
| completeCRLEnabled | back to summary |
|---|---|
| private boolean completeCRLEnabled | |
| deltaCRLIndicator | back to summary |
|---|---|
| private boolean deltaCRLIndicator | |
| issuingDistributionPoint | back to summary |
|---|---|
| private byte[] issuingDistributionPoint | |
| issuingDistributionPointEnabled | back to summary |
|---|---|
| private boolean issuingDistributionPointEnabled | |
| maxBaseCRLNumber | back to summary |
|---|---|
| private BigInteger maxBaseCRLNumber | |
| Builder | back to summary |
|---|---|
| public Builder(CRLSelector crlSelector) Constructor initializing a builder with a CertSelector.
| |
| build | back to summary |
|---|---|
| public PKIXCRLStoreSelector Build a selector.
| |
| setCompleteCRLEnabled | back to summary |
|---|---|
| public PKIXCRLStoreSelector. If set to
| |
| setDeltaCRLIndicatorEnabled | back to summary |
|---|---|
| public PKIXCRLStoreSelector. If this is set to
| |
| setIssuingDistributionPoint | back to summary |
|---|---|
| public void setIssuingDistributionPoint(byte[] issuingDistributionPoint) Sets the issuing distribution point. 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 | back to summary |
|---|---|
| public void setIssuingDistributionPointEnabled(boolean issuingDistributionPointEnabled) Enables or disables the issuing distribution point check.
| |
| setMaxBaseCRLNumber | back to summary |
|---|---|
| public void setMaxBaseCRLNumber(BigInteger maxBaseCRLNumber) Sets the maximum base CRL number. Setting to 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.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final PKIXCRLStoreSelector |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | match(CRL
the crl)CRL to be checkedOverrides java. Implements java. Decides whether a |
| selector | back to summary |
|---|---|
| private final PKIXCRLStoreSelector<T extends CRL> selector | |
| SelectorClone | back to summary |
|---|---|
| pack-priv SelectorClone(PKIXCRLStoreSelector<T extends CRL> selector) | |
| match | back to summary |
|---|---|
| public boolean match(CRL crl) Overrides java. Implements java. Doc from java. Decides whether a
| |