List Info

Thread: DO NOT REPLY New: - Cannot specify dynamically a specific JCE Provider with the DSA Si




DO NOT REPLY New: - Cannot specify dynamically a specific JCE Provider with the DSA Si
country flaguser name
United States
2007-02-08 09:29:12
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41
569>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41569

           Summary: Cannot specify dynamically a specific
JCE Provider with
                    the DSA Signature
           Product: Security
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Signature
        AssignedTo: security-devxml.apache.org
        ReportedBy: julien.pasquierwanadoo.fr


It is impossible to specify dynamically a specific JCE
provider with the 
org.apache.xml.security.algorithms.implementations.Signature
DSA of the XML-
Security java project. However it is possible to do it with
SignatureBaseRSA 
and with SignatureECDSA.

The problem is that there is just this line in the
constructor of the DSA 
implementation :
this._signatureAlgorithm =
Signature.getInstance(algorithmID);

------------------------------
It should be added theses lines to the constructor of
SignatureDSA to fix this 
problem:
String provider = JCEMapper.getProviderId();
try {
   if (provider == null) {
      this._signatureAlgorithm =
Signature.getInstance(algorithmID);
    } else {
       this._signatureAlgorithm =
Signature.getInstance(algorithmID,provider);
    }
} catch (java.security.NoSuchAlgorithmException ex) {
    .....
}
------------------------------

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

DO NOT REPLY - Cannot specify dynamically a specific JCE Provider with the DSA Signatur
country flaguser name
United States
2007-02-09 10:15:22
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41
569>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41569


sean.mullansun.com changed:

           What    |Removed                     |Added
------------------------------------------------------------
----------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From sean.mullansun.com 
2007-02-09 08:15 -------
Fixed in HEAD.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

DO NOT REPLY - Cannot specify dynamically a specific JCE Provider with the DSA Signatur
country flaguser name
United States
2007-09-19 14:28:39
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41
569>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41569


sean.mullansun.com changed:

           What    |Removed                     |Added
------------------------------------------------------------
----------------
             Status|RESOLVED                    |CLOSED




------- Additional Comments From sean.mullansun.com 
2007-09-19 12:28 -------
Closing old bugs. Fixed in 1.4.1

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )