Struct cassandra_cpp::Ssl [] [src]

pub struct Ssl(_);

Describes the SSL configuration of a cluster.

Methods

impl Ssl
[src]

[src]

Adds a trusted certificate. This is used to verify the peer's certificate.

[src]

Sets verification performed on the peer's certificate.

CASS_SSL_VERIFY_NONE - No verification is performed

CASS_SSL_VERIFY_PEER_CERT - Certificate is present and valid

CASS_SSL_VERIFY_PEER_IDENTITY - IP address matches the certificate's common name or one of its subject alternative names. This implies the certificate is also present.

Default: CASS_SSL_VERIFY_PEER_CERT

[src]

Set client-side certificate chain. This is used to authenticate the client on the server-side. This should contain the entire Certificate chain starting with the certificate itself.

[src]

Set client-side private key. This is used to authenticate the client on the server-side.

Trait Implementations

impl Debug for Ssl
[src]

[src]

Formats the value using the given formatter. Read more

impl Send for Ssl
[src]

impl Drop for Ssl
[src]

[src]

Frees a SSL context instance.

impl Default for Ssl
[src]

[src]

Creates a new SSL context.

Auto Trait Implementations

impl !Sync for Ssl