Ice Reference Documentation
<<< Previous | Slice Documentation | Next >>>

# `IceSSL::ContextType`

## Overview

    enum ContextType

A `Plugin` may serve as a Client, Server or both (ClientServer). A `Context` is set up inside the `Plugin` in order to handle either Client or Server roles. The `Context` represents a role-specific configuration. Some `Plugin` operations require a `ContextType` argument to identify the `Context`.

### Used By

`CertificateVerifier::setContext`, `Plugin::addTrustedCertificate`, `Plugin::addTrustedCertificateBase64`, `Plugin::configure`, `Plugin::loadConfig`, `Plugin::setCertificateVerifier`, `Plugin::setRSAKeys`, `Plugin::setRSAKeysBase64`

### Enumerator Index

`Client`

  Select only the Client `Context`, no modifications to the Server.

`Server`

  Select only the Server `Context`, no modifications to the Client.

`ClientServer`

  Select and affect changes on both the Client and Server `Context`s.

## `Client`

    Client

Select only the Client `Context`, no modifications to the Server.

## `Server`

    Server

Select only the Server `Context`, no modifications to the Client.

## `ClientServer`

    ClientServer

Select and affect changes on both the Client and Server `Context`s.

<<< Previous | Home | Next >>>
`IceSSL::ContextNotConfiguredException` | Up | `IceSSL::Plugin`