• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Bouncy Castle API for MIDP 1.0 Security

 
Tapan Paul
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I made an application, which actually implements network security in MIDP 1.0 using bouncy castle API, it is basically Client Server Application,here in Client Application I am facing problem...
The Steps I followed are as
1)I have put Bouncycastle classes into class path
2)downloaded retrogaurd.jar and placed it into Bin
3)compiled,preverified and obfuscated and when I tried to run it gave me
this error and emulator disappers.
ToolKit Remarks
a) Build Time Remarks is OK
Project "Security3" loaded
Project settings saved Building "Security3" Build complete
Project settings saved Building "Security3" Wrote
C:\J2mewtk\apps\Security3\bin\Security3.jar Wrote
C:\J2mewtk\apps\Security3\bin\Security3.jad Build complete
b) RunTime Remarks
ALERT: Unable to load class org/bouncycastle/crypto/AsymmetricBlockCipher
Execution completed successfully 72976 bytecodes executed 8 thread switches
328 classes in the system (including system classes) 793 dynamic objects
allocated (31948 bytes) 6 garbage collections (14864 bytes collected) Total
heap size 500000 bytes (currently 476772 bytes free)
Any Information Please.
Thanks and Regards
Tapan Paul
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try compiling the BC source code with your application source code and preverifying them together. Using BC pre-verified classes could cause some of your problems.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic