Class CoSignRequest

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    RequestServerCoSign

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

    Class that represents the request for the service to generate a co-signature.

    Project:

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

    Version:
    1.0, 24/11/2014.
    See Also:
    Serialized Form
    • Constructor Detail

      • CoSignRequest

        public CoSignRequest()
        Constructor method for the class CoSignRequest.java.
    • Method Detail

      • getTransactionId

        public final java.lang.String getTransactionId()
        Gets the value of the attribute transactionId.
        Returns:
        the value of the attribute transactionId.
      • setTransactionId

        public final void setTransactionId​(java.lang.String transactionIdParam)
        Sets the value of the attribute transactionId.
        Parameters:
        transactionIdParam - The value for the attribute transactionId.
      • setDocumentRepository

        public final void setDocumentRepository​(Repository documentRepositoryParam)
        Sets the value of the attribute documentRepository.
        Parameters:
        documentRepositoryParam - The value for the attribute documentRepository.
      • setSignatureRepository

        public final void setSignatureRepository​(Repository signatureRepositoryParam)
        Sets the value of the attribute signatureRepository.
        Parameters:
        signatureRepositoryParam - The value for the attribute signatureRepository.
      • getApplicationId

        public final java.lang.String getApplicationId()
        Gets the value of the attribute applicationId.
        Returns:
        the value of the attribute applicationId.
      • setApplicationId

        public final void setApplicationId​(java.lang.String applicationIdParam)
        Sets the value of the attribute applicationId.
        Parameters:
        applicationIdParam - The value for the attribute applicationId.
      • getKeySelector

        public final java.lang.String getKeySelector()
        Gets the value of the attribute keySelector.
        Returns:
        the value of the attribute keySelector.
      • setKeySelector

        public final void setKeySelector​(java.lang.String keySelectorParam)
        Sets the value of the attribute keySelector.
        Parameters:
        keySelectorParam - The value for the attribute keySelector.
      • setHashAlgorithm

        public final void setHashAlgorithm​(HashAlgorithmEnum hashAlgorithmParam)
        Sets the value of the attribute hashAlgorithm.
        Parameters:
        hashAlgorithmParam - The value for the attribute hashAlgorithm.
      • setSignaturePolicyIdentifier

        public final void setSignaturePolicyIdentifier​(java.lang.String signaturePolicyIdentifierParam)
        Sets the value of the attribute signaturePolicyIdentifier.
        Parameters:
        signaturePolicyIdentifierParam - The value for the attribute signaturePolicyIdentifier.
      • isIgnoreGracePeriod

        public final boolean isIgnoreGracePeriod()
        Gets the value of the attribute ignoreGracePeriod.
        Returns:
        the value of the attribute ignoreGracePeriod.
      • setIgnoreGracePeriod

        public final void setIgnoreGracePeriod​(boolean ignoreGracePeriodParam)
        Sets the value of the attribute ignoreGracePeriod.
        Parameters:
        ignoreGracePeriodParam - The value for the attribute ignoreGracePeriod.
      • getSignature

        public final byte[] getSignature()
        Gets the value of the attribute signature.
        Returns:
        the value of the attribute signature.
      • setSignature

        public final void setSignature​(byte[] signatureParam)
        Sets the value of the attribute signature.
        Parameters:
        signatureParam - The value for the attribute signature.
      • getDocument

        public final byte[] getDocument()
        Gets the value of the attribute document.
        Returns:
        the value of the attribute document.
      • setDocument

        public final void setDocument​(byte[] documentParam)
        Sets the value of the attribute document.
        Parameters:
        documentParam - The value for the attribute document.