Class SignerValidationResult
- java.lang.Object
-
- es.gob.afirma.signature.validation.SignerValidationResult
-
- All Implemented Interfaces:
java.io.Serializable
public class SignerValidationResult extends java.lang.Object implements java.io.SerializableClass that contains all the information related to the result of a signer or counter-signer validation process.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.1, 13/04/2020.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SignerValidationResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetErrorMsg()Gets the value of the attributeerrorMsg.java.lang.StringgetFormat()Gets the value of the attributeformat.java.security.cert.X509CertificategetLastArchiveTst()Gets the value of the attributelastArchiveTst.java.util.List<SignerValidationResult>getListCounterSignersValidationsResults()Gets the value of the attributelistCounterSignersValidationsResults.java.util.List<TimestampValidationResult>getListTimestampsValidations()Gets the value of the attributelistTimestampsValidations.java.util.List<ValidationInfo>getListValidations()Gets the value of the attributelistValidations.java.security.cert.X509CertificategetSigningCertificate()Gets the value of the attributesigningCertificate.booleanisCorrect()Gets the value of the attributeisCorrect.voidsetCorrect(boolean isCorrectParam)Sets the value of the attributeisCorrect.voidsetErrorMsg(java.lang.String errorMsgParam)Sets the value of the attributeerrorMsg.voidsetFormat(java.lang.String formatParam)Sets the value of the attributeformat.voidsetLastArchiveTst(java.security.cert.X509Certificate lastArchiveTst)Sets the value of the attributelastArchiveTst.voidsetListCounterSignersValidationsResults(java.util.List<SignerValidationResult> listCounterSignersValidationsResultsParam)Sets the value of the attributelistCounterSignersValidationsResults.voidsetListTimestampsValidations(java.util.List<TimestampValidationResult> listTimestampsValidationsParam)Sets the value of the attributelistTimestampsValidations.voidsetListValidations(java.util.List<ValidationInfo> listValidationsParam)Sets the value of the attributelistValidations.voidsetSigningCertificate(java.security.cert.X509Certificate signingCertificateParam)Sets the value of the attributesigningCertificate.
-
-
-
Method Detail
-
getFormat
public final java.lang.String getFormat()
Gets the value of the attributeformat.- Returns:
- the value of the attribute
format.
-
setFormat
public final void setFormat(java.lang.String formatParam)
Sets the value of the attributeformat.- Parameters:
formatParam- The value for the attributeformat.
-
isCorrect
public final boolean isCorrect()
Gets the value of the attributeisCorrect.- Returns:
- the value of the attribute
isCorrect.
-
setCorrect
public final void setCorrect(boolean isCorrectParam)
Sets the value of the attributeisCorrect.- Parameters:
isCorrectParam- The value for the attributeisCorrect.
-
getSigningCertificate
public final java.security.cert.X509Certificate getSigningCertificate()
Gets the value of the attributesigningCertificate.- Returns:
- the value of the attribute
signingCertificate.
-
setSigningCertificate
public final void setSigningCertificate(java.security.cert.X509Certificate signingCertificateParam)
Sets the value of the attributesigningCertificate.- Parameters:
signingCertificateParam- The value for the attributesigningCertificate.
-
getListValidations
public final java.util.List<ValidationInfo> getListValidations()
Gets the value of the attributelistValidations.- Returns:
- the value of the attribute
listValidations.
-
setListValidations
public final void setListValidations(java.util.List<ValidationInfo> listValidationsParam)
Sets the value of the attributelistValidations.- Parameters:
listValidationsParam- The value for the attributelistValidations.
-
getListTimestampsValidations
public final java.util.List<TimestampValidationResult> getListTimestampsValidations()
Gets the value of the attributelistTimestampsValidations.- Returns:
- the value of the attribute
listTimestampsValidations.
-
setListTimestampsValidations
public final void setListTimestampsValidations(java.util.List<TimestampValidationResult> listTimestampsValidationsParam)
Sets the value of the attributelistTimestampsValidations.- Parameters:
listTimestampsValidationsParam- The value for the attributelistTimestampsValidations.
-
getListCounterSignersValidationsResults
public final java.util.List<SignerValidationResult> getListCounterSignersValidationsResults()
Gets the value of the attributelistCounterSignersValidationsResults.- Returns:
- the value of the attribute
listCounterSignersValidationsResults.
-
setListCounterSignersValidationsResults
public final void setListCounterSignersValidationsResults(java.util.List<SignerValidationResult> listCounterSignersValidationsResultsParam)
Sets the value of the attributelistCounterSignersValidationsResults.- Parameters:
listCounterSignersValidationsResultsParam- The value for the attributelistCounterSignersValidationsResults.
-
getLastArchiveTst
public java.security.cert.X509Certificate getLastArchiveTst()
Gets the value of the attributelastArchiveTst.- Returns:
- the value of the attribute
lastArchiveTst.
-
setLastArchiveTst
public void setLastArchiveTst(java.security.cert.X509Certificate lastArchiveTst)
Sets the value of the attributelastArchiveTst.- Parameters:
lastArchiveTst- The value for the attributelastArchiveTst.
-
getErrorMsg
public final java.lang.String getErrorMsg()
Gets the value of the attributeerrorMsg.- Returns:
- the value of the attribute
errorMsg.
-
-