de.rwh.utils.crypto.CertificateChecker Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of crypto-utils Show documentation
Show all versions of crypto-utils Show documentation
Utility library for reading and writing X509 certificates and keys. Also provides a simple certificate authority implementation based on the Bouncy Castle crypto library
package de.rwh.utils.crypto;
import java.security.KeyStore;
import java.security.cert.X509Certificate;
public interface CertificateChecker
{
String CERTIFICATE_WARNING_LOGGER_NAME = "certificate-warning-logger";
void checkClientCertificateAndScheduleWarning(KeyStore trustStore, X509Certificate certificate);
void checkServerCertificateAndScheduleWarning(KeyStore trustStore, X509Certificate certificate);
}