![JAR search and dependency download from the Maven repository](/logo.png)
no.difi.certvalidator.api.CertificateBucket Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commons-certvalidator Show documentation
Show all versions of commons-certvalidator Show documentation
Rule engine for creation of certificate validator.
package no.difi.certvalidator.api;
import javax.security.auth.x500.X500Principal;
import java.security.cert.X509Certificate;
/**
* Defines bucket for certificate allowing customized storage of certificates.
*/
public interface CertificateBucket extends Iterable {
/**
* Find certificate by subject.
*
* @param principal Principal representing certificate to be found.
* @return Certificate if found, otherwise null.
* @throws CertificateBucketException
*/
X509Certificate findBySubject(X500Principal principal) throws CertificateBucketException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy