SslClientCredentialsOptions constructor

SslClientCredentialsOptions(
  1. String pemRootCerts,
  2. String pemPrivateKey,
  3. String pemCertChain
)

Creates a new instance.

  • pemRootCerts The PEM-encoded root certificates used to verify the server.
  • pemPrivateKey The client's private key in PEM format. It must be non-empty for mutual TLS. Else must be set to empty string.
  • pemCertChain The client's certificate chain in PEM format. It must be non-empty for mutual TLS. Else must be set to empty string.

Implementation

SslClientCredentialsOptions(this.pemRootCerts, this.pemPrivateKey, this.pemCertChain);