Class SignerStatus
- java.lang.Object
-
- no.digipost.signature.client.direct.SignerStatus
-
public final class SignerStatus extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static SignerStatus
EXPIRED
The signer has not made a decision to either sign or reject the document within the specified time limit.static SignerStatus
FAILED
An unexpected error occured during the signing ceremony.static SignerStatus
NOT_APPLICABLE
The job has reached a state where the status of this signature is not applicable.static SignerStatus
REJECTED
The signer has rejected to sign the document.static SignerStatus
SIGNED
The signer has successfully signed the document.static SignerStatus
SIGNERS_NAME_NOT_AVAILABLE
Indicates that the service was unable to retrieve the signer's name.static SignerStatus
WAITING
The signer has yet to review the document and decide if she/he wants to sign or reject it.
-
-
-
Field Detail
-
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 aDirectJobStatus.FAILED
state. Any remaining (previouslyWAITING
) signatures are marked asNOT_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 containname
asthe signer's identifier
.
-
-
Method Detail
-
getIdentifier
public String getIdentifier()
- Returns:
- the String identifier for this status.
-
-