Instances of the Certificate class can be created using the new keyword or by calling crypto.Certificate() as a function:

    1. const crypto = require('crypto');
    2. const cert1 = new crypto.Certificate();
    3. const cert2 = crypto.Certificate();