You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by arushi sakhuja <ar...@newgen.co.in.INVALID> on 2020/04/29 09:02:24 UTC

Regarding which PDFBox version to be used

Dear Team,

 

Following is the already running workspace.

*         I am using bouncycastle version 1.49 (bcpkix-jdk15on-1.49.jar,
bcprov-jdk15on-1.49.jar) in my project.

*         Project compiles on java 1.5.

*         Ant build run on java 1.7.

 

Now we have to integrate PDFbox.

Please let me know which version of PDFbox will be compatible with above 3
points.

 

Thanks & Regards,

Arushi Sakhuja

 


Disclaimer :- This e-mail and any attachment may contain confidential, proprietary or legally privileged information. If you are not the original intended recipient and have erroneously received this message, you are prohibited from using, copying, altering or disclosing the content of this message. Please delete it immediately and notify the sender. Newgen Software Technologies Ltd (NSTL)  accepts no responsibilities for loss or damage arising from the use of the information transmitted by this email including damages from virus and further acknowledges that no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of NSTL.

Re: Regarding which PDFBox version to be used

Posted by Tilman Hausherr <TH...@t-online.de>.
Am 30.04.2020 um 06:37 schrieb arushi sakhuja:
> Hi Tilman,
>
> Thanks for replying.
>
> So none of the pdfbox versions will support BC 1.49 ?
> We will only have to upgrade to higher BC version or is there any
> workaround.

The best would be to update BC so that you can use PDFBox 2.0.19.

The second best would be to modify the 1.8 sources and then build. To 
see how "DERObject" was replaced, see the 2.0.* sources. This is less 
difficult than it seems, "createDERForRecipient" must return 
ASN1Primitive instead of DERObject, the last line is changed to "return 
contentInfo.toASN1Primitive();".

Tilman



>
> Thanks & Regards,
> Arushi Sakhuja
>
> -----Original Message-----
> From: Tilman Hausherr [mailto:THausherr@t-online.de]
> Sent: Wednesday, April 29, 2020 11:43 PM
> To: users@pdfbox.apache.org
> Subject: Re: Regarding which PDFBox version to be used
>
> Hi,
>
> It will not work with the 2.0.* versions because these require a higher BC
> version.
>
> I'm unable to test whether 1.8 works with 1.49, I didn't succeed in building
> the 1.8 project because DERObject doesn't exist in 1.49 anymore.
>
> Tilman
>
> Am 29.04.2020 um 11:02 schrieb arushi sakhuja:
>> Dear Team,
>>
>>    
>>
>> Following is the already running workspace.
>>
>> *         I am using bouncycastle version 1.49 (bcpkix-jdk15on-1.49.jar,
>> bcprov-jdk15on-1.49.jar) in my project.
>>
>> *         Project compiles on java 1.5.
>>
>> *         Ant build run on java 1.7.
>>
>>    
>>
>> Now we have to integrate PDFbox.
>>
>> Please let me know which version of PDFbox will be compatible with
>> above 3 points.
>>
>>    
>>
>> Thanks & Regards,
>>
>> Arushi Sakhuja
>>
>>    
>>
>>
>> Disclaimer :- This e-mail and any attachment may contain confidential,
> proprietary or legally privileged information. If you are not the original
> intended recipient and have erroneously received this message, you are
> prohibited from using, copying, altering or disclosing the content of this
> message. Please delete it immediately and notify the sender. Newgen Software
> Technologies Ltd (NSTL)  accepts no responsibilities for loss or damage
> arising from the use of the information transmitted by this email including
> damages from virus and further acknowledges that no binding nature of the
> message shall be implied or assumed unless the sender does so expressly with
> due authority of NSTL.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: users-help@pdfbox.apache.org
>
> Disclaimer :- This e-mail and any attachment may contain confidential, proprietary or legally privileged information. If you are not the original intended recipient and have erroneously received this message, you are prohibited from using, copying, altering or disclosing the content of this message. Please delete it immediately and notify the sender. Newgen Software Technologies Ltd (NSTL)  accepts no responsibilities for loss or damage arising from the use of the information transmitted by this email including damages from virus and further acknowledges that no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of NSTL.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: users-help@pdfbox.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org


RE: Regarding which PDFBox version to be used

Posted by arushi sakhuja <ar...@newgen.co.in.INVALID>.
Hi Tilman,

Thanks for replying.

So none of the pdfbox versions will support BC 1.49 ?
We will only have to upgrade to higher BC version or is there any
workaround.

Thanks & Regards,
Arushi Sakhuja 

-----Original Message-----
From: Tilman Hausherr [mailto:THausherr@t-online.de] 
Sent: Wednesday, April 29, 2020 11:43 PM
To: users@pdfbox.apache.org
Subject: Re: Regarding which PDFBox version to be used

