Méthode | 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 | ||
Résultat | Cassandra\SSLOptions | ssl options configured accordingly. |
public withClientCert ( string $path ) : |
||
$path | string | path to a file containing a PEM formatted certificate. |
Résultat | self |
public withTrustedCerts ( $path ) : |
||
Résultat | self |
public withVerifyFlags ( integer $flags ) : |
||
$flags | integer | |
Résultat | self |