java.lang.Object | |
↳ | org.bouncycastle.cert.selector.X509AttributeCertificateSelectorBuilder |
This class builds selectors according to the set criteria.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
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.
| |||||||||||
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
|
Adds a target group criterion for the attribute certificate to the target
information extension criteria. The X509AttributeCertificateHolder
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 X509AttributeCertificateHolder
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 )
|
---|
Set the attribute certificate to be matched. If null
is
given any will do.
attributeCert | The attribute certificate holder 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. |
---|