Movatterモバイル変換


[0]ホーム

URL:


W3C Sample Code Library libwww SSL Transport Wrapper

/***(c) COPYRIGHT MIT 1999.**Please first read the full copyright statement in the file COPYRIGH.*/

This module declares a SSL (using theOpenSSLlibrary, for example) transport wrapper so that libwww can use SSL asatransportthe same way it can use TCP andlocal host as transports.

The SSL module is contributed by Olga Antropova

#ifndef WWWSSL_H#define WWWSSL_H
#ifdef __cplusplusextern "C" { #endif

System dependencies

Thewwwsys.h file includes system-specific includefiles and flags for I/O to network and disk. The only reason for this fileis that the Internet world is more complicated than Posix and ANSI.

#include "wwwsys.h"

The Main SSL Module

This module is the one that actually talks to the SSL library and handlesthe internal SSL mechanisms for verifying certificates etc.

#include "HTSSL.h"

Initializing the SSL Module for "https:"

This module registers the various parts in libwww required for handling thehttps: URI scheme.

#include "HTSSLhttps.h"

SSL Read Transport Stream

The SSL read transport stream is responsible for reading from an SSL socketand pass the data to libwww

#include "HTSSLReader.h"

SSL Write Transport Stream

The SSL write transport stream is responsible for writing data to an SSLsocket

#include "HTSSLWriter.h"
#ifdef __cplusplus} #endif#endif  /* WWWSSL_H */


@(#) $Id: WWWSSL.html,v 1.2 2005/10/22 18:32:18 vbancrof Exp $
[8]
ページ先頭

©2009-2025 Movatter.jp