Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: oracle 10g cryptography problem

Re: oracle 10g cryptography problem

From: Vladimir M. Zakharychev <vladimir.zakharychev_at_gmail.com>
Date: Thu, 28 Jun 2007 10:14:08 -0700
Message-ID: <1183050848.952117.297980@k29g2000hsd.googlegroups.com>


On Jun 27, 7:21 am, DA Morgan <damor..._at_psoug.org> wrote:
> Pouria wrote:
> > i understand the message, what i don't understand is why it can't find
> > an RSA provider when i'm purposely supplying it with one (bouncy
> > castle).
>
> > secondly i need to use an asymmetric cryptographic algorithm:
> > Obfuscation toolkit and DBMS_CRYPTO do not support these to the best
> > of my knowledge (please correct me if i'm wrong).
>
> > Pouria
>
> > On Jun 26, 6:27 pm, DA Morgan <damor..._at_psoug.org> wrote:
> >> Pouria wrote:
>
> >>> Cipher rsaCipher = Cipher.getInstance("RSA");
> >>> tries to execute:
> >>> java.security.NoSuchAlgorithmException: Cannot find any provider
> >>> supporting RSA
> >> Which part of the message don't you understand?
>
> >> And no version of Oracle named.
>
> >> Put away the RSA and use the built-in tools. Obfuscation toolkit if
> >> 9i and DBMS_CRYPTO if 10g.
> >> --
> >> Daniel A. Morgan
> >> University of Washington
> >> damor..._at_x.washington.edu (replace x with u to respond)
> >> Puget Sound Oracle Users Groupwww.psoug.org
>
> I may be incorrect on this but I believe AES is asymmetric.
> --
> Daniel A. Morgan
> University of Washington
> damor..._at_x.washington.edu (replace x with u to respond)
> Puget Sound Oracle Users Groupwww.psoug.org

AES is symmetric.

As of the OP's issue, note 369369.1 on MetaLink describes steps to add and load third-party providers to the Oracle VM. Also, the note states that there was a bug in 10.2.0.1 (bug #4475814) that prevented thirdparty  providers from working inside the Oracle VM, which is fixed in 10.2.0.2. In 10.2.0.1, only SunJce is supported. However, since SunJce supports RSA, I don't see an urgent need to load Bouncy Castle and go through the bouncing hassle of applying the patchset and then following the note 369369.1 to make it work... :)

Regards,

   Vladimir M. Zakharychev
   N-Networks, makers of Dynamic PSP(tm)    http://www.dynamicpsp.com Received on Thu Jun 28 2007 - 12:14:08 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US