M
Michael
Hi all,
We are porting an application from j2ee 1.2 (sdk 1.3) to j2ee 1.3 (sdk
1.4). Our app makes use of Bouncy Castle API for sdk 1.3. So we also
have to use the new Bouncy Castle API for sdk 1.4.
There is a function:
javax.crypto.Cipher.getInstance("DESede//NoPadding")
which has to be ported. But we do not know how to form the equivalence
of the transformation "DESede//NoPadding" in the new getInstance of
Bouncy Castle, since the new GetInstance does not support
"DESede//NoPadding".
We have searched in the docs of Bouncy Castle and JCE extension in
order to find the appropriate values of "DESede//NoPadding" to put in.
In particular which string or char do we have to put between "DESede"
and "NoPadding".
We have tried "NONE". And therefore have substituted
"DESede/NONE/NoPadding". But just got the error:
stderr: java.lang.IllegalArgumentException: can't support mode NONE
Pls note that there is no application documention on which mode we
have to spec in the above mentoned string (algorithm/mode/padding).
Thus, if any one just knows the equivalence transform of
"DESede//NoPadding" for Bouncy Castle (for java sdk 1.4) pls let me
know,
Thanks in advance
Michael
We are porting an application from j2ee 1.2 (sdk 1.3) to j2ee 1.3 (sdk
1.4). Our app makes use of Bouncy Castle API for sdk 1.3. So we also
have to use the new Bouncy Castle API for sdk 1.4.
There is a function:
javax.crypto.Cipher.getInstance("DESede//NoPadding")
which has to be ported. But we do not know how to form the equivalence
of the transformation "DESede//NoPadding" in the new getInstance of
Bouncy Castle, since the new GetInstance does not support
"DESede//NoPadding".
We have searched in the docs of Bouncy Castle and JCE extension in
order to find the appropriate values of "DESede//NoPadding" to put in.
In particular which string or char do we have to put between "DESede"
and "NoPadding".
We have tried "NONE". And therefore have substituted
"DESede/NONE/NoPadding". But just got the error:
stderr: java.lang.IllegalArgumentException: can't support mode NONE
Pls note that there is no application documention on which mode we
have to spec in the above mentoned string (algorithm/mode/padding).
Thus, if any one just knows the equivalence transform of
"DESede//NoPadding" for Bouncy Castle (for java sdk 1.4) pls let me
know,
Thanks in advance
Michael