public class

X509AttributeCertificateSelector

extends Object
implements Selector
java.lang.Object
   ↳ org.bouncycastle.cert.selector.X509AttributeCertificateSelector

Class Overview

This class is an Selector like implementation to select attribute certificates from a given set of criteria.

Summary

Public Methods
Object clone()
Returns a clone of this object.
X509AttributeCertificateHolder getAttributeCert()
Returns the attribute certificate holder which must be matched.
Date getAttributeCertificateValid()
Get the criteria for the validity.
AttributeCertificateHolder getHolder()
Gets the holder.
AttributeCertificateIssuer getIssuer()
Returns the issuer criterion.
BigInteger getSerialNumber()
Gets the serial number the attribute certificate must have.
Collection getTargetGroups()
Gets the target groups.
Collection getTargetNames()
Gets the target names.
boolean match(Object obj)
Decides if the given attribute certificate should be selected.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.bouncycastle.util.Selector

Public Methods

public Object clone ()

Returns a clone of this object.

Returns
  • the clone.

public X509AttributeCertificateHolder getAttributeCert ()

Returns the attribute certificate holder which must be matched.

Returns
  • Returns an X509AttributeCertificateHolder

public Date getAttributeCertificateValid ()

Get the criteria for the validity.

Returns
  • Returns the attributeCertificateValid.

public AttributeCertificateHolder getHolder ()

Gets the holder.

Returns
  • Returns the holder.

public AttributeCertificateIssuer getIssuer ()

Returns the issuer criterion.

Returns
  • Returns the issuer.

public BigInteger getSerialNumber ()

Gets the serial number the attribute certificate must have.

Returns
  • Returns the serialNumber.

public Collection getTargetGroups ()

Gets the target groups. The collection consists of GeneralName objects.

The returned collection is immutable.

Returns
  • The collection of target groups.

public Collection getTargetNames ()

Gets the target names. The collection consists of GeneralName objects.

The returned collection is immutable.

Returns
  • The collection of target names

public boolean match (Object obj)

Decides if the given attribute certificate should be selected.

Parameters
obj The X509AttributeCertificateHolder which should be checked.
Returns
  • true if the attribute certificate is a match false otherwise.