Package es.gob.afirma.mreport.items
Class IndividualSignature
- java.lang.Object
-
- es.gob.afirma.mreport.items.IndividualSignature
-
public class IndividualSignature extends java.lang.ObjectClass that represents the individual signature validation result parameters.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.0, 18/08/2020.
-
-
Constructor Summary
Constructors Constructor Description IndividualSignature(java.lang.String resultMajor, java.lang.String resultMinor, java.lang.String resultMessage, java.time.LocalDateTime localDateTime, java.util.LinkedHashMap<java.lang.String,java.lang.String> certInfo)Constructor with parameters for the IndividualSignature class
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.LinkedHashMap<java.lang.String,java.lang.String>getCertInfo()Gets the value of the attributetimestamp.java.lang.StringgetResultMajor()Gets the value of the attributeresultMajor.java.lang.StringgetResultMessage()Gets the value of the attributeresultMessage.java.lang.StringgetResultMinor()Gets the value of the attributeresultMinor.java.time.LocalDateTimegetTimestamp()Gets the value of the attributetimestamp.voidsetCertInfo(java.util.LinkedHashMap<java.lang.String,java.lang.String> certInfoParam)Sets the value of the attributecertInfo.voidsetResultMajor(java.lang.String resultMajorParam)Sets the value of the attributeresultMajor.voidsetResultMessage(java.lang.String resultMessageParam)Sets the value of the attributeresultMessage.voidsetResultMinor(java.lang.String resultMinorParam)Sets the value of the attributeresultMinor.voidsetTimestamp(java.time.LocalDateTime timestampParam)Sets the value of the attributetimestamp.
-
-
-
Constructor Detail
-
IndividualSignature
public IndividualSignature(java.lang.String resultMajor, java.lang.String resultMinor, java.lang.String resultMessage, java.time.LocalDateTime localDateTime, java.util.LinkedHashMap<java.lang.String,java.lang.String> certInfo)Constructor with parameters for the IndividualSignature class- Parameters:
resultMajor- the value of the attributeresultMajor.resultMinor- the value of the attributeresultMinor.resultMessage- the value of the attributeresultMessage.localDateTime- the value of the attributetimestamp.certInfo- the value of the attributecertInfo.
-
-
Method Detail
-
getResultMajor
public java.lang.String getResultMajor()
Gets the value of the attributeresultMajor.- Returns:
- the value of the attribute
resultMajor.
-
setResultMajor
public void setResultMajor(java.lang.String resultMajorParam)
Sets the value of the attributeresultMajor.- Parameters:
resultMajorParam- the value for the attributeresultMajorto set.
-
getResultMinor
public java.lang.String getResultMinor()
Gets the value of the attributeresultMinor.- Returns:
- the value of the attribute
resultMinor.
-
setResultMinor
public void setResultMinor(java.lang.String resultMinorParam)
Sets the value of the attributeresultMinor.- Parameters:
resultMinorParam- the value for the attributeresultMinorto set.
-
getResultMessage
public java.lang.String getResultMessage()
Gets the value of the attributeresultMessage.- Returns:
- the value of the attribute
resultMessage.
-
setResultMessage
public void setResultMessage(java.lang.String resultMessageParam)
Sets the value of the attributeresultMessage.- Parameters:
resultMessageParam- the value for the attributeresultMessageto set.
-
getTimestamp
public java.time.LocalDateTime getTimestamp()
Gets the value of the attributetimestamp.- Returns:
- the value of the attribute
timestamp.
-
setTimestamp
public void setTimestamp(java.time.LocalDateTime timestampParam)
Sets the value of the attributetimestamp.- Parameters:
timestampParam- the value for the attributetimestampto set.
-
getCertInfo
public java.util.LinkedHashMap<java.lang.String,java.lang.String> getCertInfo()
Gets the value of the attributetimestamp.- Returns:
- the value of the attribute
timestamp.
-
-