Phillip
Phillip

Reputation: 5676

Is BouncyCastle provided in Android prior to Gingerbread?

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

Answers (2)

Nikolay Elenkov
Nikolay Elenkov

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

Related Questions