public final class SignaturesCompromiseDetector extends Object
Represents a class for checking compromising signatures of the document.
The detector checks only known ways to compromise signatures. Verification cannot provide a 100% guarantee of the absence of signature compromise and may yield a false negative result for new, unknown compromise methods different from those being tested.
| Constructor and Description |
|---|
SignaturesCompromiseDetector(IDocument document)
Creates an instance of
SignaturesCompromiseDetector class. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
check(CompromiseCheckResult[] compromiseCheckResult)
Check the digital signatures of the document for compromise.
|
public SignaturesCompromiseDetector(IDocument document)
Creates an instance of SignaturesCompromiseDetector class.
document - IDocument instancepublic final boolean check(CompromiseCheckResult[] compromiseCheckResult)
Check the digital signatures of the document for compromise.
compromiseCheckResult - The result of verification of the document.
The using of this method for a document in which there are no digital signatures will return True.
Copyright © 2025 Aspose. All Rights Reserved.