@DoNotObfuscate
public final class AllSignaturesValidator
extends com.pdfunit.validators.AbstractValidator
Modifier | Constructor and Description |
---|---|
protected |
AllSignaturesValidator(DocumentValidator documentValidator)
Creating a validator for a single field of an acro form in PDF documents.
|
Modifier and Type | Method and Description |
---|---|
AllSignaturesValidator |
allSigned() |
AllSignaturesValidator |
allUnsigned() |
void |
hasNumberOfSignatures(int expectedNumber)
This method verifies the given number of expected signatures.
|
AllSignaturesValidator |
hasSignatureFields()
This method verifies that reason of a signature is the same as given parameter.
|
void |
isSigned()
This method checks, that the current document contains at least one signature.
|
AllSignaturesValidator |
isSignedBy(java.lang.String expectedName) |
protected AllSignaturesValidator(DocumentValidator documentValidator)
public AllSignaturesValidator allSigned()
public AllSignaturesValidator allUnsigned()
@Guarded public void hasNumberOfSignatures(int expectedNumber)
public AllSignaturesValidator hasSignatureFields()
public void isSigned()
public AllSignaturesValidator isSignedBy(java.lang.String expectedName)
Copyright (C) PDFUnit.com. See here for license.