# coding: utf-8 # AUTO-GENERATED FILE -- DO NOT EDIT """ Implementation module for SSL socket operations. See the socket module for documentation. """ CERT_NONE = 0 CERT_OPTIONAL = 1 CERT_REQUIRED = 2 PROTOCOL_SSLv2 = 0 PROTOCOL_SSLv23 = 2 PROTOCOL_SSLv3 = 1 PROTOCOL_TLSv1 = 3 def RAND_add(string, entropy): """ RAND_add(string, entropy) Mix string into the OpenSSL PRNG state. entropy (a float) is a lower bound on the entropy contained in string. See RFC 1750. """ pass def RAND_egd(path): """ RAND_egd(path) -> bytes Queries the entropy gather daemon (EGD) on the socket named by 'path'. Returns number of bytes read. Raises SSLError if connection to EGD fails or if it does provide enough data to seed PRNG. """ return None def RAND_status(): """ RAND_status() -> 0 or 1 Returns 1 if the OpenSSL PRNG has been seeded with enough data and 0 if not. It is necessary to seed the PRNG with RAND_add() on some platforms before using the ssl() function. """ return None class SSLError(error): pass class SSLType(object): pass SSL_ERROR_EOF = 8 SSL_ERROR_INVALID_ERROR_CODE = 9 SSL_ERROR_SSL = 1 SSL_ERROR_SYSCALL = 5 SSL_ERROR_WANT_CONNECT = 7 SSL_ERROR_WANT_READ = 2 SSL_ERROR_WANT_WRITE = 3 SSL_ERROR_WANT_X509_LOOKUP = 4 SSL_ERROR_ZERO_RETURN = 6 __doc__ = """Implementation module for SSL socket operations. See the socket module for documentation.""" __file__ = '/home/shared/src/ide/build-files/build-temp/runtimes-release/__os__/linux-x64/runtime-python2.6/lib/python2.6/lib-dynload/_ssl.so' __name__ = '_ssl' __package__ = None def _test_decode_cert(): pass def sslwrap(socket, server_side, keyfile=None, certfile=None, certs_mode=None, protocol=None, cacertsfile=None): """ sslwrap(socket, server_side, [keyfile, certfile, certs_mode, protocol, cacertsfile]) -> sslobject """ return None