Uses of Interface
eu.europa.esig.dss.enumerations.MimeType
Package
Description
-
Uses of MimeType in eu.europa.esig.dss
Modifier and TypeMethodDescriptionFileNameBuilder.setMimeType
(MimeType mimeType) Sets the document mimetype -
Uses of MimeType in eu.europa.esig.dss.asic.cades.signature.manifest
Modifier and TypeMethodDescriptionprotected abstract MimeType
ASiCEWithCAdESManifestBuilder.getSigReferenceMimeType()
Returns theMimeType
to be used for a signature reference (signature or timestamp)protected MimeType
ASiCWithCAdESSignatureManifestBuilder.getSigReferenceMimeType()
protected MimeType
ASiCWithCAdESTimestampManifestBuilder.getSigReferenceMimeType()
Modifier and TypeMethodDescriptionprotected void
AbstractManifestBuilder.addSigReference
(Document documentDom, Element asicManifestDom, String uri, MimeType mimeType) Adds a<SigReference>
element -
Uses of MimeType in eu.europa.esig.dss.asic.common
Modifier and TypeMethodDescriptionstatic MimeType
ASiCUtils.getMimeType
(ASiCParameters asicParameters) Returns a relevant MimeType for the provided parametersstatic MimeType
ASiCUtils.getMimeType
(DSSDocument mimeTypeDocument) Extracts and returns MimeType from the documentModifier and TypeMethodDescriptionstatic ASiCContainerType
ASiCUtils.getASiCContainerType
(MimeType asicMimeType) Returns relatedASiCContainerType
for the givenasicMimeType
static String
ASiCUtils.getZipComment
(MimeType mimeType) Returns a ZIP Comment String from the providedMimeType
static boolean
ASiCUtils.isASiCMimeType
(MimeType mimeType) Checks if the given MimeType is ASiC MimeTypestatic boolean
ASiCUtils.isOpenDocumentMimeType
(MimeType mimeType) Checks if the given MimeType is OpenDocument MimeType -
Uses of MimeType in eu.europa.esig.dss.asic.common.signature
Modifier and TypeMethodDescriptionprotected String
AbstractASiCSignatureService.getFinalArchiveName
(DSSDocument originalFile, SigningOperation operation, MimeType containerMimeType) Generates and returns a final name for the archive to create -
Uses of MimeType in eu.europa.esig.dss.enumerations
Modifier and TypeMethodDescriptionstatic MimeType
This method returns the mime-type extrapolated from the file.static MimeType
MimeType.fromFileExtension
(String fileExtension) ReturnsMimeType
matching to the providedfileExtension
StringMimeTypeEnumLoader.fromFileExtension
(String fileExtension) MimeTypeLoader.fromFileExtension
(String fileExtension) ReturnsMimeType
matching to the providedfileExtension
Stringstatic MimeType
MimeType.fromFileName
(String fileName) This method returns the mime-type extrapolated from the file name.static MimeType
MimeType.fromMimeTypeString
(String mimeTypeString) This method returns the first representation of theMimeType
corresponding to the given mime-type string.MimeTypeEnumLoader.fromMimeTypeString
(String mimeTypeString) MimeTypeLoader.fromMimeTypeString
(String mimeTypeString) Returns aMimeType
matching the MimeTypeString
-
Uses of MimeType in eu.europa.esig.dss.jades
-
Uses of MimeType in eu.europa.esig.dss.jades.signature
Modifier and TypeMethodDescriptionJAdESBuilder.getMimeType()
Returns MimeType of the produce signature by the builderJAdESCompactBuilder.getMimeType()
JAdESSerializationBuilder.getMimeType()
-
Uses of MimeType in eu.europa.esig.dss.model
Modifier and TypeFieldDescriptionprotected MimeType
CommonDocument.mimeType
The MimeType of the documentModifier and TypeMethodDescriptionCommonDocument.getMimeType()
DSSDocument.getMimeType()
Returns the mime-type of theDSSDocument
.Modifier and TypeMethodDescriptionvoid
CommonDocument.setMimeType
(MimeType mimeType) void
DSSDocument.setMimeType
(MimeType mimeType) This method sets the mime-type of theDSSDocument
.ModifierConstructorDescriptionInMemoryDocument
(byte[] bytes, String name, MimeType mimeType) Creates dss document that retains the data in memoryInMemoryDocument
(InputStream inputStream, String name, MimeType mimeType) Creates dss document that retains the data in memory -
Uses of MimeType in eu.europa.esig.dss.signature
Modifier and TypeMethodDescriptionprotected String
AbstractSignatureService.getFinalDocumentName
(DSSDocument originalFile, SigningOperation operation, SignatureLevel level, MimeType containerMimeType) Generates and returns a final name for the document to createprotected String
AbstractSignatureService.getFinalDocumentName
(DSSDocument originalFile, SigningOperation operation, SignatureLevel level, SignaturePackaging packaging, MimeType containerMimeType) Generates and returns a final name for the document to create -
Uses of MimeType in eu.europa.esig.dss.validation
Modifier and TypeMethodDescriptionvoid
ManifestEntry.setMimeType
(MimeType mimeType) Sets the mimetype -
Uses of MimeType in eu.europa.esig.dss.xades
Modifier and TypeMethodDescriptionvoid
DSSObject.setMimeType
(MimeType mimeType) Deprecated.since DSS 5.12.