Oslo

ECDSA.generateKeyPair()

Generates a new public/private key pair. The public key is in SPKI format and the private key is in PKCS#8 format. See ECDSA for an example.

Definition

function generateKeyPair(): Promise<KeyPair>;