pybitmessage.pyelliptic.openssl module

This module loads openssl libs with ctypes and incapsulates needed openssl functionality in class _OpenSSL.

class CipherName(name, pointer, blocksize)[source]

Bases: object

Class returns cipher name, pointer and blocksize

get_pointer()

This method returns cipher pointer

get_name()

This method returns cipher name

get_blocksize()

This method returns cipher blocksize

get_version(library)[source]

This function return version, hexversion and cflages

class BIGNUM[source]

Bases: _ctypes.Structure

OpenSSL’s BIGNUM struct

d

Structure/Union member

dmax

Structure/Union member

flags

Structure/Union member

neg

Structure/Union member

top

Structure/Union member

class EC_POINT[source]

Bases: _ctypes.Structure

OpenSSL’s EC_POINT struct

X

Structure/Union member

Y

Structure/Union member

Z

Structure/Union member

Z_is_one

Structure/Union member

curve_name

Structure/Union member

meth

Structure/Union member

loadOpenSSL()[source]

This function finds and load the OpenSSL library