java.lang.Object | |
↳ | org.bouncycastle.x509.X509AttributeCertStoreSelector |
This class is deprecated.
use org.bouncycastle.cert.X509AttributeCertificateSelector and org.bouncycastle.cert.X509AttributeCertificateSelectorBuilder.
This class is an Selector
like implementation to select
attribute certificates from a given set of criteria.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds a target group criterion for the attribute certificate to the target
information extension criteria.
| |||||||||||
Adds a target group criterion for the attribute certificate to the target
information extension criteria.
| |||||||||||
Adds a target name criterion for the attribute certificate to the target
information extension criteria.
| |||||||||||
Adds a target name criterion for the attribute certificate to the target
information extension criteria.
| |||||||||||
Returns a clone of this object.
| |||||||||||
Returns the attribute certificate which must be matched.
| |||||||||||
Get the criteria for the validity.
| |||||||||||
Gets the holder.
| |||||||||||
Returns the issuer criterion.
| |||||||||||
Gets the serial number the attribute certificate must have.
| |||||||||||
Gets the target groups.
| |||||||||||
Gets the target names.
| |||||||||||
Decides if the given attribute certificate should be selected.
| |||||||||||
Set the attribute certificate to be matched.
| |||||||||||
Set the time, when the certificate must be valid.
| |||||||||||
Sets the holder.
| |||||||||||
Sets the issuer the attribute certificate must have.
| |||||||||||
Sets the serial number the attribute certificate must have.
| |||||||||||
Adds a collection with target groups criteria.
| |||||||||||
Adds a collection with target names criteria.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.bouncycastle.util.Selector
|
Adds a target group criterion for the attribute certificate to the target
information extension criteria. The X509AttributeCertificate
must contain at least one of the specified target groups.
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.
name | a byte array containing the group in ASN.1 DER encoded form of a GeneralName |
---|
IOException | if a parsing error occurs. |
---|
Adds a target group criterion for the attribute certificate to the target
information extension criteria. The X509AttributeCertificate
must contain at least one of the specified target groups.
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.
group | The group as GeneralName form (not null )
|
---|
Adds a target name criterion for the attribute certificate to the target
information extension criteria. The X509AttributeCertificate
must contain at least one of the specified target names.
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.
name | The name as a GeneralName (not null )
|
---|
Adds a target name criterion for the attribute certificate to the target
information extension criteria. The X509AttributeCertificate
must contain at least one of the specified target names.
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.
name | a byte array containing the name in ASN.1 DER encoded form of a GeneralName |
---|
IOException | if a parsing error occurs. |
---|
Returns the attribute certificate which must be matched.
Get the criteria for the validity.
Returns the issuer criterion.
Gets the serial number the attribute certificate must have.
Gets the target groups. The collection consists of GeneralName
objects.
The returned collection is immutable.
Gets the target names. The collection consists of GeneralName
objects.
The returned collection is immutable.
Decides if the given attribute certificate should be selected.
obj | The attribute certificate which should be checked. |
---|
true
if the attribute certificate can be selected,
false
otherwise.
Set the attribute certificate to be matched. If null
is
given any will do.
attributeCert | The attribute certificate to set. |
---|
Set the time, when the certificate must be valid. If null
is given any will do.
attributeCertificateValid | The attribute certificate validation time to set. |
---|
Sets the holder. If null
is given any will do.
holder | The holder to set. |
---|
Sets the issuer the attribute certificate must have. If null
is given any will do.
issuer | The issuer to set. |
---|
Sets the serial number the attribute certificate must have. If
null
is given any will do.
serialNumber | The serialNumber to set. |
---|
Adds a collection with target groups criteria. If null
is
given any will do.
The collection consists of GeneralName
objects or byte[]
names | A collection of target groups. |
---|
IOException | if a parsing error occurs. |
---|
Adds a collection with target names criteria. If null
is
given any will do.
The collection consists of either GeneralName objects or byte[] arrays representing DER encoded GeneralName structures.
names | A collection of target names. |
---|
IOException | if a parsing error occurs. |
---|