org.bouncycastle.util.Selector
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private boolean | |
| private byte[] | |
| private boolean | |
| private BigInteger |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Object | clone()
Overrides java. Implements org. |
| public static X509CRLStoreSelector | Returns: An instance of anX509CRLStoreSelector.A selector)X509CRLSelector instance.Returns an instance of this from a |
| 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(Object
the object to be matched. obj)Implements org. |
| public boolean | match(CRL
the object to be matched. crl)Overrides java. Implements org. |
| public void | setCompleteCRLEnabled(boolean
true if only complete CRLs
should be returned.If set to |
| public void | 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. |
| 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 | |
| X509CRLStoreSelector | back to summary |
|---|---|
| pack-priv X509CRLStoreSelector() | |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Implements org. Doc from java. Returns a copy of this object.
| |
| getInstance | back to summary |
|---|---|
| public static X509CRLStoreSelector getInstance(X509CRLSelector selector) Returns an instance of this from a
| |
| 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
| |
| 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(Object obj) Implements org. Doc from org. Match the passed in object, returning true if it would be selected by this selector, false otherwise.
| |
| match | back to summary |
|---|---|
| public boolean match(CRL crl) Overrides java. Implements org. Doc from org. Match the passed in object, returning true if it would be selected by this selector, false otherwise.
| |
| setCompleteCRLEnabled | back to summary |
|---|---|
| public void setCompleteCRLEnabled(boolean completeCRLEnabled) If set to
| |
| setDeltaCRLIndicatorEnabled | back to summary |
|---|---|
| public void setDeltaCRLIndicatorEnabled(boolean deltaCRLIndicator) 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.
| |