Pbits
Bun

property

tls.PeerCertificate.bits

bits?: number

For RSA keys: The RSA bit size.

For EC keys: The key size in bits.