keyPair

fun keyPair(keyPair: KeyPair): <Error class: unknown class>
fun keyPair(publicKey: PublicKey, privateKey: PrivateKey): <Error class: unknown class>

Sets the public/private key pair used for this certificate. If unset a key pair will be generated.