property

quic.QuicSession.certificate

readonly certificate: undefined | PeerCertificate

The local certificate as an object with properties such as subject, issuer, valid_from, valid_to, fingerprint, etc. Returns undefined if the session is destroyed or no certificate is available.