no.difi.certvalidator.api.ValidatorRule 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 java.security.cert.X509Certificate;
/**
* Defines a validator rule. Made as simple as possible by purpose.
*/
public interface ValidatorRule {
/**
* Validate certificate.
* @param certificate Certificate subject to validation.
* @throws CertificateValidationException
*/
void validate(X509Certificate certificate) throws CertificateValidationException;
}