method Certificate.exportChallenge
Usage
import { Certificate } from "node:crypto";
const { Certificate } = await import('node:crypto'); const spkac = getSpkacSomehow(); const challenge = Certificate.exportChallenge(spkac); console.log(challenge.toString('utf8')); // Prints: the challenge as a UTF8 string
spkac: BinaryLike