How can I set up an SSLContext with TLS using Spongy Castle? I’m searching online but cannot find any good examples.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.