Certificate

external class Certificate(source)

SPKAC is a Certificate Signing Request mechanism originally implemented by Netscape and was specified formally as part of HTML5's keygen element.

<keygen> is deprecated since HTML 5.2 and new projects should not use this element anymore.

The node:crypto module provides the Certificate class for working with SPKAC data. The most common usage is handling output generated by the HTML5 <keygen> element. Node.js uses OpenSSL's SPKAC implementation internally.

Since

v0.11.8

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
Link copied to clipboard
fun exportPublicKey(spkac: BinaryLike, encoding: String = definedExternally): Buffer<*>
Link copied to clipboard
fun verifySpkac(spkac: ERROR CLASS: Symbol not found for js.buffer.ArrayBufferView<*>): Boolean