Reputation: 5676
If so, in what versions is it available? I only see it go as far back as Gingerbread here: https://android.googlesource.com/platform/external/bouncycastle/ Was it packaged under a different repository prior to GB?
Upvotes: 2
Views: 758
Reputation: 5676
I found that it was moved from libcore/security/ in pre-Gingerbread to external/ in Gingerbread+:
to
Upvotes: 1
Reputation: 52956
See above for why it's not 'available'. If you need crypto, etc. functionality use the JCE interfaces (Cipher
, Signature
, etc.) and your app will work on all versions that have a provider for the particular mechanism/algorithm (it is not necessarily Bouncy Castle, especially in newer versions). If you need BC specific, lower level APIs (ASN.1 parsing, etc.), bundle Spongy Castle in your app and use that.
Upvotes: 3