useCertificateChainBytes 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});

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-io/SecurityContext/useCertificateChainBytes.html