Uses of Interface
eu.europa.esig.dss.enumerations.MimeType
Package
Description
-
Uses of MimeType in eu.europa.esig.dss.asic.cades.signature.manifest
Modifier and TypeMethodDescriptionprotected MimeType
ASiCEWithCAdESArchiveManifestBuilder.getSigReferenceMimeType()
protected MimeType
ASiCWithCAdESSignatureManifestBuilder.getSigReferenceMimeType()
protected MimeType
ASiCWithCAdESTimestampManifestBuilder.getSigReferenceMimeType()
-
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 documentprotected abstract MimeType
AbstractASiCManifestBuilder.getSigReferenceMimeType()
(Optional) Returns theMimeType
to be used for a signature reference (signature or timestamp)Modifier 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.evidencerecord
Modifier and TypeMethodDescriptionprotected MimeType
ASiCEvidenceRecordManifestBuilder.getSigReferenceMimeType()
-
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
.ManifestEntry.getMimeType()
Gets the mimetypeModifier and TypeMethodDescriptionvoid
CommonDocument.setMimeType
(MimeType mimeType) void
DSSDocument.setMimeType
(MimeType mimeType) This method sets the mime-type of theDSSDocument
.void
ManifestEntry.setMimeType
(MimeType mimeType) Sets the mimetypeModifierConstructorDescriptionInMemoryDocument
(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 createFileNameBuilder.setMimeType
(MimeType mimeType) Sets the document mimetype