Class XAdESSignerInfo

  • All Implemented Interfaces:
    java.io.Serializable

    public class XAdESSignerInfo
    extends java.lang.Object
    implements java.io.Serializable

    Class 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 Detail

      • XAdESSignerInfo

        public XAdESSignerInfo()
    • Method Detail

      • getSigningCertificate

        public final java.security.cert.X509Certificate getSigningCertificate()
        Gets the value of the attribute signingCertificate.
        Returns:
        the value of the attribute signingCertificate.
      • setSigningCertificate

        public final void setSigningCertificate​(java.security.cert.X509Certificate signingCertificateParam)
        Sets the value of the attribute signingCertificate.
        Parameters:
        signingCertificateParam - The value for the attribute signingCertificate.
      • setListCounterSigners

        public final void setListCounterSigners​(java.util.List<XAdESSignerInfo> listCounterSignersParam)
        Sets the value of the attribute listCounterSigners.
        Parameters:
        listCounterSignersParam - The value for the attribute listCounterSigners.
      • getErrorMsg

        public final java.lang.String getErrorMsg()
        Gets the value of the attribute errorMsg.
        Returns:
        the value of the attribute errorMsg.
      • setErrorMsg

        public final void setErrorMsg​(java.lang.String errorMsgParam)
        Sets the value of the attribute errorMsg.
        Parameters:
        errorMsgParam - The value for the attribute errorMsg.
      • getSignature

        public final org.apache.xml.security.signature.XMLSignature getSignature()
        Gets the value of the attribute signature.
        Returns:
        the value of the attribute signature.
      • setSignature

        public final void setSignature​(org.apache.xml.security.signature.XMLSignature signatureParam)
        Sets the value of the attribute signature.
        Parameters:
        signatureParam - The value for the attribute signature.
      • getElementSignature

        public final org.w3c.dom.Element getElementSignature()
        Gets the value of the attribute elementSignature.
        Returns:
        the value of the attribute elementSignature.
      • setElementSignature

        public final void setElementSignature​(org.w3c.dom.Element elementSignatureParam)
        Sets the value of the attribute elementSignature.
        Parameters:
        elementSignatureParam - The value for the attribute elementSignature.
      • setHasArchiveTimeStampElement

        public final void setHasArchiveTimeStampElement​(boolean hasArchiveTimeStampElementParam)
        Sets the value of the attribute hasArchiveTimeStampElement.
        Parameters:
        hasArchiveTimeStampElementParam - The value for the attribute hasArchiveTimeStampElement.
      • setListTimeStamps

        public final void setListTimeStamps​(java.util.List<XAdESTimeStampType> listTimeStampsParam)
        Sets the value of the attribute listTimeStamps.
        Parameters:
        listTimeStampsParam - The value for the attribute listTimeStamps.
      • getId

        public final java.lang.String getId()
        Gets the value of the attribute id.
        Returns:
        the value of the attribute id.
      • setId

        public final void setId​(java.lang.String idParam)
        Sets the value of the attribute id.
        Parameters:
        idParam - The value for the attribute id.
      • setQualifyingPropertiesElement

        public final void setQualifyingPropertiesElement​(org.w3c.dom.Element qualifyingPropertiesElementParam)
        Sets the value of the attribute qualifyingPropertiesElement.
        Parameters:
        qualifyingPropertiesElementParam - The value for the attribute qualifyingPropertiesElement.