You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by Tasha Keppler <ta...@epolk.com> on 2013/04/05 17:43:53 UTC

RE: Rubber Stamp/saving error

Hi,

Has anyone encountered this error (I'm using psfbox in a vb.net application):

org.apache.pdfbox.exceptions.COSVisitorException: class configured for MessageDigest(provider: SUN)cannot be found.

What does this mean? What can I do to correct it?

Thanks for your help!

Tasha


-----Original Message-----
From: Tasha Keppler [mailto:tasha@epolk.com] 
Sent: Tuesday, March 26, 2013 4:40 PM
To: users@pdfbox.apache.org
Subject: Rubber Stamp/saving error

Hi all,

I'm trying to create a rubber stamp using pdfbox in a vb.net application. Since I'm new at using this tool, I tried programming loading a PDF and then saving as a different name. I'm getting this error:


org.apache.pdfbox.exceptions.COSVisitorException: class configured for MessageDigest(provider: SUN)cannot be found.

Can you point me in the right direction for troubleshooting? Let me know if you need more information.

Thanks!

Tasha

Re: Rubber Stamp/saving error

Posted by Andreas Lehmkuehler <an...@lehmi.de>.
Hi,


Am 08.04.2013 23:00, schrieb Tasha Keppler:
> Although- I now noticed that the dlls are 1.7.0. Does that indicate version 1.7.0?
There have to be a bunch of dlls, 2 of them are the bouncycastle dlls:
bcprov*.dll and bcmail*.dll. You have to ensure that both are on your path.

FYI: those dlls are "converted" jars (java libraries), I guess they are
generated using IKVM [1], maybe you are using an unofficial .NET build by
myself [2] ;-)

BR
Andreas Lehmkühler

[1] http://www.ikvm.net/
[2] http://pdfbox.lehmi.de/

> -----Original Message-----
> From: Tasha Keppler [mailto:tasha@epolk.com]
> Sent: Monday, April 08, 2013 10:47 AM
> To: users@pdfbox.apache.org
> Subject: RE: Rubber Stamp/saving error
>
> Hi Andreas,
>
> I am working on a .net program that was started by someone else in our office who is no longer here. I believe it's version 1.7.1.
>
> I am not familiar with bouncycastle dlls- can you give me more information about this?
>
> Thank you,
>
> Tasha
>
> -----Original Message-----
> From: Andreas Lehmkuehler [mailto:andreas@lehmi.de]
> Sent: Sunday, April 07, 2013 8:03 AM
> To: users@pdfbox.apache.org
> Subject: Re: Rubber Stamp/saving error
>
> Hi,
>
> Am 05.04.2013 17:43, schrieb Tasha Keppler:
>> Hi,
>>
>> Has anyone encountered this error (I'm using psfbox in a vb.net application):
> Most of us are using PDFBox in a java based environment, so that it might be hard to find an .NET expert to answer your question.
>
>> org.apache.pdfbox.exceptions.COSVisitorException: class configured for MessageDigest(provider: SUN)cannot be found.
>>
>> What does this mean? What can I do to correct it?
> What version of PDFBox are you using?
>
> Did you build the .NET version of your own or do you use a precompiled version from elsewhere?
>
> The exception sounds like an encryption/decryption issue. Are the bouncycastle-DLLs on your path?
>
>> Thanks for your help!
>>
>> Tasha
>
> BR
> Andreas Lehmkühler
>


RE: Rubber Stamp/saving error

Posted by Tasha Keppler <ta...@epolk.com>.
Although- I now noticed that the dlls are 1.7.0. Does that indicate version 1.7.0?

-----Original Message-----
From: Tasha Keppler [mailto:tasha@epolk.com] 
Sent: Monday, April 08, 2013 10:47 AM
To: users@pdfbox.apache.org
Subject: RE: Rubber Stamp/saving error

Hi Andreas,

I am working on a .net program that was started by someone else in our office who is no longer here. I believe it's version 1.7.1.

I am not familiar with bouncycastle dlls- can you give me more information about this?

Thank you,

Tasha

-----Original Message-----
From: Andreas Lehmkuehler [mailto:andreas@lehmi.de]
Sent: Sunday, April 07, 2013 8:03 AM
To: users@pdfbox.apache.org
Subject: Re: Rubber Stamp/saving error

Hi,

Am 05.04.2013 17:43, schrieb Tasha Keppler:
> Hi,
>
> Has anyone encountered this error (I'm using psfbox in a vb.net application):
Most of us are using PDFBox in a java based environment, so that it might be hard to find an .NET expert to answer your question.

> org.apache.pdfbox.exceptions.COSVisitorException: class configured for MessageDigest(provider: SUN)cannot be found.
>
> What does this mean? What can I do to correct it?
What version of PDFBox are you using?

Did you build the .NET version of your own or do you use a precompiled version from elsewhere?

The exception sounds like an encryption/decryption issue. Are the bouncycastle-DLLs on your path?

> Thanks for your help!
>
> Tasha

BR
Andreas Lehmkühler


RE: Rubber Stamp/saving error

Posted by Tasha Keppler <ta...@epolk.com>.
Hi Andreas,

I am working on a .net program that was started by someone else in our office who is no longer here. I believe it's version 1.7.1.

I am not familiar with bouncycastle dlls- can you give me more information about this?

Thank you,

Tasha

-----Original Message-----
From: Andreas Lehmkuehler [mailto:andreas@lehmi.de] 
Sent: Sunday, April 07, 2013 8:03 AM
To: users@pdfbox.apache.org
Subject: Re: Rubber Stamp/saving error

Hi,

Am 05.04.2013 17:43, schrieb Tasha Keppler:
> Hi,
>
> Has anyone encountered this error (I'm using psfbox in a vb.net application):
Most of us are using PDFBox in a java based environment, so that it might be hard to find an .NET expert to answer your question.

> org.apache.pdfbox.exceptions.COSVisitorException: class configured for MessageDigest(provider: SUN)cannot be found.
>
> What does this mean? What can I do to correct it?
What version of PDFBox are you using?

Did you build the .NET version of your own or do you use a precompiled version from elsewhere?

The exception sounds like an encryption/decryption issue. Are the bouncycastle-DLLs on your path?

> Thanks for your help!
>
> Tasha

BR
Andreas Lehmkühler


Re: Rubber Stamp/saving error

Posted by Andreas Lehmkuehler <an...@lehmi.de>.
Hi,

Am 05.04.2013 17:43, schrieb Tasha Keppler:
> Hi,
>
> Has anyone encountered this error (I'm using psfbox in a vb.net application):
Most of us are using PDFBox in a java based environment, so that it might
be hard to find an .NET expert to answer your question.

> org.apache.pdfbox.exceptions.COSVisitorException: class configured for MessageDigest(provider: SUN)cannot be found.
>
> What does this mean? What can I do to correct it?
What version of PDFBox are you using?

Did you build the .NET version of your own or do you use a precompiled version
from elsewhere?

The exception sounds like an encryption/decryption issue. Are the
bouncycastle-DLLs on your path?

> Thanks for your help!
>
> Tasha

BR
Andreas Lehmkühler