Re: oracle 10g cryptography problem



Dear Vladimir ,

Unfortunately sunjce only supports RSA in jdk 1.5+ and for jdk 1.4
(used by oracle 10.2.0.1) a third party provider is needed. I have
followed the metalink instructions with no luck and 10.2.0.2 is not
available for 32-bit windows! Its quite the dilemma...

Pouria

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 third-
party 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... :)


On Jun 28, 1:14 pm, "Vladimir M. Zakharychev"
<vladimir.zakharyc...@xxxxxxxxx> wrote:
On Jun 27, 7:21 am, DA Morgan <damor...@xxxxxxxxx> 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...@xxxxxxxxx> 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...@xxxxxxxxxxxxxxxx (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...@xxxxxxxxxxxxxxxx (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 third-
party 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


.



Relevant Pages

  • Re: oracle 10g cryptography problem
    ... and load third-party providers to the Oracle VM. ... that there was a bug in 10.2.0.1 that prevented third- ...
    (comp.databases.oracle.misc)
  • Re: Database speed issues
    ... Those sold by Microsoft, Oracle itself and DataDirect. ... "OSFA") providers like ODBC and OLE DB that expose less native functionality ... shouldn't be considered the ideal way to conenct to the Oracle Database. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Database speed issues
    ... There are at least three different "native" managed providers for Oracle. ... Those sold by Microsoft, Oracle itself and DataDirect. ... shouldn't be considered the ideal way to conenct to the Oracle Database. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Oracle Function
    ... where I was having a problem with the Microsoft version of the Oracle ... Oracle providers solved this problem, but after I switched all of that ... Wrap the function in a proc ... >> datareader or ExecuteScalar, nothing is ever return. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: RSA decryption in Oracle 9i
    ... Pouria wrote: ... DBMS_OBFUSCATION_TOOLKIT supports DES encryption only (and not RSA). ... I have written a Java stored procedure (for Oracle 9i which I believe ... uses JDK 1.3) that uses javax.crypto for RSA decryption. ...
    (comp.databases.oracle.misc)