Uses of Class
cloud.opencode.base.crypto.ssl.SslContextBuilder
Packages that use SslContextBuilder
-
Uses of SslContextBuilder in cloud.opencode.base.crypto.ssl
Methods in cloud.opencode.base.crypto.ssl that return SslContextBuilderModifier and TypeMethodDescriptionstatic SslContextBuilderOpenSsl.builder()Creates a builder for SSLContext.static SslContextBuilderSslContextBuilder.create()Creates a new builder.SslContextBuilder.keyManagers(KeyManager... keyManagers) Sets key managers.SslContextBuilder.keyStore(InputStream inputStream, String password) Loads keystore from input stream.SslContextBuilder.keyStore(InputStream inputStream, String password, String type) Loads keystore from input stream with type.Loads keystore from file.Loads keystore from file with type.SslContextBuilder.pemCertificate(String pemContent) Loads a PEM-encoded certificate and trusts it (as a CA or leaf certificate).SslContextBuilder.pemCertificate(Path pemPath) Loads a PEM-encoded certificate from a file.SslContextBuilder.pemClientCertificate(String certPem, String keyPem) Configures mutual TLS (mTLS) using PEM-encoded client certificate and PKCS8 private key.SslContextBuilder.pemClientCertificate(Path certPath, Path keyPath) Configures mutual TLS (mTLS) from PEM files on disk.Sets the SSL protocol.SslContextBuilder.secureRandom(SecureRandom secureRandom) Sets secure random.SslContextBuilder.tlsV12()Sets TLS 1.2 protocol.SslContextBuilder.tlsV13()Sets TLS 1.3 protocol.SslContextBuilder.trustAll()Configures to trust all certificates (DANGEROUS - development only).SslContextBuilder.trustManagers(TrustManager... trustManagers) Sets trust managers.SslContextBuilder.trustStore(InputStream inputStream, String password) Loads truststore from input stream.SslContextBuilder.trustStore(InputStream inputStream, String password, String type) Loads truststore from input stream with type.SslContextBuilder.trustStore(Path path, String password) Loads truststore from file.SslContextBuilder.trustStore(Path path, String password, String type) Loads truststore from file with type.SslContextBuilder.withExtraCA(String caCertPem) Merges the JVM default system trust store with a PEM-encoded CA certificate string.SslContextBuilder.withExtraCA(Path caCertPemPath) Merges the JVM default system trust store with one or more extra PEM CA certificates.