Class CMSSignedDocument
- java.lang.Object
-
- eu.europa.esig.dss.model.CommonDocument
-
- eu.europa.esig.dss.cades.signature.CMSSignedDocument
-
- All Implemented Interfaces:
DSSDocument,Serializable
public class CMSSignedDocument extends CommonDocument
A document composed by a CMSSignedData- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected org.bouncycastle.cms.CMSSignedDatasignedData-
Fields inherited from class eu.europa.esig.dss.model.CommonDocument
absolutePath, base64EncodeDigestMap, mimeType, name
-
-
Constructor Summary
Constructors Constructor Description CMSSignedDocument(org.bouncycastle.cms.CMSSignedData data)The default constructor for CMSSignedDocument.
-
Method Summary
Modifier and Type Method Description StringgetAbsolutePath()Returns theStringrepresenting the absolute path to the encapsulated document.StringgetBase64Encoded()byte[]getBytes()org.bouncycastle.cms.CMSSignedDatagetCMSSignedData()InputStreamopenStream()Opens aInputStreamon theDSSDocumentcontents.-
Methods inherited from class eu.europa.esig.dss.model.CommonDocument
getDigest, getMimeType, getName, save, setAbsolutePath, setMimeType, setName, toString, writeTo
-
-
-
-
Method Detail
-
openStream
public InputStream openStream()
Description copied from interface:DSSDocumentOpens aInputStreamon theDSSDocumentcontents. The type of theInputStreamdepends on the type of theDSSDocument.- Returns:
- an
InputStream
-
getCMSSignedData
public org.bouncycastle.cms.CMSSignedData getCMSSignedData()
- Returns:
- the signedData
-
getBytes
public byte[] getBytes()
-
getBase64Encoded
public String getBase64Encoded()
-
getAbsolutePath
public String getAbsolutePath()
Description copied from interface:DSSDocumentReturns theStringrepresenting the absolute path to the encapsulated document.- Specified by:
getAbsolutePathin interfaceDSSDocument- Overrides:
getAbsolutePathin classCommonDocument- Returns:
Stringrepresenting the absolute path to the encapsulated document.
-
-