Struct grpcio::ServerCredentialsBuilder[][src]

pub struct ServerCredentialsBuilder { /* fields omitted */ }

ServerCredentials factory in order to configure the properties.

Methods

impl ServerCredentialsBuilder
[src]

Initialize a new ServerCredentialsBuilder.

Set the PEM encoded client root certificate to verify client's identity. If force_client_auth is set to true, the authenticity of client check will be enforced.

Add a PEM encoded server side certificate and key.

Finalize the ServerCredentialsBuilder and build the ServerCredentials.

Trait Implementations

impl Drop for ServerCredentialsBuilder
[src]

Executes the destructor for this type. Read more

Auto Trait Implementations