useCertificateChainBytes method - SecurityContext class - dart:io library (original) (raw)

description

void useCertificateChainBytes(

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

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

Like useCertificateChain but takes the contents of the file.

Implementation

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