For Programmers: Free Programming Magazines  


Home > Archive > Java Security > March 2004 > extending the JCA/JCE









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author extending the JCA/JCE
execute

2004-03-27, 12:31 am

Hi,

I am developing an extension on digital signatures.
I want to integrate it whitin the JCA/JCE.
Therefore I need to add some engine classes.
First I tried to add engine classes to the JCE (wich is in the package
java.security).
But Java doesn't allow addition of classes to packages wich begin with
"java.".
Then I tried to extend the JCE (which is in the package javax.crypto) and
succeeded without problems.

This is strange because the difference between the JCE and JCA is only due
to the export regulations in the USA.
Can anyone explain why Sun allows extension of the JCE, while extending the
JCA is prohibited?

I also made an new provider which provides an implementation for the new
engine classes.
And this also worked fine, although normally a provider need to be signed by
Sun or IBM.
Probably it is allowed because I don't provide implementations for existing
engine classes.

Thus, I arrive at my second question: Can anyone tell me why this is
allowed?

thanx,

Kristof Verslype
Belgium


Michael Amling

2004-03-27, 12:31 am

execute wrote:
>
> I also made an new provider which provides an implementation for the new
> engine classes.
> And this also worked fine, although normally a provider need to be signed by
> Sun or IBM.
> Probably it is allowed because I don't provide implementations for existing
> engine classes.
>
> Thus, I arrive at my second question: Can anyone tell me why this is
> allowed?


What version of JVM?

--Mike Amling

execute

2004-03-27, 12:31 am

oh, excuse me
Java(TM) 2 SDK, Standard Edition, Version 1.4.2


"Michael Amling" <nospam@nospam.com> wrote in message
news:IEi7c.38300$PY.14@newssvr26.news.prodigy.com...
> execute wrote:
signed by[color=darkred]
existing[color=darkred]
>
> What version of JVM?
>
> --Mike Amling
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com