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
References Deprecated
X509AttributeCertificate is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private Date | |
| private AttributeCertificateHolder | holder
References Deprecated
AttributeCertificateHolder is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private AttributeCertificateIssuer | issuer
References Deprecated
AttributeCertificateIssuer is deprecated or references (maybe indirectly) at least one deprecated element.
|
| 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. Returns a clone of this object. |
| private Set | |
| public X509AttributeCertificate | Returns: Returns the attribute certificate.
References Deprecated
X509AttributeCertificate is deprecated or references (maybe indirectly) at least one deprecated element.
Returns the attribute certificate which must be matched. |
| public Date | Returns: Returns the attributeCertificateValid.Get the criteria for the validity. |
| public AttributeCertificateHolder | Returns: Returns the holder.
References Deprecated
AttributeCertificateHolder is deprecated or references (maybe indirectly) at least one deprecated element.
Gets the holder. |
| public AttributeCertificateIssuer | Returns: Returns the issuer.
References Deprecated
AttributeCertificateIssuer is deprecated or references (maybe indirectly) at least one deprecated element.
Returns the issuer criterion. |
| 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. Decides if the given attribute certificate should be selected. |
| public void | setAttributeCert(X509AttributeCertificate
The attribute certificate to set. attributeCert)
References Deprecated
X509AttributeCertificate is deprecated or references (maybe indirectly) at least one deprecated element.
Set the attribute certificate to be matched. |
| 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)
References Deprecated
AttributeCertificateHolder is deprecated or references (maybe indirectly) at least one deprecated element.
Sets the holder. |
| public void | setIssuer(AttributeCertificateIssuer
The issuer to set. issuer)
References Deprecated
AttributeCertificateIssuer is deprecated or references (maybe indirectly) at least one deprecated element.
Sets the issuer the attribute certificate must have. |
| 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
References Deprecated
See corresponding docs for further information. | |
| attributeCertificateValid | back to summary |
|---|---|
| private Date attributeCertificateValid | |
| holder | back to summary |
|---|---|
| private AttributeCertificateHolder holder
References Deprecated
See corresponding docs for further information. | |
| issuer | back to summary |
|---|---|
| private AttributeCertificateIssuer issuer
References Deprecated
See corresponding docs for further information. | |
| 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()
References Deprecated
See corresponding docs for further information. 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()
References Deprecated
See corresponding docs for further information. Gets the holder.
| |
| getIssuer | back to summary |
|---|---|
| public AttributeCertificateIssuer getIssuer()
References Deprecated
See corresponding docs for further information. 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)
References Deprecated
See corresponding docs for further information. 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)
References Deprecated
See corresponding docs for further information. Sets the holder. If
| |
| setIssuer | back to summary |
|---|---|
| public void setIssuer(AttributeCertificateIssuer issuer)
References Deprecated
See corresponding docs for further information. 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.
| |