Interface CertificateBucket
-
- All Superinterfaces:
Iterable<X509Certificate>
- All Known Implementing Classes:
CertificateBucketWrapper,KeyStoreCertificateBucket,SimpleCertificateBucket
public interface CertificateBucket extends Iterable<X509Certificate>
Defines bucket for certificate allowing customized storage of certificates.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default List<X509Certificate>asList()X509CertificatefindBySubject(X500Principal principal)Find certificate by subject.-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
-
-
-
Method Detail
-
findBySubject
X509Certificate findBySubject(X500Principal principal) throws CertificateBucketException
Find certificate by subject.- Parameters:
principal- Principal representing certificate to be found.- Returns:
- Certificate if found, otherwise null.
- Throws:
CertificateBucketException
-
asList
default List<X509Certificate> asList()
-
-