heldCertificate
fun heldCertificate(heldCertificate: HeldCertificate, vararg intermediates: X509Certificate): HandshakeCertificates.Builder
Configure the certificate chain to use when being authenticated. The first certificate is the held certificate, further certificates are included in the handshake so the peer can build a trusted path to a trusted root certificate.
The chain should include all intermediate certificates but does not need the root certificate that we expect to be known by the remote peer. The peer already has that certificate so transmitting it is unnecessary.