Cryptography and Android
I started to port a light version of my Encryption application, DocuArmor, from the Windows 7 platform to the Android platform (minimum API 7). I've been able to load an existing PKCS12 keystore, encrypt and decrypt files on their emulator for API level 7 and above. I'm trying to determine if it's capable of allowing the creation of a keystore and it seems to fail on the creation of a certificate. It appears there are classes missing in their Java support. I receive an exception during the initialization of the BCStyle class or the PKCSObjectIdentifiers class with a java.lang.NoSuchFieldError. Is there any document that states what level of Bouncy Castle (BC) libraries are compatible with Android? I'm currently using BC ver 1.46. It appears that even though Android offers BC as a provider, it trimmed off some of the functions such as Certificate generation and manipulation. Is there any information on what functions are available under Android? Thanks.
|