Class XAdESTimeStampType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<XAdESTimeStampType>

    public class XAdESTimeStampType
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Comparable<XAdESTimeStampType>

    Class that contains information related to a time-stamp contained inside of a XML signature.

    Project:

    Library for the integration with the services of @Firma, eVisor and TS@.

    Version:
    1.2, 14/03/2017.
    See Also:
    Serialized Form
    • Constructor Detail

      • XAdESTimeStampType

        public XAdESTimeStampType()
    • Method Detail

      • 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.
      • setTimestampGenerationDate

        public final void setTimestampGenerationDate​(java.util.Date timestampGenerationDateParam)
        Sets the value of the attribute timestampGenerationDate.
        Parameters:
        timestampGenerationDateParam - The value for the attribute timestampGenerationDate.
      • getAsn1Timestamp

        public final org.bouncycastle.tsp.TimeStampToken getAsn1Timestamp()
        Gets the value of the attribute asn1Timestamp.
        Returns:
        the value of the attribute asn1Timestamp.
      • setAsn1Timestamp

        public final void setAsn1Timestamp​(org.bouncycastle.tsp.TimeStampToken asn1TimestampParam)
        Sets the value of the attribute asn1Timestamp.
        Parameters:
        asn1TimestampParam - The value for the attribute asn1Timestamp.
      • getXmlTimestamp

        public final org.w3c.dom.Element getXmlTimestamp()
        Gets the value of the attribute xmlTimestamp.
        Returns:
        the value of the attribute xmlTimestamp.
      • setXmlTimestamp

        public final void setXmlTimestamp​(org.w3c.dom.Element xmlTimestampParam)
        Sets the value of the attribute xmlTimestamp.
        Parameters:
        xmlTimestampParam - The value for the attribute xmlTimestamp.
      • getTstCertificate

        public final java.security.cert.X509Certificate getTstCertificate()
        Gets the value of the attribute tstCertificate.
        Returns:
        the value of the attribute tstCertificate.
      • setTstCertificate

        public final void setTstCertificate​(java.security.cert.X509Certificate tstCertificateParam)
        Sets the value of the attribute tstCertificate.
        Parameters:
        tstCertificateParam - The value for the attribute tstCertificate.
      • compareTo

        public final int compareTo​(XAdESTimeStampType o)
        Specified by:
        compareTo in interface java.lang.Comparable<XAdESTimeStampType>
        See Also:
        Comparable.compareTo(java.lang.Object)
      • setCanonicalizationAlgorithm

        public final void setCanonicalizationAlgorithm​(java.lang.String canonicalizationAlgorithmParam)
        Sets the value of the attribute canonicalizationAlgorithm.
        Parameters:
        canonicalizationAlgorithmParam - The value for the attribute canonicalizationAlgorithm.