Bouncy Castle Cryptography Library 1.77.0

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

Inner Class Summary
static class PKIXCertStoreSelector.Builder
           
 
Method Summary
 java.lang.Object clone()
           
 java.security.cert.Certificate getCertificate()
          Return the specific certificate this selector is designed to match.
static java.util.Collection getCertificates(PKIXCertStoreSelector selector, CertStore certStore)
           
 boolean match(java.lang.Object cert)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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

Bouncy Castle Cryptography Library 1.77.0