org.jscep.client.verification.OptimisticCertificateVerifier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jscep Show documentation
Show all versions of jscep Show documentation
Java implementation of the Simple Certificate Enrollment Protocol
package org.jscep.client.verification;
import java.security.cert.X509Certificate;
/**
* This {@code CertificateVerifier} always returns {@code true}.
*
* This implementation should only be used if you have no need to verify the CA
* certificate. This is not recommended.
*/
public final class OptimisticCertificateVerifier implements CertificateVerifier {
/**
* {@inheritDoc}
*/
@Override
public boolean verify(final X509Certificate cert) {
return true;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy