spkac
{Buffer | TypedArray | DataView}- Returns: {boolean}
true
if the givenspkac
data structure is valid,false
otherwise.
const cert = require('crypto').Certificate();
const spkac = getSpkacSomehow();
console.log(cert.verifySpkac(Buffer.from(spkac)));
// Prints: true or false