Class CMSSignedDocument

    • Field Detail

      • signedData

        protected org.bouncycastle.cms.CMSSignedData signedData
    • Constructor Detail

      • CMSSignedDocument

        public CMSSignedDocument​(org.bouncycastle.cms.CMSSignedData data)
        The default constructor for CMSSignedDocument.
        Parameters:
        data - the CMSSignedData
    • Method Detail

      • openStream

        public InputStream openStream()
        Description copied from interface: DSSDocument
        Opens a InputStream on the DSSDocument contents. The type of the InputStream depends on the type of the DSSDocument.
        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: DSSDocument
        Returns the String representing the absolute path to the encapsulated document.
        Specified by:
        getAbsolutePath in interface DSSDocument
        Overrides:
        getAbsolutePath in class CommonDocument
        Returns:
        String representing the absolute path to the encapsulated document.