Package org.digidoc4j.impl.asic
Class OcspNonceValidator
java.lang.Object
org.digidoc4j.impl.asic.OcspNonceValidator
Validator of OCSP response NONCE extension
-
Constructor Summary
ConstructorDescriptionOcspNonceValidator
(eu.europa.esig.dss.xades.validation.XAdESSignature signature) Constructor of the validator -
Method Summary
Modifier and TypeMethodDescriptionboolean
isValid()
Method for asking if OCSP response is valid or not.
-
Constructor Details
-
OcspNonceValidator
public OcspNonceValidator(eu.europa.esig.dss.xades.validation.XAdESSignature signature) Constructor of the validator- Parameters:
signature
- Xades signature object
-
-
Method Details
-
isValid
public boolean isValid()Method for asking if OCSP response is valid or not.- Returns:
- True if OCSP response is valid, false otherwise.
-