ServerTlsCredentials constructor

ServerTlsCredentials({
  1. List<int>? certificate,
  2. String? certificatePassword,
  3. List<int>? privateKey,
  4. String? privateKeyPassword,
})

TLS credentials for a Server.

If the certificate or privateKey is encrypted, the password must also be provided.

Implementation

ServerTlsCredentials({
  this.certificate,
  this.certificatePassword,
  this.privateKey,
  this.privateKeyPassword,
});