Hey Mark, Thats true i am using BC 145 earlier and now trying to use 146 , but if i stick to javax.crypto then how would i generate self signed certificate?. Can we come to know what all classes from BC included in the android firmware ?.
Strange thing is i am using BC 145 it does not complain if i use deprecated methods once i change to specified method like generate method in X509V3CertificateGenerator it complains any idea ? thanks a lot On Apr 26, 12:54 pm, Mark Murphy <mmur...@commonsware.com> wrote: > On Tue, Apr 26, 2011 at 3:40 PM, himanshu jain <himanshu....@gmail.com> wrote: > > 04-26 12:38:09.003: WARN/dalvikvm(13579): VFY: unable to resolve > > exception class 347 (Lorg/bouncycastle/operator/ > > OperatorCreationException;) > > 04-26 12:38:09.003: WARN/dalvikvm(13579): VFY: unable to find > > exception handler at addr 0x15f > > 04-26 12:38:09.003: WARN/dalvikvm(13579): VFY: rejected Lcom/ > > mycompany/applicationpairing/Connector;.run ()V > > 04-26 12:38:09.003: WARN/dalvikvm(13579): VFY: rejecting opcode 0x0d > > at 0x015f > > 04-26 12:38:09.003: WARN/dalvikvm(13579): VFY: rejected Lcom/ > > mycompany/applicationpairing/Connector;.run ()V > > 04-26 12:38:09.003: WARN/dalvikvm(13579): Verifier rejected class Lcom/ > > mycompany/applicationpairing/Connector; > > > I have jar file on my build path and it has class and method but still > > dalvik vm show VFY warning and error > > If the "jar file on my build path" is the Legion of the Bouncy Castle > library, that is part of the firmware, and so you will likely > encounter problems when using it. If possible, stick to the > javax.crypto classes, which use Bouncy Castle behind the scenes. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > Warescription: Three Android Books, Plus Updates, One Low Price!- Hide quoted > text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en