Package org.bouncycastle.jcajce
Class PKIXCertStoreSelector<T extends java.security.cert.Certificate>
- java.lang.Object
-
- org.bouncycastle.jcajce.PKIXCertStoreSelector<T>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PKIXCertStoreSelector.Builder
Builder for a PKIXCertStoreSelector.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
clone()
java.security.cert.Certificate
getCertificate()
Return the specific certificate this selector is designed to match.static java.util.Collection<? extends java.security.cert.Certificate>
getCertificates(PKIXCertStoreSelector selector, java.security.cert.CertStore certStore)
boolean
match(java.security.cert.Certificate cert)
Match the passed in object, returning true if it would be selected by this selector, false otherwise.
-
-
-
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.security.cert.Certificate cert)
Description copied from interface:Selector
Match the passed in object, returning true if it would be selected by this selector, false otherwise.
-
clone
public java.lang.Object clone()
-
getCertificates
public static java.util.Collection<? extends java.security.cert.Certificate> getCertificates(PKIXCertStoreSelector selector, java.security.cert.CertStore certStore) throws java.security.cert.CertStoreException
- Throws:
java.security.cert.CertStoreException
-
-