Keywords: pyOpenSSL

# Python OpenSSL Manual

Jean-Paul Calderone

exarkun@twistedmatrix.com

### Abstract:

This module is a rather thin wrapper around (a subset of) the OpenSSL library. With thin wrapper I mean that a lot of the object methods do nothing more than calling a corresponding function in the OpenSSL library.

- Contents
- 1 Introduction
- 2 Building and Installing
  - 2.1 Building the Module on a Unix System
  - 2.2 Building the Module on a Windows System
- 3 `OpenSSL` -- Python interface to OpenSSL
  - 3.1 `crypto` -- Generic cryptographic module
    - 3.1.1 X509 objects
    - 3.1.2 X509Name objects
    - 3.1.3 X509Req objects
    - 3.1.4 X509Store objects
    - 3.1.5 PKey objects
    - 3.1.6 PKCS7 objects
    - 3.1.7 PKCS12 objects
    - 3.1.8 X509Extension objects
    - 3.1.9 NetscapeSPKI objects
  - 3.2 `rand` -- An interface to the OpenSSL pseudo random number generator
  - 3.3 `SSL` -- An interface to the SSL-specific parts of OpenSSL
    - 3.3.1 Context objects
    - 3.3.2 Connection objects
- 4 Internals
  - 4.1 Exceptions
  - 4.2 Callbacks
  - 4.3 Acessing Socket Methods
- About this document ...