Package eu.europa.esig.dss.xades
Class DSSObject
java.lang.Object
eu.europa.esig.dss.xades.DSSObject
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the content of the ds:Object element to be createdGets the encoding algorithmgetId()Gets the IdGets the MimeTypevoidsetContent(DSSDocument content) Sets the content of ds:Object element to be created Can be XML or any other format (e.g. base64 encoded)voidsetEncodingAlgorithm(String encodingAlgorithm) Sets the value for the "encoding" attributevoidSets the value for the "Id" attributevoidsetMimeType(String mimeType) Sets the value for the "MimeType" attributetoString()
-
Constructor Details
-
DSSObject
public DSSObject()Default constructor
-
-
Method Details
-
getContent
Gets the content of the ds:Object element to be created- Returns:
DSSDocument
-
setContent
Sets the content of ds:Object element to be created Can be XML or any other format (e.g. base64 encoded)- Parameters:
content-DSSDocument
-
getId
-
setId
-
getMimeType
-
setMimeType
-
getEncodingAlgorithm
-
setEncodingAlgorithm
-
toString
-