MtoLegacyObject
Bun

method

crypto.X509Certificate.toLegacyObject

Returns information about this certificate using the legacy certificate object encoding.