org.gudy.bouncycastle.x509
Class AttributeCertificateIssuer

java.lang.Object
  extended by org.gudy.bouncycastle.x509.AttributeCertificateIssuer
All Implemented Interfaces:
Cloneable, CertSelector, Selector

public class AttributeCertificateIssuer
extends Object
implements CertSelector, Selector

Carrying class for an attribute certificate issuer.


Constructor Summary
AttributeCertificateIssuer(X500Principal principal)
           
AttributeCertificateIssuer(X509Principal principal)
           
 
Method Summary
 Object clone()
           
 boolean equals(Object obj)
           
 Principal[] getPrincipals()
          Return any principal objects inside the attribute certificate issuer object.
 int hashCode()
           
 boolean match(Certificate cert)
           
 boolean match(Object obj)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeCertificateIssuer

public AttributeCertificateIssuer(X500Principal principal)
                           throws IOException
Throws:
IOException

AttributeCertificateIssuer

public AttributeCertificateIssuer(X509Principal principal)
Method Detail

getPrincipals

public Principal[] getPrincipals()
Return any principal objects inside the attribute certificate issuer object.

Returns:
an array of Principal objects (usually X500Principal)

clone

public Object clone()
Specified by:
clone in interface CertSelector
Specified by:
clone in interface Selector
Overrides:
clone in class Object

match

public boolean match(Certificate cert)
Specified by:
match in interface CertSelector

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

match

public boolean match(Object obj)
Specified by:
match in interface Selector