Package es.gob.afirma.signature.xades
Class XAdESSignerInfo
- java.lang.Object
-
- es.gob.afirma.signature.xades.XAdESSignerInfo
-
- All Implemented Interfaces:
java.io.Serializable
public class XAdESSignerInfo extends java.lang.Object implements java.io.SerializableClass that represents the principal information related to a signer of a XAdES signature.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.2, 04/03/2020.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XAdESSignerInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.w3c.dom.ElementgetElementSignature()Gets the value of the attributeelementSignature.java.lang.StringgetErrorMsg()Gets the value of the attributeerrorMsg.java.lang.StringgetId()Gets the value of the attributeid.java.util.List<XAdESSignerInfo>getListCounterSigners()Gets the value of the attributelistCounterSigners.java.util.List<XAdESTimeStampType>getListTimeStamps()Gets the value of the attributelistTimeStamps.org.w3c.dom.ElementgetQualifyingPropertiesElement()Gets the value of the attributequalifyingPropertiesElement.org.apache.xml.security.signature.XMLSignaturegetSignature()Gets the value of the attributesignature.java.security.cert.X509CertificategetSigningCertificate()Gets the value of the attributesigningCertificate.booleanisHasArchiveTimeStampElement()Gets the value of the attributehasArchiveTimeStampElement.voidsetElementSignature(org.w3c.dom.Element elementSignatureParam)Sets the value of the attributeelementSignature.voidsetErrorMsg(java.lang.String errorMsgParam)Sets the value of the attributeerrorMsg.voidsetHasArchiveTimeStampElement(boolean hasArchiveTimeStampElementParam)Sets the value of the attributehasArchiveTimeStampElement.voidsetId(java.lang.String idParam)Sets the value of the attributeid.voidsetListCounterSigners(java.util.List<XAdESSignerInfo> listCounterSignersParam)Sets the value of the attributelistCounterSigners.voidsetListTimeStamps(java.util.List<XAdESTimeStampType> listTimeStampsParam)Sets the value of the attributelistTimeStamps.voidsetQualifyingPropertiesElement(org.w3c.dom.Element qualifyingPropertiesElementParam)Sets the value of the attributequalifyingPropertiesElement.voidsetSignature(org.apache.xml.security.signature.XMLSignature signatureParam)Sets the value of the attributesignature.voidsetSigningCertificate(java.security.cert.X509Certificate signingCertificateParam)Sets the value of the attributesigningCertificate.
-
-
-
Method Detail
-
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.
-
getListCounterSigners
public final java.util.List<XAdESSignerInfo> getListCounterSigners()
Gets the value of the attributelistCounterSigners.- Returns:
- the value of the attribute
listCounterSigners.
-
setListCounterSigners
public final void setListCounterSigners(java.util.List<XAdESSignerInfo> listCounterSignersParam)
Sets the value of the attributelistCounterSigners.- Parameters:
listCounterSignersParam- The value for the attributelistCounterSigners.
-
getErrorMsg
public final java.lang.String getErrorMsg()
Gets the value of the attributeerrorMsg.- Returns:
- the value of the attribute
errorMsg.
-
setErrorMsg
public final void setErrorMsg(java.lang.String errorMsgParam)
Sets the value of the attributeerrorMsg.- Parameters:
errorMsgParam- The value for the attributeerrorMsg.
-
getSignature
public final org.apache.xml.security.signature.XMLSignature getSignature()
Gets the value of the attributesignature.- Returns:
- the value of the attribute
signature.
-
setSignature
public final void setSignature(org.apache.xml.security.signature.XMLSignature signatureParam)
Sets the value of the attributesignature.- Parameters:
signatureParam- The value for the attributesignature.
-
getElementSignature
public final org.w3c.dom.Element getElementSignature()
Gets the value of the attributeelementSignature.- Returns:
- the value of the attribute
elementSignature.
-
setElementSignature
public final void setElementSignature(org.w3c.dom.Element elementSignatureParam)
Sets the value of the attributeelementSignature.- Parameters:
elementSignatureParam- The value for the attributeelementSignature.
-
isHasArchiveTimeStampElement
public final boolean isHasArchiveTimeStampElement()
Gets the value of the attributehasArchiveTimeStampElement.- Returns:
- the value of the attribute
hasArchiveTimeStampElement.
-
setHasArchiveTimeStampElement
public final void setHasArchiveTimeStampElement(boolean hasArchiveTimeStampElementParam)
Sets the value of the attributehasArchiveTimeStampElement.- Parameters:
hasArchiveTimeStampElementParam- The value for the attributehasArchiveTimeStampElement.
-
getListTimeStamps
public final java.util.List<XAdESTimeStampType> getListTimeStamps()
Gets the value of the attributelistTimeStamps.- Returns:
- the value of the attribute
listTimeStamps.
-
setListTimeStamps
public final void setListTimeStamps(java.util.List<XAdESTimeStampType> listTimeStampsParam)
Sets the value of the attributelistTimeStamps.- Parameters:
listTimeStampsParam- The value for the attributelistTimeStamps.
-
getId
public final java.lang.String getId()
Gets the value of the attributeid.- Returns:
- the value of the attribute
id.
-
setId
public final void setId(java.lang.String idParam)
Sets the value of the attributeid.- Parameters:
idParam- The value for the attributeid.
-
getQualifyingPropertiesElement
public final org.w3c.dom.Element getQualifyingPropertiesElement()
Gets the value of the attributequalifyingPropertiesElement.- Returns:
- the value of the attribute
qualifyingPropertiesElement.
-
setQualifyingPropertiesElement
public final void setQualifyingPropertiesElement(org.w3c.dom.Element qualifyingPropertiesElementParam)
Sets the value of the attributequalifyingPropertiesElement.- Parameters:
qualifyingPropertiesElementParam- The value for the attributequalifyingPropertiesElement.
-
-