public final class OCSPClient
extends java.lang.Object
Class that represents an OCSP client. It is implementing the RFC 2560 also taking care to support the lightweight profile recommendations defined in the RFC 5019.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
| Modifier and Type | Method and Description |
|---|---|
static OCSPEnhancedResponse |
validateCertificate(java.security.cert.X509Certificate certificateToValidate)
Method that validates a certificate against an OCSP responder.
|
static OCSPEnhancedResponse |
validateCertificate(java.security.cert.X509Certificate certificateToValidate,
java.lang.String idClient)
Method that validates a certificate against an OCSP responder.
|
public static OCSPEnhancedResponse validateCertificate(java.security.cert.X509Certificate certificateToValidate, java.lang.String idClient) throws OCSPClientException
certificateToValidate - Parameter that represents the certificate to validate.idClient - Parameter that represents the client application identifier.OCSPClientException - If the method fails.public static OCSPEnhancedResponse validateCertificate(java.security.cert.X509Certificate certificateToValidate) throws OCSPClientException
certificateToValidate - Parameter that represents the certificate to validate.OCSPClientException - If the method fails.