public final class UtilsSignatureOCSP
extends java.lang.Object
Class that contains methods related to the manage of signatures.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
| Modifier and Type | Method and Description |
|---|---|
static void |
validateCertificateViaOCSP(java.security.cert.X509Certificate certificateToValidate,
java.util.Date validationDate,
java.lang.String idClient)
Method that validates a certificate against an OCSP responder.
|
public static void validateCertificateViaOCSP(java.security.cert.X509Certificate certificateToValidate,
java.util.Date validationDate,
java.lang.String idClient)
throws SigningException
certificateToValidate - Parameter that represents the certificate to validate.validationDate - Parameter that represents the validation date.idClient - Parameter that represents the client application identifier.SigningException - If the method fails or the certificate isn't correct and valid.