Method | Description | |
---|---|---|
build ( ) : Cassandra\SSLOptions | Builds SSL options. | |
withClientCert ( string $path ) : |
Set client-side certificate chain. | |
withPrivateKey ( string $path, string | null $passphrase = null ) : |
Set client-side private key. This is used to authenticate the client on the server-side. | |
withTrustedCerts ( $path ) : |
Adds a trusted certificate. This is used to verify node's identity. | |
withVerifyFlags ( integer $flags ) : |
Disable certificate verification. |
public build ( ) : Cassandra\SSLOptions | ||
return | Cassandra\SSLOptions | ssl options configured accordingly. |
public withClientCert ( string $path ) : |
||
$path | string | path to a file containing a PEM formatted certificate. |
return | self |
public withTrustedCerts ( $path ) : |
||
return | self |
public withVerifyFlags ( integer $flags ) : |
||
$flags | integer | |
return | self |