Deprecated
use org.bouncycastle.cert.X509AttributeCertificateSelector and org.bouncycastle.cert.X509AttributeCertificateSelectorBuilder.
Selector like implementation to select
attribute certificates from a given set of criteria.
org.bouncycastle.x509.X509AttributeCertificate , org.bouncycastle.x509.X509Store
| Modifier and Type | Field and Description |
|---|---|
| private X509AttributeCertificate | attributeCert
Deprecated
as a consequence of
X509AttributeCertificate being deprecated.
|
| private Date | |
| private AttributeCertificateHolder | holder
Deprecated
as a consequence of
AttributeCertificateHolder being deprecated.
|
| private AttributeCertificateIssuer | issuer
Deprecated
as a consequence of
AttributeCertificateIssuer being deprecated.
|
| private BigInteger | |
| private Collection | |
| private Collection |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addTargetGroup(GeneralName
The group as GeneralName form (not group)null)Adds a target group criterion for the attribute certificate to the target information extension criteria. |
| public void | addTargetGroup(byte[]
a byte array containing the group in ASN.1 DER encoded form of a GeneralName name)Adds a target group criterion for the attribute certificate to the target information extension criteria. |
| public void | addTargetName(GeneralName
The name as a GeneralName (not name)null)Adds a target name criterion for the attribute certificate to the target information extension criteria. |
| public void | addTargetName(byte[]
a byte array containing the name in ASN.1 DER encoded form of a GeneralName name)Adds a target name criterion for the attribute certificate to the target information extension criteria. |
| public Object | Returns: the clone.Overrides java. Implements org. |
| private Set | |
| public X509AttributeCertificate | Returns: Returns the attribute certificate.
Deprecated
as a consequence of
Returns the attribute certificate which must be matched.
X509AttributeCertificate being deprecated.
|
| public Date | Returns: Returns the attributeCertificateValid.Get the criteria for the validity. |
| public AttributeCertificateHolder | Returns: Returns the holder.
Deprecated
as a consequence of
Gets the holder.
AttributeCertificateHolder being deprecated.
|
| public AttributeCertificateIssuer | Returns: Returns the issuer.
Deprecated
as a consequence of
Returns the issuer criterion.
AttributeCertificateIssuer being deprecated.
|
| public BigInteger | Returns: Returns the serialNumber.Gets the serial number the attribute certificate must have. |
| public Collection | |
| public Collection | |
| public boolean | Returns: true if the attribute certificate can be selected,
false otherwise.The attribute certificate which should be checked. obj)Implements org. |
| public void | setAttributeCert(X509AttributeCertificate
The attribute certificate to set. attributeCert)
Deprecated
as a consequence of
Set the attribute certificate to be matched.
X509AttributeCertificate being deprecated.
|
| public void | setAttributeCertificateValid(Date
The attribute certificate validation
time to set. attributeCertificateValid)Set the time, when the certificate must be valid. |
| public void | setHolder(AttributeCertificateHolder
The holder to set. holder)
Deprecated
as a consequence of
Sets the holder.
AttributeCertificateHolder being deprecated.
|
| public void | setIssuer(AttributeCertificateIssuer
The issuer to set. issuer)
Deprecated
as a consequence of
Sets the issuer the attribute certificate must have.
AttributeCertificateIssuer being deprecated.
|
| public void | setSerialNumber(BigInteger
The serialNumber to set. serialNumber)Sets the serial number the attribute certificate must have. |
| public void | setTargetGroups(Collection<E>
A collection of target groups. names)Adds a collection with target groups criteria. |
| public void | setTargetNames(Collection<E>
A collection of target names. names)Adds a collection with target names criteria. |
| attributeCert | back to summary |
|---|---|
| private X509AttributeCertificate attributeCert
Deprecated as a consequence of | |
| attributeCertificateValid | back to summary |
|---|---|
| private Date attributeCertificateValid | |
| holder | back to summary |
|---|---|
| private AttributeCertificateHolder holder
Deprecated as a consequence of | |
| issuer | back to summary |
|---|---|
| private AttributeCertificateIssuer issuer
Deprecated as a consequence of | |
| serialNumber | back to summary |
|---|---|
| private BigInteger serialNumber | |
| targetGroups | back to summary |
|---|---|
| private Collection<E> targetGroups | |
| targetNames | back to summary |
|---|---|
| private Collection<E> targetNames | |
| X509AttributeCertStoreSelector | back to summary |
|---|---|
| public X509AttributeCertStoreSelector() | |
| addTargetGroup | back to summary |
|---|---|
| public void addTargetGroup(GeneralName group) Adds a target group criterion for the attribute certificate to the target
information extension criteria. The Each attribute certificate may contain a target information extension limiting the servers where this attribute certificate can be used. If this extension is not present, the attribute certificate is not targeted and may be accepted by any server.
| |
| addTargetGroup | back to summary |
|---|---|
| public void addTargetGroup(byte[] name) throws IOException Adds a target group criterion for the attribute certificate to the target
information extension criteria. The Each attribute certificate may contain a target information extension limiting the servers where this attribute certificate can be used. If this extension is not present, the attribute certificate is not targeted and may be accepted by any server.
| |
| addTargetName | back to summary |
|---|---|
| public void addTargetName(GeneralName name) Adds a target name criterion for the attribute certificate to the target
information extension criteria. The Each attribute certificate may contain a target information extension limiting the servers where this attribute certificate can be used. If this extension is not present, the attribute certificate is not targeted and may be accepted by any server.
| |
| addTargetName | back to summary |
|---|---|
| public void addTargetName(byte[] name) throws IOException Adds a target name criterion for the attribute certificate to the target
information extension criteria. The Each attribute certificate may contain a target information extension limiting the servers where this attribute certificate can be used. If this extension is not present, the attribute certificate is not targeted and may be accepted by any server.
| |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Implements org. Returns a clone of this object.
| |
| extractGeneralNames | back to summary |
|---|---|
| private Set | |
| getAttributeCert | back to summary |
|---|---|
| public X509AttributeCertificate getAttributeCert()
Deprecated as a consequence of Returns the attribute certificate which must be matched.
| |
| getAttributeCertificateValid | back to summary |
|---|---|
| public Date getAttributeCertificateValid() Get the criteria for the validity.
| |
| getHolder | back to summary |
|---|---|
| public AttributeCertificateHolder getHolder()
Deprecated as a consequence of Gets the holder.
| |
| getIssuer | back to summary |
|---|---|
| public AttributeCertificateIssuer getIssuer()
Deprecated as a consequence of Returns the issuer criterion.
| |
| getSerialNumber | back to summary |
|---|---|
| public BigInteger getSerialNumber() Gets the serial number the attribute certificate must have.
| |
| getTargetGroups | back to summary |
|---|---|
| public Collection Gets the target groups. The collection consists of The returned collection is immutable.
| |
| getTargetNames | back to summary |
|---|---|
| public Collection Gets the target names. The collection consists of The returned collection is immutable.
| |
| match | back to summary |
|---|---|
| public boolean match(Object obj) Implements org. Decides if the given attribute certificate should be selected.
| |
| setAttributeCert | back to summary |
|---|---|
| public void setAttributeCert(X509AttributeCertificate attributeCert)
Deprecated as a consequence of Set the attribute certificate to be matched. If
| |
| setAttributeCertificateValid | back to summary |
|---|---|
| public void setAttributeCertificateValid(Date attributeCertificateValid) Set the time, when the certificate must be valid. If
| |
| setHolder | back to summary |
|---|---|
| public void setHolder(AttributeCertificateHolder holder)
Deprecated as a consequence of Sets the holder. If
| |
| setIssuer | back to summary |
|---|---|
| public void setIssuer(AttributeCertificateIssuer issuer)
Deprecated as a consequence of Sets the issuer the attribute certificate must have. If
| |
| setSerialNumber | back to summary |
|---|---|
| public void setSerialNumber(BigInteger serialNumber) Sets the serial number the attribute certificate must have. If
| |
| setTargetGroups | back to summary |
|---|---|
| public void setTargetGroups(Collection<E> names) throws IOException Adds a collection with target groups criteria. If
The collection consists of
| |
| setTargetNames | back to summary |
|---|---|
| public void setTargetNames(Collection<E> names) throws IOException Adds a collection with target names criteria. If The collection consists of either GeneralName objects or byte[] arrays representing DER encoded GeneralName structures.
| |