org.bouncycastle.x509
Class AttributeCertificateIssuer
java.lang.Object
|
+--org.bouncycastle.x509.AttributeCertificateIssuer
- All Implemented Interfaces:
- CertSelector, java.lang.Cloneable, Selector
- public class AttributeCertificateIssuer
- extends java.lang.Object
- implements CertSelector, Selector
Carrying class for an attribute certificate issuer.
Method Summary |
java.lang.Object |
clone()
Makes a copy of this CertSelector. |
boolean |
equals(java.lang.Object obj)
|
java.security.Principal[] |
getPrincipals()
Return any principal objects inside the attribute certificate issuer object. |
int |
hashCode()
|
boolean |
match(java.security.cert.Certificate cert)
Decides whether a Certificate should be selected. |
boolean |
match(java.lang.Object obj)
|
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
AttributeCertificateIssuer
public AttributeCertificateIssuer(X509Principal principal)
getPrincipals
public java.security.Principal[] getPrincipals()
- Return any principal objects inside the attribute certificate issuer object.
- Returns:
- an array of Principal objects (usually X509Principal)
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
- Overrides:
clone
in class java.lang.Object
- Following copied from interface:
org.bouncycastle.jce.cert.CertSelector
- Returns:
- a copy of this CertSelector
match
public boolean match(java.security.cert.Certificate cert)
- Description copied from interface:
CertSelector
- Decides whether a Certificate should be selected.
- Specified by:
match
in interface CertSelector
- Following copied from interface:
org.bouncycastle.jce.cert.CertSelector
- Parameters:
cert
- the Certificate to be checked- Returns:
- true if the Certificate
should be selected, false otherwise
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
match
public boolean match(java.lang.Object obj)
- Specified by:
match
in interface Selector