tls_peer_cert_chain_pem
if ((pem = tls_peer_cert_chain_pem(tls_ctx, &plen)) == NULL)
const uint8_t *tls_peer_cert_chain_pem(struct tls *_ctx, size_t *_len);