method Certificate.exportChallenge
Usage in Deno
```typescript import { Certificate } from "node:node__crypto.d.ts"; ```
Certificate.exportChallenge(spkac: BinaryLike): Buffer
```js
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
Buffer
The challenge component of the `spkac` data structure, which includes a public key and a challenge.