SslClientCredentialsOptions.withoutMutualTLS constructor

SslClientCredentialsOptions.withoutMutualTLS(
  1. String pemRootCerts
)

The constructor which creates a new instance and sets both pem_private_key and pem_cert_chain to empty strings.

  • pemRootCerts The PEM-encoded root certificates used to verify the server.

Implementation

SslClientCredentialsOptions.withoutMutualTLS(this.pemRootCerts)
    : pemPrivateKey = "", pemCertChain = "";