void useCertificateChainBytes(List<int> chainBytes)

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

chainBytes is the contents of a PEM file containing X509 certificates, starting with the root authority and intermediate authorities forming the signed chain to the server certificate, and ending with the server certificate. The private key for the server certificate is set by usePrivateKey.

Source

void useCertificateChainBytes(List<int> chainBytes);