SslServerCredentialsOptions constructor
- String pemRootCerts,
- List<
PemKeyCertPair> pemKeyCertPairs, - ClientCertificateRequestType clientCertificateRequest
Creates a new instance.
pemRootCertsRoot certificates (in PEM format) used to verify the client certificate. Required only for mutual TLS.pemKeyCertPairsList of server key/certificate pairs. At least one pair must be provided.clientCertificateRequestIndicates whether the server should request and verify the client's certificate.
Implementation
SslServerCredentialsOptions(this.pemRootCerts, this.pemKeyCertPairs, this.clientCertificateRequest);