[ 
https://issues.apache.org/jira/browse/PDFBOX-3984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16287532#comment-16287532
 ] 

Alexis Suter edited comment on PDFBOX-3984 at 12/12/17 12:30 PM:
-----------------------------------------------------------------

I have kept the new files in its own package to keep them distinguished. Maybe 
a helper-package would be nice, because there are multiple helpers around now.
Also I have created two new Exceptions: CertificateProccessingException to 
indicate an error with certificate Structure. And RevokedCertificateException, 
because the existing Exception (CertificateRevokedException) needs too much 
informations.
usage: 
{code:java}
exec:java -X 
-Dexec.mainClass="org.apache.pdfbox.examples.signature.validation.AddValidationInformation"
 -Dexec.args="${infile}"
{code}


was (Author: easerider):
I have kept the new files in its own package to keep them distinguished. Maybe 
a helper-package would be nice, because there are multiple helpers around now.
Also I have created two new Exceptions: CertificateProccessingException to 
indicate an error with certificate Structure. And RevokedCertificateException, 
because the existing Exception (CertificateRevokedException) needs too much 
informations.
usage: exec:java -X 
-Dexec.mainClass="org.apache.pdfbox.examples.signature.validation.AddValidationInformation"
 -Dexec.args="${infile}"

> Add validation data of signer to document
> -----------------------------------------
>
>                 Key: PDFBOX-3984
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3984
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Signing
>    Affects Versions: 2.0.7
>            Reporter: Alexis Suter
>         Attachments: SignatureValidation_v0.1.java.patch
>
>
> To support Long Term Validation of a signature, we need to add a 
> Valdiation-Dictionary to the document. Inside there is most importantly an 
> OCSP-Response of the signers. (can be multiple).
> As Defined in [PAdES 4|https://en.wikipedia.org/wiki/PAdES] the following 
> elements will be added to a document: A DSS (Document Security Store) linked 
> to the VRI(s) of the signature(s)
> At first I will provide an example.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to