NOT FOR PRODUCTION USE.
NOT FOR PRODUCTION USE. Builds a "TLS" SSLContext
and X509TrustManager
initializing both with the keys and
certificates in the provided KeyStore
. This means the SSLContext
will produce SSLEngine
's, SSLSocket
s
and
SSLServerSocket's that will use a
KeyPair from the
KeyStore, and will trust any
trustedCertEntry
in the
KeyStore.
This is a naïve implementation for testing purposes only.