Hi,

It will not work with the 2.0.* versions because these require a higher BC
version.

I'm unable to test whether 1.8 works with 1.49, I didn't succeed in building
the 1.8 project because DERObject doesn't exist in 1.49 anymore.

Tilman

Am 29.04.2020 um 11:02 schrieb arushi sakhuja:
> Dear Team,
>
>   
>
> Following is the already running workspace.
>
> *         I am using bouncycastle version 1.49 (bcpkix-jdk15on-1.49.jar,
> bcprov-jdk15on-1.49.jar) in my project.
>
> *         Project compiles on java 1.5.
>
> *         Ant build run on java 1.7.
>
>   
>
> Now we have to integrate PDFbox.
>
> Please let me know which version of PDFbox will be compatible with 
> above 3 points.
>
>   
>
> Thanks & Regards,
>
> Arushi Sakhuja
>
>   
>
>
> Disclaimer :- This e-mail and any attachment may contain confidential,
proprietary or legally privileged information. If you are not the original
intended recipient and have erroneously received this message, you are
prohibited from using, copying, altering or disclosing the content of this
message. Please delete it immediately and notify the sender. Newgen Software
Technologies Ltd (NSTL)  accepts no responsibilities for loss or damage
arising from the use of the information transmitted by this email including
damages from virus and further acknowledges that no binding nature of the
message shall be implied or assumed unless the sender does so expressly with
due authority of NSTL.
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org

Disclaimer :- This e-mail and any attachment may contain confidential, proprietary or legally privileged information. If you are not the original intended recipient and have erroneously received this message, you are prohibited from using, copying, altering or disclosing the content of this message. Please delete it immediately and notify the sender. Newgen Software Technologies Ltd (NSTL)  accepts no responsibilities for loss or damage arising from the use of the information transmitted by this email including damages from virus and further acknowledges that no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of NSTL.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org


Re: Regarding which PDFBox version to be used

Posted by Tilman Hausherr <TH...@t-online.de>.
Hi,

It will not work with the 2.0.* versions because these require a higher 
BC version.

I'm unable to test whether 1.8 works with 1.49, I didn't succeed in 
building the 1.8 project because DERObject doesn't exist in 1.49 anymore.

Tilman

Am 29.04.2020 um 11:02 schrieb arushi sakhuja:
> Dear Team,
>
>   
>
> Following is the already running workspace.
>
> *         I am using bouncycastle version 1.49 (bcpkix-jdk15on-1.49.jar,
> bcprov-jdk15on-1.49.jar) in my project.
>
> *         Project compiles on java 1.5.
>
> *         Ant build run on java 1.7.
>
>   
>
> Now we have to integrate PDFbox.
>
> Please let me know which version of PDFbox will be compatible with above 3
> points.
>
>   
>
> Thanks & Regards,
>
> Arushi Sakhuja
>
>   
>
>
> Disclaimer :- This e-mail and any attachment may contain confidential, proprietary or legally privileged information. If you are not the original intended recipient and have erroneously received this message, you are prohibited from using, copying, altering or disclosing the content of this message. Please delete it immediately and notify the sender. Newgen Software Technologies Ltd (NSTL)  accepts no responsibilities for loss or damage arising from the use of the information transmitted by this email including damages from virus and further acknowledges that no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of NSTL.
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org


Re: Regarding which PDFBox version to be used

Posted by Andreas Lehmkuehler <an...@lehmi.de>.
Am 29.04.20 um 11:02 schrieb arushi sakhuja:
> Dear Team,
> 
> Following is the already running workspace.
> 
> ·I am using bouncycastle version 1.49 (bcpkix-jdk15on-1.49.jar, 
> bcprov-jdk15on-1.49.jar) in my project.
> 
> ·Project compiles on java 1.5.
Are you really stuck to java 1.5? PDFBox 2.0.x has 1.6 as minimum requirement 
and I guess a lot of possible other dependencies have similar or more strict 
requirements if it comes to more recent versions.

Andreas

> 
> ·Ant build run on java 1.7.
> 
> Now we have to integrate PDFbox.
> 
> Please let me know which version of PDFbox will be compatible with above 3 points.
> 
> Thanks & Regards,
> 
> Arushi Sakhuja
> 
> 
> Disclaimer :- This e-mail and any attachment may contain confidential, proprietary or legally privileged information. If you are not the original intended recipient and have erroneously received this message, you are prohibited from using, copying, altering or disclosing the content of this message. Please delete it immediately and notify the sender. Newgen Software Technologies Ltd (NSTL)  accepts no responsibilities for loss or damage arising from the use of the information transmitted by this email including damages from virus and further acknowledges that no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of NSTL.
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org