keyType

The usage for the generated key.

This determines the extensions that should be written in the certificate, such as OID.ExtKeyUsage (server or client authentication), or OID.BasicConstraints to use the key as CA.