All Downloads are FREE. Search and download functionalities are using the official Maven repository.

no.difi.certvalidator.api.CertificateBucket Maven / Gradle / Ivy

There is a newer version: 2.2.1
Show newest version
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