Class SignedDocument.SignedDocumentBuilder
java.lang.Object
se.idsec.signservice.integration.document.SignedDocument.SignedDocumentBuilder
- All Implemented Interfaces:
ObjectBuilder<SignedDocument>
- Enclosing class:
- SignedDocument
public static class SignedDocument.SignedDocumentBuilder
extends Object
implements ObjectBuilder<SignedDocument>
Builder for
SignedDocument
objects.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the object.Extensions for the object.The unique ID for this document (within the current operation).The MIME type of the signed document.signedContent
(String signedContent) The signed document as a Base64-encoded byte string.toString()
-
Method Details
-
id
The unique ID for this document (within the current operation).- Parameters:
id
- unique ID for this document- Returns:
this
.
-
signedContent
The signed document as a Base64-encoded byte string.- Parameters:
signedContent
- the signed document content (Base64-encoded)- Returns:
this
.
-
mimeType
The MIME type of the signed document. SeeDocumentType
for the supported types.- Parameters:
mimeType
- the MIME type for the signed document- Returns:
this
.
-
extension
Extensions for the object.- Returns:
this
.
-
build
Description copied from interface:ObjectBuilder
Builds the object.- Specified by:
build
in interfaceObjectBuilder<SignedDocument>
- Returns:
- the object
-
toString
-