Cassandra\SSLOptions\Builder::withPrivateKey PHP Method

withPrivateKey() public method

Set client-side private key. This is used to authenticate the client on the server-side.
public withPrivateKey ( string $path, string | null $passphrase = null ) : Builder
$path string Path to the private key file
$passphrase string | null Passphrase for the private key, if any
return Builder self
    public function withPrivateKey($path, $passphrase = null)
    {
    }