You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Ken <ka...@p2security.net> on 2007/04/03 16:53:58 UTC

Re: [jira] Created: (GERONIMO-3054) org.apache.geronimo.util.jce.X509V1CertificateGenerator appears to be deprecated with no replacement

Thanks -- I see the updated classes in Bouncy Castle.  The issue is 
around importing PKCS7 certs, and the cert chain not being imported 
properly.  It's actually associated with the KeyStoreGBean.java file, 
but I want to make sure I have "clean code" before I call it a bug.

-Ken

At 08:03 AM 4/3/2007, you wrote:
>I took a look at the svn log and the orginal version of the file 
>that was checked in from Bouncy Castle by David Jencks in Rev291352 
>on Sept. 24, 2005 was marked as deprecated, so it doesn't look like 
>anything we changed and its been that way since the 1.0 release....
>
>BTW - Why do you care, given most if not all of this JCE and crypto 
>code in util is no longer needed, since we have moved to Java 5?
>
>-Donald
>
>Ken wrote:
>>Hi, folks.  Any thoughts on this one?  Does anyone know *who* 
>>deprecated the file, because perhaps I could direct my question to him/her?
>>Thanks a lot!
>>-Ken
>>At 04:57 PM 3/31/2007, you wrote:
>>>org.apache.geronimo.util.jce.X509V1CertificateGenerator appears to 
>>>be deprecated with no replacement
>>>---------------------------------------------------------------------------------------------------- 
>>>
>>>
>>>                  Key: GERONIMO-3054
>>>                  URL: https://issues.apache.org/jira/browse/GERONIMO-3054
>>>              Project: Geronimo
>>>           Issue Type: Bug
>>>       Security Level: public (Regular issues)
>>>     Affects Versions: 1.1.1
>>>          Environment: All
>>>             Reporter: Ken
>>>             Priority: Minor
>>>
>>>
>>>Hello, all.  I am looking at the source code for several files, 
>>>and one of them, 
>>>org.apache.geronimo.util.jce.X509V1CertificateGenerator has the 
>>>following tag & notice:
>>>
>>>
>>>/**
>>>  * class to produce an X.509 Version 1 certificate.
>>>  *
>>>  * @deprecated use the equivalent class in org.apache.geronimo.util.x509
>>>  */
>>>
>>>
>>>I (think I) have looked everywhere for a package named x509 under 
>>>util, or even a reference to when/how/why/to what it was changed, 
>>>but can't seem to find one.  Where is this "replacement" class 
>>>that is mentioned in the deprecation?
>>>
>>>
>>>
>>>--
>>>This message is automatically generated by JIRA.
>>>-
>>>You can reply to this email to add a comment to the issue online.
>>
>