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

org.jscep.client.verification.CertificateVerifier Maven / Gradle / Ivy

There is a newer version: 2.5.6
Show newest version
package org.jscep.client.verification;

import java.security.cert.X509Certificate;

import org.jscep.client.CertificateVerificationCallback;

/**
 * Interface for verifying the identity of a given certificate.
 * 
 * @see CertificateVerificationCallback
 */
public interface CertificateVerifier {
    /**
     * Verifies the certificate.
     * 
     * @param cert
     *            the certificate to verify.
     * @return {@code true} if the identity of the certificate can be verified,
     *         {@code false} otherwise.
     */
    boolean verify(X509Certificate cert);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy