void useCertificateChainBytes(List<int> chainBytes, { 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.

Source

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