Package es.gob.afirma.utils
Class UtilsSignatureOCSP
- java.lang.Object
-
- es.gob.afirma.utils.UtilsSignatureOCSP
-
public final class UtilsSignatureOCSP extends java.lang.ObjectClass that contains methods related to the manage of signatures.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.1, 18/04/2022.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidvalidateCertificateViaOCSP(java.security.cert.X509Certificate certificateToValidate, java.util.Date validationDate, java.lang.String idClient)Method that validates a certificate against an OCSP responder.
-
-
-
Method Detail
-
validateCertificateViaOCSP
public static void validateCertificateViaOCSP(java.security.cert.X509Certificate certificateToValidate, java.util.Date validationDate, java.lang.String idClient) throws SigningExceptionMethod that validates a certificate against an OCSP responder.- Parameters:
certificateToValidate- Parameter that represents the certificate to validate.validationDate- Parameter that represents the validation date.idClient- Parameter that represents the client application identifier.- Throws:
SigningException- If the method fails or the certificate isn't correct and valid.
-
-