Article View: pl.comp.lang.java
Article #142006Re: j2me i szyfrowanie
From: Adam Elente
Date: Thu, 30 Oct 2008 11:09
Date: Thu, 30 Oct 2008 11:09
31 lines
2386 bytes
2386 bytes
TomekC pisze: > Adam Elente pisze: >> pz pisze: >>> Użytkownik "Adam Elente" <aelent012@ekrj1.hiweuo.net> napisał w >>> wiadomości news:geaik2$qiu$2@nemesis.news.neostrada.pl... >>>> Znalazłem taki oto przykład >>>> http://www.java-tips.org/java-me-tips/midp/encrypting-decrypting-text-messages-with-bouncy-castle-crypt-3.html >>>> >>>> niestety nie kompiluje się znajduje błedy. >>>> >>>> Czy ktoś mógłby mi powiedzieć jak zaszyfrowac string używając >>>> BouncyCastle w j2me ? >>> To podaj te błedy. >> Proszę: >> Running in the unidentified_third_party security domain >> java.lang.NoClassDefFoundError: java/math/BigInteger: Cannot create >> class in system package > > No, wygląda na to, że nie znalazł klasy java.math.BigInteger. A takiej w > MIDP nie ma. Zresztą podana strona mówi: > > "Also note at the time of this writing that some version of Bouncy > Castle Crypto API is not compiled for MIDP 2.0. When you tried to > compile this example with Bouncy Castle Crypto API, you may get errors. > (Some of the test classes use some classes not available to J2ME which > is only available to J2SE) In that case, you may try other versions of > the API to eliminate this problem." > BouncyCastle zawiera te klasę. Jest dołączona import Po za tym nie skompilowało by się.
Technical Details
Message-ID:
<gec4ah$8on$1@atlantis.news.neostrada.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.internetia.pl!news.intelink.pl!newsfeed.neostrada.pl!atlantis.news.neostrada.pl!news.neostrada.pl!not-for-mailReferences:
<geaik2$qiu$2@nemesis.news.neostrada.pl> <geat44$b65$1@news.onet.pl> <gebmr7$a9o$3@nemesis.news.neostrada.pl> <gebq6o$de2$1@atlantis.news.neostrada.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.internetia.pl!news.intelink.pl!newsfeed.neostrada.pl!atlantis.news.neostrada.pl!news.neostrada.pl!not-for-mail From: Adam Elente <aelent012@ekrj1.hiweuo.net> Newsgroups: pl.comp.lang.java Subject: Re: j2me i szyfrowanie Date: Thu, 30 Oct 2008 12:09:02 +0100 Organization: TP - http://www.tp.pl/ Lines: 31 Message-ID: <gec4ah$8on$1@atlantis.news.neostrada.pl> References: <geaik2$qiu$2@nemesis.news.neostrada.pl> <geat44$b65$1@news.onet.pl> <gebmr7$a9o$3@nemesis.news.neostrada.pl> <gebq6o$de2$1@atlantis.news.neostrada.pl> NNTP-Posting-Host: adrn83.neoplus.adsl.tpnet.pl Mime-Version: 1.0 X-Trace: atlantis.news.neostrada.pl 1225364625 8983 79.185.173.83 (30 Oct 2008 11:03:45 GMT) X-Complaints-To: usenet@news.neostrada.pl NNTP-Posting-Date: Thu, 30 Oct 2008 11:03:45 +0000 (UTC) User-Agent: Thunderbird 2.0.0.6 (X11/20070728) In-Reply-To: <gebq6o$de2$1@atlantis.news.neostrada.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit