useCertificateChainBytes abstract method

void useCertificateChainBytes(
  1. List<int> chainBytes, {
  2. String? password,
})

Sets the chain of X509 certificates served by SecureServerSocket when making secure connections, including the server certificate.

Like useCertificateChain but takes the contents of the file.

Implementation

void useCertificateChainBytes(List<int> chainBytes, {String? password});