static void |
UtilsSignature.checkSubFilterConditionsISO320001(PDFSignatureDictionary dictionarySignature,
org.bouncycastle.cms.CMSSignedData signedData) |
The ISO 32000-1 specifies in section 12.8.3.3.1:
- adbe.pkcs7.detached: The original signed message digest over the document’s byte range shall
be incorporated as the normal PKCS#7 SignedData field.
|
static void |
UtilsSignatureOp.checkSubFilterConditionsISO320001(PDFSignatureDictionary dictionarySignature,
org.bouncycastle.cms.CMSSignedData signedData) |
The ISO 32000-1 specifies in section 12.8.3.3.1:
- adbe.pkcs7.detached: The original signed message digest over the document’s byte range shall
be incorporated as the normal PKCS#7 SignedData field.
|
static org.bouncycastle.cms.CMSSignedData |
UtilsSignature.getCMSSignature(PDFSignatureDictionary signatureDictionary) |
Method that obtains the SignedData contained inside of a signature dictionary of a PDF document.
|
static org.bouncycastle.cms.CMSSignedData |
UtilsSignatureOp.getCMSSignature(PDFSignatureDictionary signatureDictionary) |
Method that obtains the SignedData contained inside of a signature dictionary of a PDF document.
|
static void |
UtilsSignatureOp.validatePAdESBaselineMandatoryAttributes(PDFSignatureDictionary signatureDictionary,
org.bouncycastle.cms.CMSSignedData signedData,
java.util.Date validationDate) |
Method that checks, for the signature contained inside of a signature dictionary of a PDF document:
If the SignedData field is explicit.
If the signature contains the content-type attribute and it has the value "id-data".
If the signature dictionary doesn't contain /Cert entry.
If the signature dictionary contain the signing time inside of /M entry and it's after than the validation date.
|
static void |
UtilsSignatureOp.validatePAdESBaselineOptionalAttributes(PDFSignatureDictionary signatureDictionary,
org.bouncycastle.cms.CMSSignedData signedData) |
Method that checks, for the signature contained inside of a signature dictionary of a PDF document:
If the signature doesn't contain the signing-time attribute.
If the signature doesn't contain the counter-signature attribute.
If the signature doesn't contain the content-reference attribute.
If the signature doesn't contain the content-identifier attribute.
If the signature doesn't contain the content-hints attribute.
If the signature doesn't contain the commitment-type-indication attribute.
If the signature doesn't contain the signer-location attribute.
|
static boolean |
UtilsSignatureOp.validatePAdESBaselineStructurally(PDFSignatureDictionary signatureDictionary,
byte[] pdfDocument,
org.bouncycastle.cms.CMSSignedData signedData) |
Method that checks if a signature dictionary is valid against PAdES Baseline profile.
|
static void |
UtilsSignatureOp.validatePAdESBasicSigningTime(org.bouncycastle.cms.SignerInformation signerInformation,
java.util.Date validationDate,
java.security.cert.X509Certificate signingCertificate,
PDFSignatureDictionary signatureDictionary) |
Method that validates the signing time of a PAdES-Basic signature.
|
static void |
UtilsSignatureOp.validatePAdESBasicStructurally(PDFSignatureDictionary signatureDictionary,
byte[] pdfDocument,
org.bouncycastle.cms.CMSSignedData signedData) |
Method that validates the structure of a signature dictionary by PAdES-Basic signature form.
|
static void |
UtilsSignature.validatePAdESEnhancedMandatoryAttributes(PDFSignatureDictionary signatureDictionary,
org.bouncycastle.cms.CMSSignedData signedData) |
Method that validates the mandatory attributes for a PAdES enhanced signature.
|
static void |
UtilsSignatureOp.validatePAdESEnhancedMandatoryAttributes(PDFSignatureDictionary signatureDictionary,
org.bouncycastle.cms.CMSSignedData signedData) |
Method that validates the mandatory attributes for a PAdES enhanced signature.
|
static void |
UtilsSignatureOp.validatePAdESEnhancedStructurally(PDFSignatureDictionary signatureDictionary,
byte[] pdfDocument,
org.bouncycastle.cms.CMSSignedData signedData,
boolean isEPES) |
Method that checks if a signature dictionary is valid against PAdES Enhanced profile.
|
static void |
UtilsSignature.validatePAdESOptionalAttributes(PDFSignatureDictionary signatureDictionary,
org.bouncycastle.cms.CMSSignedData signedData,
boolean isEPES,
boolean isBasic) |
Method that validates the optional attributes for a PAdES signature.
|
static void |
UtilsSignatureOp.validatePAdESOptionalAttributes(PDFSignatureDictionary signatureDictionary,
org.bouncycastle.cms.CMSSignedData signedData,
boolean isEPES,
boolean isBasic) |
Method that validates the optional attributes for a PAdES signature.
|
static void |
UtilsSignatureOp.validatePAdESSigningTime(PDFSignatureDictionary signatureDictionary,
java.util.Date validationDate,
boolean isRequired) |
Method that validates if the signature dictionary has /M entry that entry must be a date with a valid format by PDF Referente and
that date must be before of the validation date.
|