[Python-modules-commits] [pykcs11] 01/04: Import pykcs11_1.3.1.orig.tar.gz
Ludovic Rousseau
rousseau at moszumanska.debian.org
Fri Oct 23 10:10:17 UTC 2015
This is an automated email from the git hooks/post-receive script.
rousseau pushed a commit to branch master
in repository pykcs11.
commit 8234fc2de2b89d65661233b357f922494590b5aa
Author: Ludovic Rousseau <rousseau at debian.org>
Date: Fri Oct 23 11:46:39 2015 +0200
Import pykcs11_1.3.1.orig.tar.gz
---
MANIFEST | 12 +-
Makefile | 19 +-
Makefile.win32 | 10 +-
PKG-INFO | 2 +-
PyKCS11.sln | 24 -
PyKCS11.vcproj | 261 -
PyKCS11/LowLevel.py | 1161 --
PyKCS11/__init__.py | 190 +-
readme.txt | 72 +-
samples/LowLevel/InitTokenPin.py | 3 +-
samples/LowLevel/dumpit.py | 9 +-
samples/LowLevel/rand.py | 50 +
samples/LowLevel/test.py | 7 +-
samples/LowLevel/test1.py | 5 +-
samples/dumpit.py | 5 +-
samples/{unblock.py => encrypt.py} | 38 +-
samples/events.py | 78 +
samples/generate.py | 59 +
samples/genkeypair_import_cert.py | 123 +
samples/getinfo.py | 5 +-
samples/{unblock.py => modulus.py} | 33 +-
samples/{unblock.py => signature.py} | 36 +-
samples/unblock.py | 5 +-
setup.py | 6 +-
src/ck_attribute_smart.cpp | 1 +
src/dyn_unix.c | 2 +-
src/pkcs11lib.cpp | 4 +-
src/pkcs11lib.h | 2 +-
src/pykcs11.i | 91 +-
src/stdafx.h | 2 +-
src/unix_pykcs11_wrap.cpp | 21263 ---------------------------------
31 files changed, 704 insertions(+), 22874 deletions(-)
diff --git a/MANIFEST b/MANIFEST
index 72a45be..49253cc 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -2,18 +2,23 @@ readme.txt
pykcs11.rc
resource.h
setup.py
-PyKCS11.sln
-PyKCS11.vcproj
Makefile
Makefile.win32
COPYING
MANIFEST
documentation.htm
samples/dumpit.py
+samples/encrypt.py
+samples/events.py
+samples/generate.py
+samples/genkeypair_import_cert.py
samples/getinfo.py
+samples/modulus.py
+samples/signature.py
samples/unblock.py
samples/LowLevel/dumpit.py
samples/LowLevel/InitTokenPin.py
+samples/LowLevel/rand.py
samples/LowLevel/test.py
samples/LowLevel/test1.py
PyKCS11/LowLevel.py
@@ -35,5 +40,4 @@ src/stdafx.h
src/utility.cpp
src/utility.h
src/opensc/pkcs11.h
-src/win32_pykcs11_wrap.cpp
-src/unix_pykcs11_wrap.cpp
+src/pykcs11_wrap.cpp
diff --git a/Makefile b/Makefile
index 6376dc4..79ce98a 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ endif
build: build-stamp
-build-stamp: src/unix_pykcs11_wrap.cpp
+build-stamp: src/pykcs11_wrap.cpp
$(PYTHON) setup.py build
touch build-stamp
@@ -20,7 +20,7 @@ install: build
clean distclean:
$(PYTHON) setup.py clean
- rm -f src/unix_pykcs11_wrap.cpp
+ rm -f src/pykcs11_wrap.cpp
rm -rf build
rm -f *.pyc PyKCS11/*.pyc
rm -f PyKCS11/LowLevel.py
@@ -28,17 +28,24 @@ clean distclean:
rebuild: clean build
-src/unix_pykcs11_wrap.cpp: src/pykcs11.i
- cd src ; swig -c++ -python $(SWIG_OPTS) pykcs11.i ; mv pykcs11_wrap.cxx unix_pykcs11_wrap.cpp ; mv LowLevel.py ../PyKCS11
+src/pykcs11_wrap.cpp: src/pykcs11.i
+ cd src ; swig -c++ -python $(SWIG_OPTS) pykcs11.i ; mv pykcs11_wrap.cxx pykcs11_wrap.cpp ; mv LowLevel.py ../PyKCS11
src/pykcs11.i: src/opensc/pkcs11.h src/pkcs11lib.h src/pykcs11string.h src/ck_attribute_smart.h
touch $@
-dist:
+dist: clean
$(PYTHON) setup.py sdist
-
+
+pypi: clean
+ $(PYTHON) setup.py sdist upload
+
doc: build
rm -rf html
epydoc --verbose PyKCS11
+doc-upload: doc
+ mv html api
+ scp -r api ludov at web.sourceforge.net:/home/project-web/pkcs11wrap/htdocs
+
.PHONY: build install clean rebuild dist doc
diff --git a/Makefile.win32 b/Makefile.win32
index 5476fc4..d64c075 100644
--- a/Makefile.win32
+++ b/Makefile.win32
@@ -1,5 +1,5 @@
-build: src/win32_pykcs11_wrap.cpp
+build: src/pykcs11_wrap.cpp
setup.py build
install: build
@@ -7,16 +7,16 @@ install: build
clean:
setup.py clean
- DEL /F /Q src\win32_pykcs11_wrap.cpp
+ DEL /F /Q src\pykcs11_wrap.cpp
DEL /S /F /Q build
DEL /F /Q *.pyc PyKCS11\*.pyc
DEL /F /Q PyKCS11\LowLevel.py
rebuild: clean build
-src/win32_pykcs11_wrap.cpp: src/pykcs11.i
- swig.exe -c++ -Fmicrosoft -o src\win32_pykcs11_wrap.cpp -python src\pykcs11.i
+src/pykcs11_wrap.cpp: src/pykcs11.i
+ swig.exe -c++ -Fmicrosoft -o src\pykcs11_wrap.cpp -python src\pykcs11.i
move src\LowLevel.py PyKCS11\
src/pykcs11.i: src/opensc/pkcs11.h src/pkcs11lib.h src/pykcs11string.h src/ck_attribute_smart.h
-
+
diff --git a/PKG-INFO b/PKG-INFO
index 7550760..a3febc6 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: PyKCS11
-Version: 1.3.0
+Version: 1.3.1
Summary: A Full PKCS#11 wrapper for Python
Home-page: http://sourceforge.net/projects/pkcs11wrap/
Author: Ludovic Rousseau
diff --git a/PyKCS11.sln b/PyKCS11.sln
deleted file mode 100644
index dbf4c16..0000000
--- a/PyKCS11.sln
+++ /dev/null
@@ -1,24 +0,0 @@
-Microsoft Visual Studio Solution File, Format Version 8.00
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PyKCS11", "PyKCS11.vcproj", "{F41B86D5-7C16-4FEC-9ECC-315805589C14}"
- ProjectSection(ProjectDependencies) = postProject
- EndProjectSection
-EndProject
-Global
- GlobalSection(DPCodeReviewSolutionGUID) = preSolution
- DPCodeReviewSolutionGUID = {00000000-0000-0000-0000-000000000000}
- EndGlobalSection
- GlobalSection(SolutionConfiguration) = preSolution
- Debug = Debug
- Release = Release
- EndGlobalSection
- GlobalSection(ProjectConfiguration) = postSolution
- {F41B86D5-7C16-4FEC-9ECC-315805589C14}.Debug.ActiveCfg = Debug|Win32
- {F41B86D5-7C16-4FEC-9ECC-315805589C14}.Debug.Build.0 = Debug|Win32
- {F41B86D5-7C16-4FEC-9ECC-315805589C14}.Release.ActiveCfg = Release|Win32
- {F41B86D5-7C16-4FEC-9ECC-315805589C14}.Release.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(ExtensibilityGlobals) = postSolution
- EndGlobalSection
- GlobalSection(ExtensibilityAddIns) = postSolution
- EndGlobalSection
-EndGlobal
diff --git a/PyKCS11.vcproj b/PyKCS11.vcproj
deleted file mode 100644
index 7a61812..0000000
--- a/PyKCS11.vcproj
+++ /dev/null
@@ -1,261 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="7.10"
- Name="pykcs11"
- ProjectGUID="{F41B86D5-7C16-4FEC-9ECC-315805589C14}"
- RootNamespace="pykcs11"
- Keyword="Win32Proj">
- <Platforms>
- <Platform
- Name="Win32"/>
- </Platforms>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="Debug"
- IntermediateDirectory="Debug"
- ConfigurationType="2"
- CharacterSet="2">
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;PYKCS11_EXPORTS;SWIG_STD_NOASSIGN_STL"
- MinimalRebuild="TRUE"
- BasicRuntimeChecks="3"
- RuntimeLibrary="1"
- RuntimeTypeInfo="TRUE"
- UsePrecompiledHeader="3"
- PrecompiledHeaderFile="$(IntDir)/_LowLevel.pch"
- WarningLevel="3"
- DebugInformationFormat="4"/>
- <Tool
- Name="VCCustomBuildTool"/>
- <Tool
- Name="VCLinkerTool"
- OutputFile="$(OutDir)/_LowLevel.dll"
- LinkIncremental="2"
- GenerateDebugInformation="TRUE"
- ProgramDatabaseFile="$(OutDir)/_$(ProjectName).pdb"
- SubSystem="2"
- ImportLibrary="$(OutDir)/_LowLevel.lib"
- TargetMachine="1"/>
- <Tool
- Name="VCMIDLTool"/>
- <Tool
- Name="VCPostBuildEventTool"/>
- <Tool
- Name="VCPreBuildEventTool"/>
- <Tool
- Name="VCPreLinkEventTool"/>
- <Tool
- Name="VCResourceCompilerTool"/>
- <Tool
- Name="VCWebServiceProxyGeneratorTool"/>
- <Tool
- Name="VCXMLDataGeneratorTool"/>
- <Tool
- Name="VCWebDeploymentTool"/>
- <Tool
- Name="VCManagedWrapperGeneratorTool"/>
- <Tool
- Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="Release"
- IntermediateDirectory="Release"
- ConfigurationType="2"
- CharacterSet="2">
- <Tool
- Name="VCCLCompilerTool"
- Optimization="1"
- PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;PYKCS11_EXPORTS;SWIG_STD_NOASSIGN_STL__"
- RuntimeLibrary="0"
- RuntimeTypeInfo="TRUE"
- UsePrecompiledHeader="3"
- PrecompiledHeaderFile="$(IntDir)/_LowLevel.pch"
- WarningLevel="3"
- DebugInformationFormat="3"/>
- <Tool
- Name="VCCustomBuildTool"/>
- <Tool
- Name="VCLinkerTool"
- OutputFile="$(OutDir)/_LowLevel.dll"
- LinkIncremental="1"
- GenerateDebugInformation="TRUE"
- ProgramDatabaseFile="$(OutDir)/_$(ProjectName).pdb"
- SubSystem="2"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- ImportLibrary="$(OutDir)/_LowLevel.lib"
- TargetMachine="1"/>
- <Tool
- Name="VCMIDLTool"/>
- <Tool
- Name="VCPostBuildEventTool"
- CommandLine="copy "$(TargetPath)" PyKCS11\"/>
- <Tool
- Name="VCPreBuildEventTool"/>
- <Tool
- Name="VCPreLinkEventTool"/>
- <Tool
- Name="VCResourceCompilerTool"/>
- <Tool
- Name="VCWebServiceProxyGeneratorTool"/>
- <Tool
- Name="VCXMLDataGeneratorTool"/>
- <Tool
- Name="VCWebDeploymentTool"/>
- <Tool
- Name="VCManagedWrapperGeneratorTool"/>
- <Tool
- Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
- <File
- RelativePath=".\src\ck_attribute_smart.cpp">
- </File>
- <File
- RelativePath=".\src\dyn_win32.c">
- <FileConfiguration
- Name="Debug|Win32">
- <Tool
- Name="VCCLCompilerTool"
- UsePrecompiledHeader="0"/>
- </FileConfiguration>
- <FileConfiguration
- Name="Release|Win32">
- <Tool
- Name="VCCLCompilerTool"
- UsePrecompiledHeader="0"/>
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\src\pkcs11lib.cpp">
- </File>
- <File
- RelativePath=".\src\pykcs11.cpp">
- </File>
- <File
- RelativePath=".\src\pykcs11string.cpp">
- </File>
- <File
- RelativePath=".\src\stdafx.cpp">
- <FileConfiguration
- Name="Debug|Win32">
- <Tool
- Name="VCCLCompilerTool"
- UsePrecompiledHeader="1"/>
- </FileConfiguration>
- <FileConfiguration
- Name="Release|Win32">
- <Tool
- Name="VCCLCompilerTool"
- UsePrecompiledHeader="1"/>
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\src\utility.cpp">
- </File>
- <File
- RelativePath=".\src\win32_pykcs11_wrap.cpp">
- <FileConfiguration
- Name="Debug|Win32">
- <Tool
- Name="VCCLCompilerTool"
- UsePrecompiledHeader="0"/>
- </FileConfiguration>
- <FileConfiguration
- Name="Release|Win32">
- <Tool
- Name="VCCLCompilerTool"
- UsePrecompiledHeader="0"/>
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
- <File
- RelativePath=".\src\ck_attribute_smart.h">
- </File>
- <File
- RelativePath=".\src\dyn_generic.h">
- </File>
- <File
- RelativePath=".\src\pkcs11lib.h">
- </File>
- <File
- RelativePath=".\src\pykcs11.h">
- </File>
- <File
- RelativePath=".\src\pykcs11string.h">
- </File>
- <File
- RelativePath=".\resource.h">
- </File>
- <File
- RelativePath=".\src\stdafx.h">
- </File>
- <File
- RelativePath=".\src\utility.h">
- </File>
- <Filter
- Name="pkcs11"
- Filter="">
- <File
- RelativePath=".\src\opensc\pkcs11.h">
- </File>
- </Filter>
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}">
- <File
- RelativePath=".\pykcs11.rc">
- </File>
- </Filter>
- <File
- RelativePath="..\..\..\..\Projects\tests\pykcs11\documentation.htm"
- DeploymentContent="TRUE">
- </File>
- <File
- RelativePath=".\src\pykcs11.i">
- <FileConfiguration
- Name="Debug|Win32">
- <Tool
- Name="VCCustomBuildTool"
- Description="Generating SWIG wrapper"
- CommandLine="swig.exe -c++ -Fmicrosoft -o "$(InputDir)\win32_$(InputName)_wrap.cpp" -python "$(InputPath)"
-copy "$(InputDir)\LowLevel.py" PyKCS11\"
- AdditionalDependencies="$(InputDir)\pkcs11lib.h"
- Outputs="$(InputDir)\win32_$(InputName)_wrap.cpp;$(InputDir)\LowLevel.py"/>
- </FileConfiguration>
- <FileConfiguration
- Name="Release|Win32">
- <Tool
- Name="VCCustomBuildTool"
- Description="Generating SWIG wrapper"
- CommandLine="swig.exe -c++ -Fmicrosoft -o "$(InputDir)\win32_$(InputName)_wrap.cpp" -python "$(InputPath)"
-copy "$(InputDir)\LowLevel.py" PyKCS11\"
- AdditionalDependencies="$(InputDir)\pkcs11lib.h"
- Outputs="$(InputDir)\win32_$(InputName)_wrap.cpp;$(InputDir)\LowLevel.py"/>
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\readme.txt">
- </File>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/PyKCS11/LowLevel.py b/PyKCS11/LowLevel.py
deleted file mode 100644
index dc6c996..0000000
--- a/PyKCS11/LowLevel.py
+++ /dev/null
@@ -1,1161 +0,0 @@
-# This file was automatically generated by SWIG (http://www.swig.org).
-# Version 2.0.12
-#
-# Do not make changes to this file unless you know what you are doing--modify
-# the SWIG interface file instead.
-
-
-
-
-
-from sys import version_info
-if version_info >= (2,6,0):
- def swig_import_helper():
- from os.path import dirname
- import imp
- fp = None
- try:
- fp, pathname, description = imp.find_module('_LowLevel', [dirname(__file__)])
- except ImportError:
- import _LowLevel
- return _LowLevel
- if fp is not None:
- try:
- _mod = imp.load_module('_LowLevel', fp, pathname, description)
- finally:
- fp.close()
- return _mod
- _LowLevel = swig_import_helper()
- del swig_import_helper
-else:
- import _LowLevel
-del version_info
-try:
- _swig_property = property
-except NameError:
- pass # Python < 2.2 doesn't have 'property'.
-def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
- if (name == "thisown"): return self.this.own(value)
- if (name == "this"):
- if type(value).__name__ == 'SwigPyObject':
- self.__dict__[name] = value
- return
- method = class_type.__swig_setmethods__.get(name,None)
- if method: return method(self,value)
- if (not static):
- self.__dict__[name] = value
- else:
- raise AttributeError("You cannot add attributes to %s" % self)
-
-def _swig_setattr(self,class_type,name,value):
- return _swig_setattr_nondynamic(self,class_type,name,value,0)
-
-def _swig_getattr(self,class_type,name):
- if (name == "thisown"): return self.this.own()
- method = class_type.__swig_getmethods__.get(name,None)
- if method: return method(self)
- raise AttributeError(name)
-
-def _swig_repr(self):
- try: strthis = "proxy of " + self.this.__repr__()
- except: strthis = ""
- return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
-
-try:
- _object = object
- _newclass = 1
-except AttributeError:
- class _object : pass
- _newclass = 0
-
-
-
-def cdata(*args):
- return _LowLevel.cdata(*args)
-cdata = _LowLevel.cdata
-
-def memmove(*args):
- return _LowLevel.memmove(*args)
-memmove = _LowLevel.memmove
-class SwigPyIterator(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, SwigPyIterator, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, SwigPyIterator, name)
- def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
- __repr__ = _swig_repr
- __swig_destroy__ = _LowLevel.delete_SwigPyIterator
- __del__ = lambda self : None;
- def value(self): return _LowLevel.SwigPyIterator_value(self)
- def incr(self, n=1): return _LowLevel.SwigPyIterator_incr(self, n)
- def decr(self, n=1): return _LowLevel.SwigPyIterator_decr(self, n)
- def distance(self, *args): return _LowLevel.SwigPyIterator_distance(self, *args)
- def equal(self, *args): return _LowLevel.SwigPyIterator_equal(self, *args)
- def copy(self): return _LowLevel.SwigPyIterator_copy(self)
- def next(self): return _LowLevel.SwigPyIterator_next(self)
- def __next__(self): return _LowLevel.SwigPyIterator___next__(self)
- def previous(self): return _LowLevel.SwigPyIterator_previous(self)
- def advance(self, *args): return _LowLevel.SwigPyIterator_advance(self, *args)
- def __eq__(self, *args): return _LowLevel.SwigPyIterator___eq__(self, *args)
- def __ne__(self, *args): return _LowLevel.SwigPyIterator___ne__(self, *args)
- def __iadd__(self, *args): return _LowLevel.SwigPyIterator___iadd__(self, *args)
- def __isub__(self, *args): return _LowLevel.SwigPyIterator___isub__(self, *args)
- def __add__(self, *args): return _LowLevel.SwigPyIterator___add__(self, *args)
- def __sub__(self, *args): return _LowLevel.SwigPyIterator___sub__(self, *args)
- def __iter__(self): return self
-SwigPyIterator_swigregister = _LowLevel.SwigPyIterator_swigregister
-SwigPyIterator_swigregister(SwigPyIterator)
-
-class ckintlist(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, ckintlist, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, ckintlist, name)
- __repr__ = _swig_repr
- def iterator(self): return _LowLevel.ckintlist_iterator(self)
- def __iter__(self): return self.iterator()
- def __nonzero__(self): return _LowLevel.ckintlist___nonzero__(self)
- def __bool__(self): return _LowLevel.ckintlist___bool__(self)
- def __len__(self): return _LowLevel.ckintlist___len__(self)
- def pop(self): return _LowLevel.ckintlist_pop(self)
- def __getslice__(self, *args): return _LowLevel.ckintlist___getslice__(self, *args)
- def __setslice__(self, *args): return _LowLevel.ckintlist___setslice__(self, *args)
- def __delslice__(self, *args): return _LowLevel.ckintlist___delslice__(self, *args)
- def __delitem__(self, *args): return _LowLevel.ckintlist___delitem__(self, *args)
- def __getitem__(self, *args): return _LowLevel.ckintlist___getitem__(self, *args)
- def __setitem__(self, *args): return _LowLevel.ckintlist___setitem__(self, *args)
- def append(self, *args): return _LowLevel.ckintlist_append(self, *args)
- def empty(self): return _LowLevel.ckintlist_empty(self)
- def size(self): return _LowLevel.ckintlist_size(self)
- def clear(self): return _LowLevel.ckintlist_clear(self)
- def swap(self, *args): return _LowLevel.ckintlist_swap(self, *args)
- def get_allocator(self): return _LowLevel.ckintlist_get_allocator(self)
- def begin(self): return _LowLevel.ckintlist_begin(self)
- def end(self): return _LowLevel.ckintlist_end(self)
- def rbegin(self): return _LowLevel.ckintlist_rbegin(self)
- def rend(self): return _LowLevel.ckintlist_rend(self)
- def pop_back(self): return _LowLevel.ckintlist_pop_back(self)
- def erase(self, *args): return _LowLevel.ckintlist_erase(self, *args)
- def __init__(self, *args):
- this = _LowLevel.new_ckintlist(*args)
- try: self.this.append(this)
- except: self.this = this
- def push_back(self, *args): return _LowLevel.ckintlist_push_back(self, *args)
- def front(self): return _LowLevel.ckintlist_front(self)
- def back(self): return _LowLevel.ckintlist_back(self)
- def assign(self, *args): return _LowLevel.ckintlist_assign(self, *args)
- def resize(self, *args): return _LowLevel.ckintlist_resize(self, *args)
- def insert(self, *args): return _LowLevel.ckintlist_insert(self, *args)
- def reserve(self, *args): return _LowLevel.ckintlist_reserve(self, *args)
- def capacity(self): return _LowLevel.ckintlist_capacity(self)
- __swig_destroy__ = _LowLevel.delete_ckintlist
- __del__ = lambda self : None;
-ckintlist_swigregister = _LowLevel.ckintlist_swigregister
-ckintlist_swigregister(ckintlist)
-
-class ckbytelist(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, ckbytelist, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, ckbytelist, name)
- __repr__ = _swig_repr
- def iterator(self): return _LowLevel.ckbytelist_iterator(self)
- def __iter__(self): return self.iterator()
- def __nonzero__(self): return _LowLevel.ckbytelist___nonzero__(self)
- def __bool__(self): return _LowLevel.ckbytelist___bool__(self)
- def __len__(self): return _LowLevel.ckbytelist___len__(self)
- def pop(self): return _LowLevel.ckbytelist_pop(self)
- def __getslice__(self, *args): return _LowLevel.ckbytelist___getslice__(self, *args)
- def __setslice__(self, *args): return _LowLevel.ckbytelist___setslice__(self, *args)
- def __delslice__(self, *args): return _LowLevel.ckbytelist___delslice__(self, *args)
- def __delitem__(self, *args): return _LowLevel.ckbytelist___delitem__(self, *args)
- def __getitem__(self, *args): return _LowLevel.ckbytelist___getitem__(self, *args)
- def __setitem__(self, *args): return _LowLevel.ckbytelist___setitem__(self, *args)
- def append(self, *args): return _LowLevel.ckbytelist_append(self, *args)
- def empty(self): return _LowLevel.ckbytelist_empty(self)
- def size(self): return _LowLevel.ckbytelist_size(self)
- def clear(self): return _LowLevel.ckbytelist_clear(self)
- def swap(self, *args): return _LowLevel.ckbytelist_swap(self, *args)
- def get_allocator(self): return _LowLevel.ckbytelist_get_allocator(self)
- def begin(self): return _LowLevel.ckbytelist_begin(self)
- def end(self): return _LowLevel.ckbytelist_end(self)
- def rbegin(self): return _LowLevel.ckbytelist_rbegin(self)
- def rend(self): return _LowLevel.ckbytelist_rend(self)
- def pop_back(self): return _LowLevel.ckbytelist_pop_back(self)
- def erase(self, *args): return _LowLevel.ckbytelist_erase(self, *args)
- def __init__(self, *args):
- this = _LowLevel.new_ckbytelist(*args)
- try: self.this.append(this)
- except: self.this = this
- def push_back(self, *args): return _LowLevel.ckbytelist_push_back(self, *args)
- def front(self): return _LowLevel.ckbytelist_front(self)
- def back(self): return _LowLevel.ckbytelist_back(self)
- def assign(self, *args): return _LowLevel.ckbytelist_assign(self, *args)
- def resize(self, *args): return _LowLevel.ckbytelist_resize(self, *args)
- def insert(self, *args): return _LowLevel.ckbytelist_insert(self, *args)
- def reserve(self, *args): return _LowLevel.ckbytelist_reserve(self, *args)
- def capacity(self): return _LowLevel.ckbytelist_capacity(self)
- __swig_destroy__ = _LowLevel.delete_ckbytelist
- __del__ = lambda self : None;
-ckbytelist_swigregister = _LowLevel.ckbytelist_swigregister
-ckbytelist_swigregister(ckbytelist)
-
-class ckattrlist(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, ckattrlist, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, ckattrlist, name)
- __repr__ = _swig_repr
- def iterator(self): return _LowLevel.ckattrlist_iterator(self)
- def __iter__(self): return self.iterator()
- def __nonzero__(self): return _LowLevel.ckattrlist___nonzero__(self)
- def __bool__(self): return _LowLevel.ckattrlist___bool__(self)
- def __len__(self): return _LowLevel.ckattrlist___len__(self)
- def pop(self): return _LowLevel.ckattrlist_pop(self)
- def __getslice__(self, *args): return _LowLevel.ckattrlist___getslice__(self, *args)
- def __setslice__(self, *args): return _LowLevel.ckattrlist___setslice__(self, *args)
- def __delslice__(self, *args): return _LowLevel.ckattrlist___delslice__(self, *args)
- def __delitem__(self, *args): return _LowLevel.ckattrlist___delitem__(self, *args)
- def __getitem__(self, *args): return _LowLevel.ckattrlist___getitem__(self, *args)
- def __setitem__(self, *args): return _LowLevel.ckattrlist___setitem__(self, *args)
- def append(self, *args): return _LowLevel.ckattrlist_append(self, *args)
- def empty(self): return _LowLevel.ckattrlist_empty(self)
- def size(self): return _LowLevel.ckattrlist_size(self)
- def clear(self): return _LowLevel.ckattrlist_clear(self)
- def swap(self, *args): return _LowLevel.ckattrlist_swap(self, *args)
- def get_allocator(self): return _LowLevel.ckattrlist_get_allocator(self)
- def begin(self): return _LowLevel.ckattrlist_begin(self)
- def end(self): return _LowLevel.ckattrlist_end(self)
- def rbegin(self): return _LowLevel.ckattrlist_rbegin(self)
- def rend(self): return _LowLevel.ckattrlist_rend(self)
- def pop_back(self): return _LowLevel.ckattrlist_pop_back(self)
- def erase(self, *args): return _LowLevel.ckattrlist_erase(self, *args)
- def __init__(self, *args):
- this = _LowLevel.new_ckattrlist(*args)
- try: self.this.append(this)
- except: self.this = this
- def push_back(self, *args): return _LowLevel.ckattrlist_push_back(self, *args)
- def front(self): return _LowLevel.ckattrlist_front(self)
- def back(self): return _LowLevel.ckattrlist_back(self)
- def assign(self, *args): return _LowLevel.ckattrlist_assign(self, *args)
- def resize(self, *args): return _LowLevel.ckattrlist_resize(self, *args)
- def insert(self, *args): return _LowLevel.ckattrlist_insert(self, *args)
- def reserve(self, *args): return _LowLevel.ckattrlist_reserve(self, *args)
- def capacity(self): return _LowLevel.ckattrlist_capacity(self)
- __swig_destroy__ = _LowLevel.delete_ckattrlist
- __del__ = lambda self : None;
-ckattrlist_swigregister = _LowLevel.ckattrlist_swigregister
-ckattrlist_swigregister(ckattrlist)
-
-class ckobjlist(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, ckobjlist, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, ckobjlist, name)
- __repr__ = _swig_repr
- def iterator(self): return _LowLevel.ckobjlist_iterator(self)
- def __iter__(self): return self.iterator()
- def __nonzero__(self): return _LowLevel.ckobjlist___nonzero__(self)
- def __bool__(self): return _LowLevel.ckobjlist___bool__(self)
- def __len__(self): return _LowLevel.ckobjlist___len__(self)
- def pop(self): return _LowLevel.ckobjlist_pop(self)
- def __getslice__(self, *args): return _LowLevel.ckobjlist___getslice__(self, *args)
- def __setslice__(self, *args): return _LowLevel.ckobjlist___setslice__(self, *args)
- def __delslice__(self, *args): return _LowLevel.ckobjlist___delslice__(self, *args)
- def __delitem__(self, *args): return _LowLevel.ckobjlist___delitem__(self, *args)
- def __getitem__(self, *args): return _LowLevel.ckobjlist___getitem__(self, *args)
- def __setitem__(self, *args): return _LowLevel.ckobjlist___setitem__(self, *args)
- def append(self, *args): return _LowLevel.ckobjlist_append(self, *args)
- def empty(self): return _LowLevel.ckobjlist_empty(self)
- def size(self): return _LowLevel.ckobjlist_size(self)
- def clear(self): return _LowLevel.ckobjlist_clear(self)
- def swap(self, *args): return _LowLevel.ckobjlist_swap(self, *args)
- def get_allocator(self): return _LowLevel.ckobjlist_get_allocator(self)
- def begin(self): return _LowLevel.ckobjlist_begin(self)
- def end(self): return _LowLevel.ckobjlist_end(self)
- def rbegin(self): return _LowLevel.ckobjlist_rbegin(self)
- def rend(self): return _LowLevel.ckobjlist_rend(self)
- def pop_back(self): return _LowLevel.ckobjlist_pop_back(self)
- def erase(self, *args): return _LowLevel.ckobjlist_erase(self, *args)
- def __init__(self, *args):
- this = _LowLevel.new_ckobjlist(*args)
- try: self.this.append(this)
- except: self.this = this
- def push_back(self, *args): return _LowLevel.ckobjlist_push_back(self, *args)
- def front(self): return _LowLevel.ckobjlist_front(self)
- def back(self): return _LowLevel.ckobjlist_back(self)
- def assign(self, *args): return _LowLevel.ckobjlist_assign(self, *args)
- def resize(self, *args): return _LowLevel.ckobjlist_resize(self, *args)
- def insert(self, *args): return _LowLevel.ckobjlist_insert(self, *args)
- def reserve(self, *args): return _LowLevel.ckobjlist_reserve(self, *args)
- def capacity(self): return _LowLevel.ckobjlist_capacity(self)
- __swig_destroy__ = _LowLevel.delete_ckobjlist
- __del__ = lambda self : None;
-ckobjlist_swigregister = _LowLevel.ckobjlist_swigregister
-ckobjlist_swigregister(ckobjlist)
-
-class CK_SESSION_HANDLE(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, CK_SESSION_HANDLE, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, CK_SESSION_HANDLE, name)
- __repr__ = _swig_repr
- def __init__(self):
- this = _LowLevel.new_CK_SESSION_HANDLE()
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _LowLevel.delete_CK_SESSION_HANDLE
- __del__ = lambda self : None;
- def assign(self, *args): return _LowLevel.CK_SESSION_HANDLE_assign(self, *args)
- def value(self): return _LowLevel.CK_SESSION_HANDLE_value(self)
- def cast(self): return _LowLevel.CK_SESSION_HANDLE_cast(self)
- __swig_getmethods__["frompointer"] = lambda x: _LowLevel.CK_SESSION_HANDLE_frompointer
- if _newclass:frompointer = staticmethod(_LowLevel.CK_SESSION_HANDLE_frompointer)
-CK_SESSION_HANDLE_swigregister = _LowLevel.CK_SESSION_HANDLE_swigregister
-CK_SESSION_HANDLE_swigregister(CK_SESSION_HANDLE)
-
-def CK_SESSION_HANDLE_frompointer(*args):
- return _LowLevel.CK_SESSION_HANDLE_frompointer(*args)
-CK_SESSION_HANDLE_frompointer = _LowLevel.CK_SESSION_HANDLE_frompointer
-
-class CK_OBJECT_HANDLE(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, CK_OBJECT_HANDLE, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, CK_OBJECT_HANDLE, name)
- __repr__ = _swig_repr
- def __init__(self):
- this = _LowLevel.new_CK_OBJECT_HANDLE()
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _LowLevel.delete_CK_OBJECT_HANDLE
- __del__ = lambda self : None;
- def assign(self, *args): return _LowLevel.CK_OBJECT_HANDLE_assign(self, *args)
- def value(self): return _LowLevel.CK_OBJECT_HANDLE_value(self)
- def cast(self): return _LowLevel.CK_OBJECT_HANDLE_cast(self)
- __swig_getmethods__["frompointer"] = lambda x: _LowLevel.CK_OBJECT_HANDLE_frompointer
- if _newclass:frompointer = staticmethod(_LowLevel.CK_OBJECT_HANDLE_frompointer)
-CK_OBJECT_HANDLE_swigregister = _LowLevel.CK_OBJECT_HANDLE_swigregister
-CK_OBJECT_HANDLE_swigregister(CK_OBJECT_HANDLE)
-
-def CK_OBJECT_HANDLE_frompointer(*args):
- return _LowLevel.CK_OBJECT_HANDLE_frompointer(*args)
-CK_OBJECT_HANDLE_frompointer = _LowLevel.CK_OBJECT_HANDLE_frompointer
-
-class byteArray(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, byteArray, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, byteArray, name)
- __repr__ = _swig_repr
- def __init__(self, *args):
- this = _LowLevel.new_byteArray(*args)
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _LowLevel.delete_byteArray
- __del__ = lambda self : None;
- def __getitem__(self, *args): return _LowLevel.byteArray___getitem__(self, *args)
- def __setitem__(self, *args): return _LowLevel.byteArray___setitem__(self, *args)
- def cast(self): return _LowLevel.byteArray_cast(self)
- __swig_getmethods__["frompointer"] = lambda x: _LowLevel.byteArray_frompointer
- if _newclass:frompointer = staticmethod(_LowLevel.byteArray_frompointer)
-byteArray_swigregister = _LowLevel.byteArray_swigregister
-byteArray_swigregister(byteArray)
-
-def byteArray_frompointer(*args):
- return _LowLevel.byteArray_frompointer(*args)
-byteArray_frompointer = _LowLevel.byteArray_frompointer
-
-class CK_VERSION(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, CK_VERSION, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, CK_VERSION, name)
- __repr__ = _swig_repr
- __swig_getmethods__["major"] = _LowLevel.CK_VERSION_major_get
- if _newclass:major = _swig_property(_LowLevel.CK_VERSION_major_get)
- __swig_getmethods__["minor"] = _LowLevel.CK_VERSION_minor_get
- if _newclass:minor = _swig_property(_LowLevel.CK_VERSION_minor_get)
- def __init__(self):
- this = _LowLevel.new_CK_VERSION()
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _LowLevel.delete_CK_VERSION
- __del__ = lambda self : None;
-CK_VERSION_swigregister = _LowLevel.CK_VERSION_swigregister
-CK_VERSION_swigregister(CK_VERSION)
-
-class CK_INFO(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, CK_INFO, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, CK_INFO, name)
- __repr__ = _swig_repr
- __swig_getmethods__["cryptokiVersion"] = _LowLevel.CK_INFO_cryptokiVersion_get
- if _newclass:cryptokiVersion = _swig_property(_LowLevel.CK_INFO_cryptokiVersion_get)
- __swig_getmethods__["manufacturerID"] = _LowLevel.CK_INFO_manufacturerID_get
- if _newclass:manufacturerID = _swig_property(_LowLevel.CK_INFO_manufacturerID_get)
- __swig_getmethods__["flags"] = _LowLevel.CK_INFO_flags_get
- if _newclass:flags = _swig_property(_LowLevel.CK_INFO_flags_get)
- __swig_getmethods__["libraryDescription"] = _LowLevel.CK_INFO_libraryDescription_get
- if _newclass:libraryDescription = _swig_property(_LowLevel.CK_INFO_libraryDescription_get)
- __swig_getmethods__["libraryVersion"] = _LowLevel.CK_INFO_libraryVersion_get
- if _newclass:libraryVersion = _swig_property(_LowLevel.CK_INFO_libraryVersion_get)
- def GetManufacturerID(self): return _LowLevel.CK_INFO_GetManufacturerID(self)
- def GetLibraryDescription(self): return _LowLevel.CK_INFO_GetLibraryDescription(self)
- def GetLibraryVersion(self): return _LowLevel.CK_INFO_GetLibraryVersion(self)
- def __init__(self):
- this = _LowLevel.new_CK_INFO()
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _LowLevel.delete_CK_INFO
- __del__ = lambda self : None;
-CK_INFO_swigregister = _LowLevel.CK_INFO_swigregister
-CK_INFO_swigregister(CK_INFO)
-
-class CK_SLOT_INFO(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, CK_SLOT_INFO, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, CK_SLOT_INFO, name)
- __repr__ = _swig_repr
- __swig_getmethods__["flags"] = _LowLevel.CK_SLOT_INFO_flags_get
- if _newclass:flags = _swig_property(_LowLevel.CK_SLOT_INFO_flags_get)
- __swig_getmethods__["hardwareVersion"] = _LowLevel.CK_SLOT_INFO_hardwareVersion_get
- if _newclass:hardwareVersion = _swig_property(_LowLevel.CK_SLOT_INFO_hardwareVersion_get)
- __swig_getmethods__["firmwareVersion"] = _LowLevel.CK_SLOT_INFO_firmwareVersion_get
- if _newclass:firmwareVersion = _swig_property(_LowLevel.CK_SLOT_INFO_firmwareVersion_get)
- def GetManufacturerID(self): return _LowLevel.CK_SLOT_INFO_GetManufacturerID(self)
- def GetSlotDescription(self): return _LowLevel.CK_SLOT_INFO_GetSlotDescription(self)
- def GetHardwareVersion(self): return _LowLevel.CK_SLOT_INFO_GetHardwareVersion(self)
- def GetFirmwareVersion(self): return _LowLevel.CK_SLOT_INFO_GetFirmwareVersion(self)
- def __init__(self):
- this = _LowLevel.new_CK_SLOT_INFO()
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _LowLevel.delete_CK_SLOT_INFO
- __del__ = lambda self : None;
-CK_SLOT_INFO_swigregister = _LowLevel.CK_SLOT_INFO_swigregister
-CK_SLOT_INFO_swigregister(CK_SLOT_INFO)
-
-class CK_TOKEN_INFO(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, CK_TOKEN_INFO, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, CK_TOKEN_INFO, name)
- __repr__ = _swig_repr
- __swig_getmethods__["flags"] = _LowLevel.CK_TOKEN_INFO_flags_get
- if _newclass:flags = _swig_property(_LowLevel.CK_TOKEN_INFO_flags_get)
- __swig_getmethods__["ulMaxSessionCount"] = _LowLevel.CK_TOKEN_INFO_ulMaxSessionCount_get
- if _newclass:ulMaxSessionCount = _swig_property(_LowLevel.CK_TOKEN_INFO_ulMaxSessionCount_get)
- __swig_getmethods__["ulSessionCount"] = _LowLevel.CK_TOKEN_INFO_ulSessionCount_get
- if _newclass:ulSessionCount = _swig_property(_LowLevel.CK_TOKEN_INFO_ulSessionCount_get)
- __swig_getmethods__["ulMaxRwSessionCount"] = _LowLevel.CK_TOKEN_INFO_ulMaxRwSessionCount_get
- if _newclass:ulMaxRwSessionCount = _swig_property(_LowLevel.CK_TOKEN_INFO_ulMaxRwSessionCount_get)
- __swig_getmethods__["ulRwSessionCount"] = _LowLevel.CK_TOKEN_INFO_ulRwSessionCount_get
- if _newclass:ulRwSessionCount = _swig_property(_LowLevel.CK_TOKEN_INFO_ulRwSessionCount_get)
- __swig_getmethods__["ulMaxPinLen"] = _LowLevel.CK_TOKEN_INFO_ulMaxPinLen_get
- if _newclass:ulMaxPinLen = _swig_property(_LowLevel.CK_TOKEN_INFO_ulMaxPinLen_get)
- __swig_getmethods__["ulMinPinLen"] = _LowLevel.CK_TOKEN_INFO_ulMinPinLen_get
- if _newclass:ulMinPinLen = _swig_property(_LowLevel.CK_TOKEN_INFO_ulMinPinLen_get)
- __swig_getmethods__["ulTotalPublicMemory"] = _LowLevel.CK_TOKEN_INFO_ulTotalPublicMemory_get
- if _newclass:ulTotalPublicMemory = _swig_property(_LowLevel.CK_TOKEN_INFO_ulTotalPublicMemory_get)
- __swig_getmethods__["ulFreePublicMemory"] = _LowLevel.CK_TOKEN_INFO_ulFreePublicMemory_get
- if _newclass:ulFreePublicMemory = _swig_property(_LowLevel.CK_TOKEN_INFO_ulFreePublicMemory_get)
- __swig_getmethods__["ulTotalPrivateMemory"] = _LowLevel.CK_TOKEN_INFO_ulTotalPrivateMemory_get
- if _newclass:ulTotalPrivateMemory = _swig_property(_LowLevel.CK_TOKEN_INFO_ulTotalPrivateMemory_get)
- __swig_getmethods__["ulFreePrivateMemory"] = _LowLevel.CK_TOKEN_INFO_ulFreePrivateMemory_get
- if _newclass:ulFreePrivateMemory = _swig_property(_LowLevel.CK_TOKEN_INFO_ulFreePrivateMemory_get)
- __swig_getmethods__["hardwareVersion"] = _LowLevel.CK_TOKEN_INFO_hardwareVersion_get
- if _newclass:hardwareVersion = _swig_property(_LowLevel.CK_TOKEN_INFO_hardwareVersion_get)
- __swig_getmethods__["firmwareVersion"] = _LowLevel.CK_TOKEN_INFO_firmwareVersion_get
- if _newclass:firmwareVersion = _swig_property(_LowLevel.CK_TOKEN_INFO_firmwareVersion_get)
- def GetLabel(self): return _LowLevel.CK_TOKEN_INFO_GetLabel(self)
- def GetManufacturerID(self): return _LowLevel.CK_TOKEN_INFO_GetManufacturerID(self)
- def GetModel(self): return _LowLevel.CK_TOKEN_INFO_GetModel(self)
- def GetSerialNumber(self): return _LowLevel.CK_TOKEN_INFO_GetSerialNumber(self)
- def GetFirmwareVersion(self): return _LowLevel.CK_TOKEN_INFO_GetFirmwareVersion(self)
- def GetUtcTime(self): return _LowLevel.CK_TOKEN_INFO_GetUtcTime(self)
- def __init__(self):
- this = _LowLevel.new_CK_TOKEN_INFO()
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _LowLevel.delete_CK_TOKEN_INFO
- __del__ = lambda self : None;
-CK_TOKEN_INFO_swigregister = _LowLevel.CK_TOKEN_INFO_swigregister
-CK_TOKEN_INFO_swigregister(CK_TOKEN_INFO)
-
-class CK_SESSION_INFO(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, CK_SESSION_INFO, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, CK_SESSION_INFO, name)
- __repr__ = _swig_repr
- __swig_getmethods__["slotID"] = _LowLevel.CK_SESSION_INFO_slotID_get
- if _newclass:slotID = _swig_property(_LowLevel.CK_SESSION_INFO_slotID_get)
- __swig_getmethods__["state"] = _LowLevel.CK_SESSION_INFO_state_get
- if _newclass:state = _swig_property(_LowLevel.CK_SESSION_INFO_state_get)
- __swig_getmethods__["flags"] = _LowLevel.CK_SESSION_INFO_flags_get
- if _newclass:flags = _swig_property(_LowLevel.CK_SESSION_INFO_flags_get)
- __swig_getmethods__["ulDeviceError"] = _LowLevel.CK_SESSION_INFO_ulDeviceError_get
- if _newclass:ulDeviceError = _swig_property(_LowLevel.CK_SESSION_INFO_ulDeviceError_get)
- def __init__(self):
- this = _LowLevel.new_CK_SESSION_INFO()
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _LowLevel.delete_CK_SESSION_INFO
- __del__ = lambda self : None;
-CK_SESSION_INFO_swigregister = _LowLevel.CK_SESSION_INFO_swigregister
-CK_SESSION_INFO_swigregister(CK_SESSION_INFO)
-
-class CK_DATE(_object):
- __swig_setmethods__ = {}
- __setattr__ = lambda self, name, value: _swig_setattr(self, CK_DATE, name, value)
- __swig_getmethods__ = {}
- __getattr__ = lambda self, name: _swig_getattr(self, CK_DATE, name)
- __repr__ = _swig_repr
- def GetYear(self): return _LowLevel.CK_DATE_GetYear(self)
- def GetMonth(self): return _LowLevel.CK_DATE_GetMonth(self)
- def GetDay(self): return _LowLevel.CK_DATE_GetDay(self)
- def __init__(self):
- this = _LowLevel.new_CK_DATE()
- try: self.this.append(this)
- except: self.this = this
- __swig_destroy__ = _LowLevel.delete_CK_DATE
- __del__ = lambda self : None;
-CK_DATE_swigregister = _LowLevel.CK_DATE_swigregister
... 23316 lines suppressed ...
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pykcs11.git
More information about the Python-modules-commits
mailing list