Class DirectJob.Builder
java.lang.Object
no.digipost.signature.client.direct.DirectJob.Builder
- All Implemented Interfaces:
JobCustomizations<DirectJob.Builder>
- Enclosing class:
DirectJob
public static class DirectJob.Builder
extends Object
implements JobCustomizations<DirectJob.Builder>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Specify the minimum level of authentication of the signer(s) of this job.retrieveStatusBy(StatusRetrievalMethod statusRetrievalMethod) withDescription(String description) Specify how the signer(s) of this job should be identified in the signed documents (XAdES and PAdES); bypersonal identification number and name,date of birth and nameorname only.withReference(String reference) Set a custom reference that is attached to the job.withReference(UUID uuid) Set anUUIDas custom reference that is attached to the job.withSender(Sender sender) Set the sender for this specific signature job.
-
Method Details
-
withReference
Description copied from interface:JobCustomizationsSet anUUIDas custom reference that is attached to the job.- Specified by:
withReferencein interfaceJobCustomizations<DirectJob.Builder>- Parameters:
uuid- theUUIDto use as reference.
-
withDescription
-
withReference
Description copied from interface:JobCustomizationsSet a custom reference that is attached to the job.- Specified by:
withReferencein interfaceJobCustomizations<DirectJob.Builder>- Parameters:
reference- the reference
-
withSender
Description copied from interface:JobCustomizationsSet the sender for this specific signature job.You may use
ClientConfiguration.Builder.defaultSender(Sender)to specify a global sender used for all signature jobs.- Specified by:
withSenderin interfaceJobCustomizations<DirectJob.Builder>
-
requireAuthentication
Description copied from interface:JobCustomizationsSpecify the minimum level of authentication of the signer(s) of this job. This includes the required authentication both in order to view the document, as well as it will limit which authentication mechanisms offered at the time of signing the document.- Specified by:
requireAuthenticationin interfaceJobCustomizations<DirectJob.Builder>- Parameters:
level- the required minimumAuthenticationLevel.
-
withIdentifierInSignedDocuments
Description copied from interface:JobCustomizationsSpecify how the signer(s) of this job should be identified in the signed documents (XAdES and PAdES); bypersonal identification number and name,date of birth and nameorname only.Not all options are available to every sender, this is detailed in the service's functional documentation.
- Specified by:
withIdentifierInSignedDocumentsin interfaceJobCustomizations<DirectJob.Builder>- Parameters:
identifier- the identifier type
-
retrieveStatusBy
-
build
-