VerificationResult

Inheritance: java.lang.Object

public class VerificationResult

Instance to keep results of verification process.

Methods

Method Description
getProcessingTime() Returns the execution time of the process in milliseconds.
getTotalSignatures() Returns the total processed signatures
getSourceDocumentSize() Returns source document size in bytes
getDestinDocumentSize() Returns the destination document size.
getSucceeded() List of successfully verified signatures BaseSignature.
isValid() Returns true if Verification process was successful otherwise false.
setValid(boolean value) Returns true if Verification process was successful otherwise false.

getProcessingTime()

public final long getProcessingTime()

Returns the execution time of the process in milliseconds.

Returns: long

getTotalSignatures()

public final int getTotalSignatures()

Returns the total processed signatures

Returns: int

getSourceDocumentSize()

public final long getSourceDocumentSize()

Returns source document size in bytes

Returns: long

getDestinDocumentSize()

public final long getDestinDocumentSize()

Returns the destination document size. For verification this variable always contains zero.

Returns: long

getSucceeded()

public final List<BaseSignature> getSucceeded()

List of successfully verified signatures BaseSignature. Currently this property is not supported.

Returns: java.util.List<com.groupdocs.signature.domain.signatures.BaseSignature>

isValid()

public final boolean isValid()

Returns true if Verification process was successful otherwise false.

Returns: boolean

setValid(boolean value)

public final void setValid(boolean value)

Returns true if Verification process was successful otherwise false.

Parameters:

Parameter Type Description
value boolean