Package se.idsec.signservice.integration
Class SignRequestInput.SignRequestInputBuilder
java.lang.Object
se.idsec.signservice.integration.SignRequestInput.SignRequestInputBuilder
- All Implemented Interfaces:
ObjectBuilder<SignRequestInput>
- Enclosing class:
- SignRequestInput
public static class SignRequestInput.SignRequestInputBuilder
extends Object
implements ObjectBuilder<SignRequestInput>
Builder for
SignRequestInput
.-
Method Summary
Modifier and TypeMethodDescriptionauthnRequirements
(AuthnRequirements authnRequirements) The requirements that the sign requester has on the principal that is to perform the signature operation.build()
Builds the object.certificateRequirements
(SigningCertificateRequirements certificateRequirements) The requirements for the signature certificate that will be issued by the sign service.correlationId
(String correlationId) The correlation ID to use for this process.destinationUrl
(String destinationUrl) The signature service URL to where SignRequest messages should be posted.Extensions for the object.The SignService policy.The URL to which the user agent along with the sign response message should be directed after a signature operation.signatureAlgorithm
(String signatureAlgorithm) The algorithm identifier for the signature algorithm that should be used to sign the specified documents.signMessageParameters
(SignMessageParameters signMessageParameters) The sign message parameters that is used to build the sign message element that is included in the SignRequest.signRequesterID
(String signRequesterID) The entityID of the entity that requests a signature.tbsDocument
(TbsDocument tbsDocument) tbsDocuments
(Collection<? extends TbsDocument> tbsDocuments) toString()
-
Method Details
-
correlationId
The correlation ID to use for this process.- Returns:
this
.
-
policy
The SignService policy.- Returns:
this
.
-
signRequesterID
The entityID of the entity that requests a signature.- Returns:
this
.
-
returnUrl
The URL to which the user agent along with the sign response message should be directed after a signature operation.- Returns:
this
.
-
destinationUrl
The signature service URL to where SignRequest messages should be posted.- Returns:
this
.
-
signatureAlgorithm
The algorithm identifier for the signature algorithm that should be used to sign the specified documents.- Returns:
this
.
-
authnRequirements
public SignRequestInput.SignRequestInputBuilder authnRequirements(AuthnRequirements authnRequirements) The requirements that the sign requester has on the principal that is to perform the signature operation.- Returns:
this
.
-
certificateRequirements
public SignRequestInput.SignRequestInputBuilder certificateRequirements(SigningCertificateRequirements certificateRequirements) The requirements for the signature certificate that will be issued by the sign service.- Returns:
this
.
-
tbsDocument
-
tbsDocuments
public SignRequestInput.SignRequestInputBuilder tbsDocuments(Collection<? extends TbsDocument> tbsDocuments) -
clearTbsDocuments
-
signMessageParameters
public SignRequestInput.SignRequestInputBuilder signMessageParameters(SignMessageParameters signMessageParameters) The sign message parameters that is used to build the sign message element that is included in the SignRequest.- Returns:
this
.
-
extension
Extensions for the object.- Returns:
this
.
-
build
Description copied from interface:ObjectBuilder
Builds the object.- Specified by:
build
in interfaceObjectBuilder<SignRequestInput>
- Returns:
- the object
-
toString
-