CompromiseCheckResult

Inheritance: java.lang.Object, com.aspose.pdf.signatures.CompromiseCheckResult

public final class CompromiseCheckResult extends Object

Represents a class for checking document digital signatures for compromise.

Fields

FieldDescription
CompromisedSignaturesGets a collection of digital signatures that have been identified as compromised. This property contains the list of all compromised signatures detected in the document.

Methods

MethodDescription
getSignaturesCoverageGets the coverage state of digital signatures in a document. If it is equal to {@code SignaturesCoverage#Undefined}, then one of the signatures is compromised.
hasCompromisedSignaturesIndicates whether there are any compromised digital signatures in the document. Returns true if at least one signature is compromised; otherwise, false.

CompromisedSignatures

public final List < SignatureName > CompromisedSignatures

Gets a collection of digital signatures that have been identified as compromised. This property contains the list of all compromised signatures detected in the document.

getSignaturesCoverage

public final int getSignaturesCoverage()

Gets the coverage state of digital signatures in a document. If it is equal to {@code SignaturesCoverage#Undefined}, then one of the signatures is compromised.

Returns: SignaturesCoverage element

hasCompromisedSignatures

public final boolean hasCompromisedSignatures()

Indicates whether there are any compromised digital signatures in the document. Returns true if at least one signature is compromised; otherwise, false.

Returns: boolean value