Bouncy Castle Cryptography 1.28

org.bouncycastle.x509
Class AttributeCertificateIssuer

java.lang.Object
  extended byorg.bouncycastle.x509.AttributeCertificateIssuer
All Implemented Interfaces:
CertSelector, java.lang.Cloneable

public class AttributeCertificateIssuer
extends java.lang.Object
implements CertSelector

Carrying class for an attribute certificate issuer.


Constructor Summary
AttributeCertificateIssuer(X509Principal principal)
           
 
Method Summary
 java.lang.Object clone()
          Makes a copy of this CertSelector.
 java.security.Principal[] getPrincipals()
          Return any principal objects inside the attribue certificate issuer object.
 boolean match(Certificate cert)
          Decides whether a Certificate should be selected.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeCertificateIssuer

public AttributeCertificateIssuer(X509Principal principal)
Method Detail

getPrincipals

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

Returns:
an array of Principal objects (usually X500Principal)

clone

public java.lang.Object clone()
Description copied from interface: CertSelector
Makes a copy of this CertSelector. Changes to the copy will not affect the original and vice versa.

Specified by:
clone in interface CertSelector

match

public boolean match(Certificate cert)
Description copied from interface: CertSelector
Decides whether a Certificate should be selected.

Specified by:
match in interface CertSelector
Parameters:
cert - the Certificate to be checked
Returns:
true if the Certificate should be selected, false otherwise

Bouncy Castle Cryptography 1.28