Package se.idsec.signservice.integration
Class SignatureResult.SignatureResultBuilder
java.lang.Object
se.idsec.signservice.integration.SignatureResult.SignatureResultBuilder
- All Implemented Interfaces:
ObjectBuilder<SignatureResult>
- Enclosing class:
- SignatureResult
public static class SignatureResult.SignatureResultBuilder
extends Object
implements ObjectBuilder<SignatureResult>
Builder for
SignatureResult
objects.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the object.correlationId
(String correlationId) The correlation ID.Extensions for the object.The ID for the signature operation.signedDocument
(SignedDocument signedDocument) signedDocuments
(Collection<? extends SignedDocument> signedDocuments) signerAssertionInformation
(SignerAssertionInformation signerAssertionInformation) Contains information about the signer's "authentication for signature" that was part of the signature operation.toString()
-
Method Details
-
id
The ID for the signature operation. This ID corresponds to the RequestID of the SignRequest and SignResponse.- Returns:
this
.
-
correlationId
The correlation ID. This is the ID that is used in all logging events.- Returns:
this
.
-
signedDocument
-
signedDocuments
public SignatureResult.SignatureResultBuilder signedDocuments(Collection<? extends SignedDocument> signedDocuments) -
clearSignedDocuments
-
signerAssertionInformation
public SignatureResult.SignatureResultBuilder signerAssertionInformation(SignerAssertionInformation signerAssertionInformation) Contains information about the signer's "authentication for signature" that was part of the signature operation.- Returns:
this
.
-
extension
Extensions for the object.- Returns:
this
.
-
build
Description copied from interface:ObjectBuilder
Builds the object.- Specified by:
build
in interfaceObjectBuilder<SignatureResult>
- Returns:
- the object
-
toString
-