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

# `IceSSL::CertificateVerifier`

## Overview

    local interface CertificateVerifier

The `CertificateVerifier` is the base interface for all classes that define additional application-specific certificate verification rules. These rules are evaluated during the SSL handshake by an instance of a class derived from `CertificateVerifier`. The methods defined in derived interfaces will depend upon the requirements of the underlying SSL implementation. Default certificate verifier implementations can be obtained via the `Plugin`. As this is simply a base class for purposes of derivation, no methods are defined.

### Used By

`Plugin::getDefaultCertVerifier`, `Plugin::getSingleCertVerifier`, `Plugin::setCertificateVerifier`

### See Also

`Plugin`

### Operation Index

`setContext`

  Set the context type of this Certificate Verifier.

## `setContext`

    void setContext(ContextType type);

Set the context type of this Certificate Verifier.

### Parameters

`type`

  The type of context that is using this CertificateVerifier, Client, Server or ClientServer.

<<< Previous | Home | Next >>>
`IceSSL::CertificateVerificationException` | Up | `IceSSL::CertificateVerifierTypeException`