Modifier | Constructor and Description |
---|---|
protected |
SignatureValidator(com.pdfunit.internal.spi.IDocument pdfDocument) |
Modifier and Type | Method and Description |
---|---|
SignatureValidator |
coveringWholeDocument()
Verifiying that the current signature covers the whole document.
|
SignatureValidator |
hasSignature(java.lang.String signatureName) |
CertificateFieldValidator |
withCertificate()
This method prepares the validation for individual fields of a certicate.
|
SignatureValidator |
withNumberOfRevisions(int expectedNumberOfRevision)
Verifying that the number of revisions of the current signature is the same,
as the expected number given by the parameter.
|
SignatureValidator |
withReason(java.lang.String expectedReason)
This method checks that the reason, described by the current signature, is the
same as the expected reason.
|
SignatureValidator |
withRevision(int expectedRevisionNumber)
Verifying that the revision of the current signature is the same as the given parameter.
|
SignatureValidator |
withSigningDate(java.util.Calendar expectedSigningDate)
This method verifies that the signing date of the current signature is
the same as the given parameter.
|
SignatureValidator |
withSigningDate(java.util.Calendar expectedSigningDate,
DateResolution dateResolution)
This method verifies that the signing date of the current signature is
the same as the given parameter.
|
SignatureValidator |
withSigningName(java.lang.String expectedName)
This method checks that a signature with the expected name exists.
|
protected SignatureValidator(com.pdfunit.internal.spi.IDocument pdfDocument)
@Guarded public SignatureValidator hasSignature(java.lang.String signatureName)
@Guarded public SignatureValidator withSigningName(java.lang.String expectedName)
@Guarded public SignatureValidator withSigningDate(java.util.Calendar expectedSigningDate)
@Guarded public SignatureValidator withSigningDate(java.util.Calendar expectedSigningDate, DateResolution dateResolution)
@Guarded public SignatureValidator withRevision(int expectedRevisionNumber)
public SignatureValidator coveringWholeDocument()
public CertificateFieldValidator withCertificate()
@Guarded public SignatureValidator withReason(java.lang.String expectedReason)
@Guarded public SignatureValidator withNumberOfRevisions(int expectedNumberOfRevision)
Copyright (C) PDFUnit.com. See here for license.