Class SignerStatus

java.lang.Object
no.digipost.signature.client.direct.SignerStatus

public final class SignerStatus extends Object
  • Field Details

    • REJECTED

      public static final SignerStatus REJECTED
      The signer has rejected to sign the document.
    • EXPIRED

      public static final SignerStatus EXPIRED
      The signer has not made a decision to either sign or reject the document within the specified time limit.
    • WAITING

      public static final SignerStatus WAITING
      The signer has yet to review the document and decide if she/he wants to sign or reject it.
    • SIGNED

      public static final SignerStatus SIGNED
      The signer has successfully signed the document.
    • FAILED

      public static final SignerStatus FAILED
      An unexpected error occured during the signing ceremony.
    • NOT_APPLICABLE

      public static final SignerStatus NOT_APPLICABLE
      The job has reached a state where the status of this signature is not applicable. This includes the case where a signer rejects to sign, and thus ending the job in a DirectJobStatus.FAILED state. Any remaining (previously WAITING) signatures are marked as NOT_APPLICABLE.
    • SIGNERS_NAME_NOT_AVAILABLE

      public static final SignerStatus SIGNERS_NAME_NOT_AVAILABLE
      Indicates that the service was unable to retrieve the signer's name.

      This happens when the signer's name is permanently unavailable in the lookup service, creating and signing a new signature job with the same signer will yield the same result.

      Only applicable for authenticated signatures where the sender requires signed documents to contain name as the signer's identifier.

  • Method Details

    • getIdentifier

      public String getIdentifier()
      Returns:
      the String identifier for this status.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object