//okhttp-tls/okhttp3.tls/HeldCertificate/Builder/keyPair
keyPair¶
[jvm]\ fun keyPair(keyPair: KeyPair): HeldCertificate.Builder
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.