[
https://issues.apache.org/jira/browse/PDFBOX-3311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15231983#comment-15231983
]
Andreas Lehmkühler commented on PDFBOX-3311:
--------------------------------------------
As far as I remember PDFBox relies on the BC-Provider as the generic one
doesn't support the needed algorithms.
How about using
{code}
Security#insertProviderAt(Provder, int)
{code}
to place "your" provider at a preferred position?
> Make SecurityHandlerFactory uses a genenic provider
> ---------------------------------------------------
>
> Key: PDFBOX-3311
> URL: https://issues.apache.org/jira/browse/PDFBOX-3311
> Project: PDFBox
> Issue Type: Wish
> Components: Crypto, Parsing
> Affects Versions: 2.0.0
> Reporter: Cyril Bremaud
> Labels: easyfix
> Fix For: 2.0.1, 2.1.0
>
>
> I would like to be able to use my own provider to sign encrypted files.
> Indeed, org.apache.pdfbox.pdmodel.encryption.SecurityHandlerFactory forces
> the use of org.bouncycastle.jce.provider.BouncyCastleProvider.
> A solution is to make SecurityHandlerFactory uses a java.security.Provider
> instead.
> Thank you.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]