keyPair

fun keyPair(publicKey: PublicKey, privateKey: PrivateKey): HeldCertificate.Builder

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