@DoNotObfuscate
public final class SignatureFieldValidator
extends com.pdfunit.validators.AbstractValidator
| Modifier | Constructor and Description | 
|---|---|
protected  | 
SignatureFieldValidator(DocumentValidator documentValidator)  | 
| Modifier and Type | Method and Description | 
|---|---|
SignatureFieldValidator | 
coveringWholeDocument()
Verifiying that the current signature covers the whole document. 
 | 
SignatureFieldValidator | 
hasSignatureField(java.lang.String expectedFieldName)
This method checks that a signature field with the given name exists. 
 | 
SignatureFieldValidator | 
signedBy(java.lang.String expectedName)
This method validates that the name of the current signature is the same as 
 the expected name. 
 | 
SignatureFieldValidator | 
signedOn(java.util.Calendar expectedSigningDate)
This method verifies that the signing date of the signature of the current field
 is the same as the given parameter. 
 | 
SignatureFieldValidator | 
withoutSignature()
This method does what the name suggests. 
 | 
SignatureFieldValidator | 
withReason(java.lang.String expectedReason)
This method verifies that the reason of the current signature is equals to the expected value. 
 | 
SignatureFieldValidator | 
withSignature()  | 
protected SignatureFieldValidator(DocumentValidator documentValidator)
public SignatureFieldValidator coveringWholeDocument()
@Guarded public SignatureFieldValidator hasSignatureField(java.lang.String expectedFieldName)
This method creates always a valid instance of IFieldSignature, it never returns null.
public SignatureFieldValidator withSignature()
@Guarded public SignatureFieldValidator signedBy(java.lang.String expectedName)
@Guarded public SignatureFieldValidator signedOn(java.util.Calendar expectedSigningDate)
@Guarded public SignatureFieldValidator withoutSignature()
@Guarded public SignatureFieldValidator withReason(java.lang.String expectedReason)
Copyright (C) PDFUnit.com. See here for license.