Setting up an SSLContext using Spongy Castle

1.1k Views Asked by At

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

1

There are 1 best solutions below

2
On BEST ANSWER

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.