• spkac {string | Buffer | TypedArray | DataView}
    • Returns: {Buffer} The challenge component of the spkac data structure, which includes a public key and a challenge.
    1. const cert = require('crypto').Certificate();
    2. const spkac = getSpkacSomehow();
    3. const challenge = cert.exportChallenge(spkac);
    4. console.log(challenge.toString('utf8'));
    5. // Prints: the challenge as a UTF8 string