java.lang.Object
com.aspose.words.DigitalSignatureUtil
public class DigitalSignatureUtil
- extends java.lang.Object
Provides methods for signing document.
Since digital signature works with file content rather than Document Object Model these methods are put into a separate class.
Supported formats are #Error Cref: F:Aspose.FileFormat.Doc and #Error Cref: F:Aspose.FileFormat.Docx.
Method Summary |
static DigitalSignatureCollection | loadSignatures(java.lang.String fileName) | |
Loads digital signatures from document.
|
static void | removeAllSignatures(java.lang.String srcFileName, java.lang.String dstFileName) | |
Removes all digital signatures from source file and writes unsigned file to destination file.
|
DigitalSignatureUtil
public DigitalSignatureUtil()
-
-
Loads digital signatures from document.
- Parameters:
fileName
- Path to the document.
- Returns:
- Collection of digital signatures. Returns empty collection if file is not signed.
removeAllSignatures | |
public static void removeAllSignatures(java.lang.String srcFileName, java.lang.String dstFileName)
throws java.lang.Exception |
-
Removes all digital signatures from source file and writes unsigned file to destination file.
See Also:
Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
Aspose.Words Support Forum - our preferred method of support.