summaryrefslogtreecommitdiff
path: root/src/M2Crypto/m2.py
blob: 81e4315470ca3b87f10305f1a273312ce66eeb8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
from __future__ import absolute_import

"""M2Crypto low level OpenSSL wrapper functions.

m2 is the low level wrapper for OpenSSL functions. Typically you would not
need to use these directly, since these will be called by the higher level
objects you should try to use instead.

Naming conventions: All functions wrapped by m2 are all lower case,
words separated by underscores.

Examples:

OpenSSL                   M2Crypto

X509_get_version          m2.x509_get_version
X509_get_notBefore        m2.x509_get_not_before
X509_REQ_verify           m2.x509_req_verify

Exceptions to naming rules:

XXX TDB

Copyright (c) 1999-2004 Ng Pheng Siong. All rights reserved.

Portions created by Open Source Applications Foundation (OSAF) are
Copyright (C) 2004 OSAF. All Rights Reserved.
"""

from M2Crypto.m2crypto import *
lib_init()