Question

How can I set up an SSLContext with TLS using Spongy Castle? I'm searching online but cannot find any good examples.

Was it helpful?

Solution

This cannot really be done, since Bouncy Castle and by extension Spongy Castle doesn't come with a JSSE provider. Use the platform default versions (don't specify a provider). When you need a specific algorithm that is not included in the system JCE providers, specify the SC provider explicitly.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top