Generates a key pair synchronously.
one of KEY_PAIR_TYPES
node's options for that type (modulusLength, namedCurve, publicKeyEncoding, privateKeyEncoding, ...)
{ publicKey, privateKey }, KeyObjects or encoded as the options ask
{ publicKey, privateKey }
Generates a key pair synchronously.