method Certificate.verifySpkac
Jump to headingCertificate.verifySpkac(spkac: ArrayBufferView): booleanimport { Buffer } from 'node:buffer';
const { Certificate } = await import('node:crypto');
const spkac = getSpkacSomehow();
console.log(Certificate.verifySpkac(Buffer.from(spkac)));
// Prints: true or false
Parameters Jump to heading
Jump to headingspkac: ArrayBufferViewReturn Type Jump to heading
booleantrue if the given spkac data structure is valid, false otherwise.