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.
Parameters: group - The group as GeneralName form (not null)
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.
Parameters: name - a byte array containing the group in ASN.1 DER encoded form of a GeneralName throws: IOException - if a parsing error occurs.
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.
Parameters: 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.
Parameters: name - a byte array containing the name in ASN.1 DER encoded form of a GeneralName throws: IOException - if a parsing error occurs.
Gets the target groups. The collection consists of Lists
made up of an Integer in the first entry and a DER encoded
byte array or a String in the second entry.
Gets the target names. The collection consists of Lists
made up of an Integer in the first entry and a DER encoded
byte array or a String in the second entry.
Decides if the given attribute certificate should be selected.
Parameters: 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.
Parameters: attributeCert - The attribute certificate to set.
setAttributeCertificateValid
public void setAttributeCertificateValid(Date attributeCertificateValid)(Code)
Set the time, when the certificate must be valid. If null
is given any will do.
Parameters: attributeCertificateValid - The attribute certificate validationtime to set.