ServerTLSSettings constructor

const ServerTLSSettings({
  1. String? caCertificates,
  2. List<String>? cipherSuites,
  3. String? credentialName,
  4. bool? httpsRedirect,
  5. TlsProtocol? minProtocolVersion,
  6. TlsProtocol? maxProtocolVersion,
  7. required TlsMode mode,
  8. String? privateKey,
  9. String? serverCertificate,
  10. List<String>? subjectAltNames,
  11. List<String>? verifyCertificateHash,
  12. List<String>? verifyCertificateSpki,
})

The main constructor.

Implementation

const ServerTLSSettings({
  this.caCertificates,
  this.cipherSuites,
  this.credentialName,
  this.httpsRedirect,
  this.minProtocolVersion,
  this.maxProtocolVersion,
  required this.mode,
  this.privateKey,
  this.serverCertificate,
  this.subjectAltNames,
  this.verifyCertificateHash,
  this.verifyCertificateSpki,
});