org.bouncycastle.jcajce
Class PKIXCertStoreSelector
java.lang.Object
|
+--org.bouncycastle.jcajce.PKIXCertStoreSelector
- All Implemented Interfaces:
- java.lang.Cloneable, Selector
- public class PKIXCertStoreSelector
- extends java.lang.Object
- implements Selector
This class is a Selector implementation for certificates.
- See Also:
Selector
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getCertificate
public java.security.cert.Certificate getCertificate()
- Return the specific certificate this selector is designed to match.
- Returns:
- a specific certificate where the selector has been configured explicitly.
match
public boolean match(java.lang.Object cert)
- Specified by:
match
in interface Selector
clone
public java.lang.Object clone()
- Specified by:
clone
in interface Selector
- Overrides:
clone
in class java.lang.Object
getCertificates
public static java.util.Collection getCertificates(PKIXCertStoreSelector selector,
CertStore certStore)
throws CertStoreException