Package org.bouncycastle.jcajce
Class PKIXCertStoreSelector<T extends Certificate>
java.lang.Object
org.bouncycastle.jcajce.PKIXCertStoreSelector<T>
This class is a Selector implementation for certificates.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for a PKIXCertStoreSelector. -
Method Summary
Modifier and TypeMethodDescriptionclone()Return the specific certificate this selector is designed to match.static Collection<? extends Certificate> getCertificates(PKIXCertStoreSelector selector, CertStore certStore) booleanmatch(Certificate cert) Match the passed in object, returning true if it would be selected by this selector, false otherwise.
-
Method Details
-
getCertificate
Return the specific certificate this selector is designed to match.- Returns:
- a specific certificate where the selector has been configured explicitly.
-
match
Description copied from interface:SelectorMatch the passed in object, returning true if it would be selected by this selector, false otherwise.- Specified by:
matchin interfaceSelector<T extends Certificate>- Parameters:
cert- the object to be matched.- Returns:
- true if the object is a match for this selector, false otherwise.
-
clone
-
getCertificates
public static Collection<? extends Certificate> getCertificates(PKIXCertStoreSelector selector, CertStore certStore) throws CertStoreException - Throws:
CertStoreException
-