certificate.verifySpkac(spkac)
Returns true
if the given spkac
data structure is valid, false
otherwise. The spkac
argument must be a Node.js Buffer
.
const cert = require('crypto').Certificate(); const spkac = getSpkacSomehow(); console.log(cert.verifySpkac(new Buffer(spkac))); // Prints true or false
Please login to continue.