• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Bouncy Castle API for MIDP 1.0 Security

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 1436
6
Python TypeScript Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic