/usr/lib/python2.7/dist-packages/PyKCS11/LowLevel.py is in python-pykcs11 1.2.4-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 2.0.4
#
# 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
CK_DATE_swigregister(CK_DATE)
class CK_MECHANISM(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, CK_MECHANISM, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CK_MECHANISM, name)
__repr__ = _swig_repr
__swig_setmethods__["mechanism"] = _LowLevel.CK_MECHANISM_mechanism_set
__swig_getmethods__["mechanism"] = _LowLevel.CK_MECHANISM_mechanism_get
if _newclass:mechanism = _swig_property(_LowLevel.CK_MECHANISM_mechanism_get, _LowLevel.CK_MECHANISM_mechanism_set)
__swig_setmethods__["pParameter"] = _LowLevel.CK_MECHANISM_pParameter_set
__swig_getmethods__["pParameter"] = _LowLevel.CK_MECHANISM_pParameter_get
if _newclass:pParameter = _swig_property(_LowLevel.CK_MECHANISM_pParameter_get, _LowLevel.CK_MECHANISM_pParameter_set)
__swig_setmethods__["ulParameterLen"] = _LowLevel.CK_MECHANISM_ulParameterLen_set
__swig_getmethods__["ulParameterLen"] = _LowLevel.CK_MECHANISM_ulParameterLen_get
if _newclass:ulParameterLen = _swig_property(_LowLevel.CK_MECHANISM_ulParameterLen_get, _LowLevel.CK_MECHANISM_ulParameterLen_set)
def __init__(self):
this = _LowLevel.new_CK_MECHANISM()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _LowLevel.delete_CK_MECHANISM
__del__ = lambda self : None;
CK_MECHANISM_swigregister = _LowLevel.CK_MECHANISM_swigregister
CK_MECHANISM_swigregister(CK_MECHANISM)
class CK_MECHANISM_INFO(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, CK_MECHANISM_INFO, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CK_MECHANISM_INFO, name)
__repr__ = _swig_repr
__swig_getmethods__["ulMinKeySize"] = _LowLevel.CK_MECHANISM_INFO_ulMinKeySize_get
if _newclass:ulMinKeySize = _swig_property(_LowLevel.CK_MECHANISM_INFO_ulMinKeySize_get)
__swig_getmethods__["ulMaxKeySize"] = _LowLevel.CK_MECHANISM_INFO_ulMaxKeySize_get
if _newclass:ulMaxKeySize = _swig_property(_LowLevel.CK_MECHANISM_INFO_ulMaxKeySize_get)
__swig_getmethods__["flags"] = _LowLevel.CK_MECHANISM_INFO_flags_get
if _newclass:flags = _swig_property(_LowLevel.CK_MECHANISM_INFO_flags_get)
def __init__(self):
this = _LowLevel.new_CK_MECHANISM_INFO()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _LowLevel.delete_CK_MECHANISM_INFO
__del__ = lambda self : None;
CK_MECHANISM_INFO_swigregister = _LowLevel.CK_MECHANISM_INFO_swigregister
CK_MECHANISM_INFO_swigregister(CK_MECHANISM_INFO)
FALSE = _LowLevel.FALSE
TRUE = _LowLevel.TRUE
CK_TRUE = _LowLevel.CK_TRUE
CK_FALSE = _LowLevel.CK_FALSE
CK_UNAVAILABLE_INFORMATION = _LowLevel.CK_UNAVAILABLE_INFORMATION
CK_EFFECTIVELY_INFINITE = _LowLevel.CK_EFFECTIVELY_INFINITE
CK_INVALID_HANDLE = _LowLevel.CK_INVALID_HANDLE
CKN_SURRENDER = _LowLevel.CKN_SURRENDER
CKF_TOKEN_PRESENT = _LowLevel.CKF_TOKEN_PRESENT
CKF_REMOVABLE_DEVICE = _LowLevel.CKF_REMOVABLE_DEVICE
CKF_HW_SLOT = _LowLevel.CKF_HW_SLOT
CKF_RNG = _LowLevel.CKF_RNG
CKF_WRITE_PROTECTED = _LowLevel.CKF_WRITE_PROTECTED
CKF_LOGIN_REQUIRED = _LowLevel.CKF_LOGIN_REQUIRED
CKF_USER_PIN_INITIALIZED = _LowLevel.CKF_USER_PIN_INITIALIZED
CKF_RESTORE_KEY_NOT_NEEDED = _LowLevel.CKF_RESTORE_KEY_NOT_NEEDED
CKF_CLOCK_ON_TOKEN = _LowLevel.CKF_CLOCK_ON_TOKEN
CKF_PROTECTED_AUTHENTICATION_PATH = _LowLevel.CKF_PROTECTED_AUTHENTICATION_PATH
CKF_DUAL_CRYPTO_OPERATIONS = _LowLevel.CKF_DUAL_CRYPTO_OPERATIONS
CKF_TOKEN_INITIALIZED = _LowLevel.CKF_TOKEN_INITIALIZED
CKF_SECONDARY_AUTHENTICATION = _LowLevel.CKF_SECONDARY_AUTHENTICATION
CKF_USER_PIN_COUNT_LOW = _LowLevel.CKF_USER_PIN_COUNT_LOW
CKF_USER_PIN_FINAL_TRY = _LowLevel.CKF_USER_PIN_FINAL_TRY
CKF_USER_PIN_LOCKED = _LowLevel.CKF_USER_PIN_LOCKED
CKF_USER_PIN_TO_BE_CHANGED = _LowLevel.CKF_USER_PIN_TO_BE_CHANGED
CKF_SO_PIN_COUNT_LOW = _LowLevel.CKF_SO_PIN_COUNT_LOW
CKF_SO_PIN_FINAL_TRY = _LowLevel.CKF_SO_PIN_FINAL_TRY
CKF_SO_PIN_LOCKED = _LowLevel.CKF_SO_PIN_LOCKED
CKF_SO_PIN_TO_BE_CHANGED = _LowLevel.CKF_SO_PIN_TO_BE_CHANGED
CKU_SO = _LowLevel.CKU_SO
CKU_USER = _LowLevel.CKU_USER
CKS_RO_PUBLIC_SESSION = _LowLevel.CKS_RO_PUBLIC_SESSION
CKS_RO_USER_FUNCTIONS = _LowLevel.CKS_RO_USER_FUNCTIONS
CKS_RW_PUBLIC_SESSION = _LowLevel.CKS_RW_PUBLIC_SESSION
CKS_RW_USER_FUNCTIONS = _LowLevel.CKS_RW_USER_FUNCTIONS
CKS_RW_SO_FUNCTIONS = _LowLevel.CKS_RW_SO_FUNCTIONS
CKF_RW_SESSION = _LowLevel.CKF_RW_SESSION
CKF_SERIAL_SESSION = _LowLevel.CKF_SERIAL_SESSION
CKO_DATA = _LowLevel.CKO_DATA
CKO_CERTIFICATE = _LowLevel.CKO_CERTIFICATE
CKO_PUBLIC_KEY = _LowLevel.CKO_PUBLIC_KEY
CKO_PRIVATE_KEY = _LowLevel.CKO_PRIVATE_KEY
CKO_SECRET_KEY = _LowLevel.CKO_SECRET_KEY
CKO_HW_FEATURE = _LowLevel.CKO_HW_FEATURE
CKO_DOMAIN_PARAMETERS = _LowLevel.CKO_DOMAIN_PARAMETERS
CKO_MECHANISM = _LowLevel.CKO_MECHANISM
CKO_VENDOR_DEFINED = _LowLevel.CKO_VENDOR_DEFINED
CKH_MONOTONIC_COUNTER = _LowLevel.CKH_MONOTONIC_COUNTER
CKH_CLOCK = _LowLevel.CKH_CLOCK
CKH_VENDOR_DEFINED = _LowLevel.CKH_VENDOR_DEFINED
CKK_RSA = _LowLevel.CKK_RSA
CKK_DSA = _LowLevel.CKK_DSA
CKK_DH = _LowLevel.CKK_DH
CKK_ECDSA = _LowLevel.CKK_ECDSA
CKK_EC = _LowLevel.CKK_EC
CKK_X9_42_DH = _LowLevel.CKK_X9_42_DH
CKK_KEA = _LowLevel.CKK_KEA
CKK_GENERIC_SECRET = _LowLevel.CKK_GENERIC_SECRET
CKK_RC2 = _LowLevel.CKK_RC2
CKK_RC4 = _LowLevel.CKK_RC4
CKK_DES = _LowLevel.CKK_DES
CKK_DES2 = _LowLevel.CKK_DES2
CKK_DES3 = _LowLevel.CKK_DES3
CKK_CAST = _LowLevel.CKK_CAST
CKK_CAST3 = _LowLevel.CKK_CAST3
CKK_CAST5 = _LowLevel.CKK_CAST5
CKK_CAST128 = _LowLevel.CKK_CAST128
CKK_RC5 = _LowLevel.CKK_RC5
CKK_IDEA = _LowLevel.CKK_IDEA
CKK_SKIPJACK = _LowLevel.CKK_SKIPJACK
CKK_BATON = _LowLevel.CKK_BATON
CKK_JUNIPER = _LowLevel.CKK_JUNIPER
CKK_CDMF = _LowLevel.CKK_CDMF
CKK_AES = _LowLevel.CKK_AES
CKK_BLOWFISH = _LowLevel.CKK_BLOWFISH
CKK_TWOFISH = _LowLevel.CKK_TWOFISH
CKK_VENDOR_DEFINED = _LowLevel.CKK_VENDOR_DEFINED
CKC_X_509 = _LowLevel.CKC_X_509
CKC_X_509_ATTR_CERT = _LowLevel.CKC_X_509_ATTR_CERT
CKC_WTLS = _LowLevel.CKC_WTLS
CKC_VENDOR_DEFINED = _LowLevel.CKC_VENDOR_DEFINED
CKA_CLASS = _LowLevel.CKA_CLASS
CKA_TOKEN = _LowLevel.CKA_TOKEN
CKA_PRIVATE = _LowLevel.CKA_PRIVATE
CKA_LABEL = _LowLevel.CKA_LABEL
CKA_APPLICATION = _LowLevel.CKA_APPLICATION
CKA_VALUE = _LowLevel.CKA_VALUE
CKA_OBJECT_ID = _LowLevel.CKA_OBJECT_ID
CKA_CERTIFICATE_TYPE = _LowLevel.CKA_CERTIFICATE_TYPE
CKA_ISSUER = _LowLevel.CKA_ISSUER
CKA_SERIAL_NUMBER = _LowLevel.CKA_SERIAL_NUMBER
CKA_AC_ISSUER = _LowLevel.CKA_AC_ISSUER
CKA_OWNER = _LowLevel.CKA_OWNER
CKA_ATTR_TYPES = _LowLevel.CKA_ATTR_TYPES
CKA_TRUSTED = _LowLevel.CKA_TRUSTED
CKA_KEY_TYPE = _LowLevel.CKA_KEY_TYPE
CKA_SUBJECT = _LowLevel.CKA_SUBJECT
CKA_ID = _LowLevel.CKA_ID
CKA_SENSITIVE = _LowLevel.CKA_SENSITIVE
CKA_ENCRYPT = _LowLevel.CKA_ENCRYPT
CKA_DECRYPT = _LowLevel.CKA_DECRYPT
CKA_WRAP = _LowLevel.CKA_WRAP
CKA_UNWRAP = _LowLevel.CKA_UNWRAP
CKA_SIGN = _LowLevel.CKA_SIGN
CKA_SIGN_RECOVER = _LowLevel.CKA_SIGN_RECOVER
CKA_VERIFY = _LowLevel.CKA_VERIFY
CKA_VERIFY_RECOVER = _LowLevel.CKA_VERIFY_RECOVER
CKA_DERIVE = _LowLevel.CKA_DERIVE
CKA_START_DATE = _LowLevel.CKA_START_DATE
CKA_END_DATE = _LowLevel.CKA_END_DATE
CKA_MODULUS = _LowLevel.CKA_MODULUS
CKA_MODULUS_BITS = _LowLevel.CKA_MODULUS_BITS
CKA_PUBLIC_EXPONENT = _LowLevel.CKA_PUBLIC_EXPONENT
CKA_PRIVATE_EXPONENT = _LowLevel.CKA_PRIVATE_EXPONENT
CKA_PRIME_1 = _LowLevel.CKA_PRIME_1
CKA_PRIME_2 = _LowLevel.CKA_PRIME_2
CKA_EXPONENT_1 = _LowLevel.CKA_EXPONENT_1
CKA_EXPONENT_2 = _LowLevel.CKA_EXPONENT_2
CKA_COEFFICIENT = _LowLevel.CKA_COEFFICIENT
CKA_PRIME = _LowLevel.CKA_PRIME
CKA_SUBPRIME = _LowLevel.CKA_SUBPRIME
CKA_BASE = _LowLevel.CKA_BASE
CKA_PRIME_BITS = _LowLevel.CKA_PRIME_BITS
CKA_SUBPRIME_BITS = _LowLevel.CKA_SUBPRIME_BITS
CKA_SUB_PRIME_BITS = _LowLevel.CKA_SUB_PRIME_BITS
CKA_VALUE_BITS = _LowLevel.CKA_VALUE_BITS
CKA_VALUE_LEN = _LowLevel.CKA_VALUE_LEN
CKA_EXTRACTABLE = _LowLevel.CKA_EXTRACTABLE
CKA_LOCAL = _LowLevel.CKA_LOCAL
CKA_NEVER_EXTRACTABLE = _LowLevel.CKA_NEVER_EXTRACTABLE
CKA_ALWAYS_SENSITIVE = _LowLevel.CKA_ALWAYS_SENSITIVE
CKA_KEY_GEN_MECHANISM = _LowLevel.CKA_KEY_GEN_MECHANISM
CKA_MODIFIABLE = _LowLevel.CKA_MODIFIABLE
CKA_ECDSA_PARAMS = _LowLevel.CKA_ECDSA_PARAMS
CKA_EC_PARAMS = _LowLevel.CKA_EC_PARAMS
CKA_EC_POINT = _LowLevel.CKA_EC_POINT
CKA_SECONDARY_AUTH = _LowLevel.CKA_SECONDARY_AUTH
CKA_AUTH_PIN_FLAGS = _LowLevel.CKA_AUTH_PIN_FLAGS
CKA_HW_FEATURE_TYPE = _LowLevel.CKA_HW_FEATURE_TYPE
CKA_RESET_ON_INIT = _LowLevel.CKA_RESET_ON_INIT
CKA_HAS_RESET = _LowLevel.CKA_HAS_RESET
CKA_VENDOR_DEFINED = _LowLevel.CKA_VENDOR_DEFINED
CKM_RSA_PKCS_KEY_PAIR_GEN = _LowLevel.CKM_RSA_PKCS_KEY_PAIR_GEN
CKM_RSA_PKCS = _LowLevel.CKM_RSA_PKCS
CKM_RSA_9796 = _LowLevel.CKM_RSA_9796
CKM_RSA_X_509 = _LowLevel.CKM_RSA_X_509
CKM_MD2_RSA_PKCS = _LowLevel.CKM_MD2_RSA_PKCS
CKM_MD5_RSA_PKCS = _LowLevel.CKM_MD5_RSA_PKCS
CKM_SHA1_RSA_PKCS = _LowLevel.CKM_SHA1_RSA_PKCS
CKM_RIPEMD128_RSA_PKCS = _LowLevel.CKM_RIPEMD128_RSA_PKCS
CKM_RIPEMD160_RSA_PKCS = _LowLevel.CKM_RIPEMD160_RSA_PKCS
CKM_RSA_PKCS_OAEP = _LowLevel.CKM_RSA_PKCS_OAEP
CKM_RSA_X9_31_KEY_PAIR_GEN = _LowLevel.CKM_RSA_X9_31_KEY_PAIR_GEN
CKM_RSA_X9_31 = _LowLevel.CKM_RSA_X9_31
CKM_SHA1_RSA_X9_31 = _LowLevel.CKM_SHA1_RSA_X9_31
CKM_RSA_PKCS_PSS = _LowLevel.CKM_RSA_PKCS_PSS
CKM_SHA1_RSA_PKCS_PSS = _LowLevel.CKM_SHA1_RSA_PKCS_PSS
CKM_DSA_KEY_PAIR_GEN = _LowLevel.CKM_DSA_KEY_PAIR_GEN
CKM_DSA = _LowLevel.CKM_DSA
CKM_DSA_SHA1 = _LowLevel.CKM_DSA_SHA1
CKM_DH_PKCS_KEY_PAIR_GEN = _LowLevel.CKM_DH_PKCS_KEY_PAIR_GEN
CKM_DH_PKCS_DERIVE = _LowLevel.CKM_DH_PKCS_DERIVE
CKM_X9_42_DH_KEY_PAIR_GEN = _LowLevel.CKM_X9_42_DH_KEY_PAIR_GEN
CKM_X9_42_DH_DERIVE = _LowLevel.CKM_X9_42_DH_DERIVE
CKM_X9_42_DH_HYBRID_DERIVE = _LowLevel.CKM_X9_42_DH_HYBRID_DERIVE
CKM_X9_42_MQV_DERIVE = _LowLevel.CKM_X9_42_MQV_DERIVE
CKM_SHA256_RSA_PKCS = _LowLevel.CKM_SHA256_RSA_PKCS
CKM_SHA384_RSA_PKCS = _LowLevel.CKM_SHA384_RSA_PKCS
CKM_SHA512_RSA_PKCS = _LowLevel.CKM_SHA512_RSA_PKCS
CKM_SHA256_RSA_PKCS_PSS = _LowLevel.CKM_SHA256_RSA_PKCS_PSS
CKM_SHA384_RSA_PKCS_PSS = _LowLevel.CKM_SHA384_RSA_PKCS_PSS
CKM_SHA512_RSA_PKCS_PSS = _LowLevel.CKM_SHA512_RSA_PKCS_PSS
CKM_RC2_KEY_GEN = _LowLevel.CKM_RC2_KEY_GEN
CKM_RC2_ECB = _LowLevel.CKM_RC2_ECB
CKM_RC2_CBC = _LowLevel.CKM_RC2_CBC
CKM_RC2_MAC = _LowLevel.CKM_RC2_MAC
CKM_RC2_MAC_GENERAL = _LowLevel.CKM_RC2_MAC_GENERAL
CKM_RC2_CBC_PAD = _LowLevel.CKM_RC2_CBC_PAD
CKM_RC4_KEY_GEN = _LowLevel.CKM_RC4_KEY_GEN
CKM_RC4 = _LowLevel.CKM_RC4
CKM_DES_KEY_GEN = _LowLevel.CKM_DES_KEY_GEN
CKM_DES_ECB = _LowLevel.CKM_DES_ECB
CKM_DES_CBC = _LowLevel.CKM_DES_CBC
CKM_DES_MAC = _LowLevel.CKM_DES_MAC
CKM_DES_MAC_GENERAL = _LowLevel.CKM_DES_MAC_GENERAL
CKM_DES_CBC_PAD = _LowLevel.CKM_DES_CBC_PAD
CKM_DES2_KEY_GEN = _LowLevel.CKM_DES2_KEY_GEN
CKM_DES3_KEY_GEN = _LowLevel.CKM_DES3_KEY_GEN
CKM_DES3_ECB = _LowLevel.CKM_DES3_ECB
CKM_DES3_CBC = _LowLevel.CKM_DES3_CBC
CKM_DES3_MAC = _LowLevel.CKM_DES3_MAC
CKM_DES3_MAC_GENERAL = _LowLevel.CKM_DES3_MAC_GENERAL
CKM_DES3_CBC_PAD = _LowLevel.CKM_DES3_CBC_PAD
CKM_CDMF_KEY_GEN = _LowLevel.CKM_CDMF_KEY_GEN
CKM_CDMF_ECB = _LowLevel.CKM_CDMF_ECB
CKM_CDMF_CBC = _LowLevel.CKM_CDMF_CBC
CKM_CDMF_MAC = _LowLevel.CKM_CDMF_MAC
CKM_CDMF_MAC_GENERAL = _LowLevel.CKM_CDMF_MAC_GENERAL
CKM_CDMF_CBC_PAD = _LowLevel.CKM_CDMF_CBC_PAD
CKM_DES_OFB64 = _LowLevel.CKM_DES_OFB64
CKM_DES_OFB8 = _LowLevel.CKM_DES_OFB8
CKM_DES_CFB64 = _LowLevel.CKM_DES_CFB64
CKM_DES_CFB8 = _LowLevel.CKM_DES_CFB8
CKM_MD2 = _LowLevel.CKM_MD2
CKM_MD2_HMAC = _LowLevel.CKM_MD2_HMAC
CKM_MD2_HMAC_GENERAL = _LowLevel.CKM_MD2_HMAC_GENERAL
CKM_MD5 = _LowLevel.CKM_MD5
CKM_MD5_HMAC = _LowLevel.CKM_MD5_HMAC
CKM_MD5_HMAC_GENERAL = _LowLevel.CKM_MD5_HMAC_GENERAL
CKM_SHA_1 = _LowLevel.CKM_SHA_1
CKM_SHA_1_HMAC = _LowLevel.CKM_SHA_1_HMAC
CKM_SHA_1_HMAC_GENERAL = _LowLevel.CKM_SHA_1_HMAC_GENERAL
CKM_RIPEMD128 = _LowLevel.CKM_RIPEMD128
CKM_RIPEMD128_HMAC = _LowLevel.CKM_RIPEMD128_HMAC
CKM_RIPEMD128_HMAC_GENERAL = _LowLevel.CKM_RIPEMD128_HMAC_GENERAL
CKM_RIPEMD160 = _LowLevel.CKM_RIPEMD160
CKM_RIPEMD160_HMAC = _LowLevel.CKM_RIPEMD160_HMAC
CKM_RIPEMD160_HMAC_GENERAL = _LowLevel.CKM_RIPEMD160_HMAC_GENERAL
CKM_SHA256 = _LowLevel.CKM_SHA256
CKM_SHA256_HMAC = _LowLevel.CKM_SHA256_HMAC
CKM_SHA256_HMAC_GENERAL = _LowLevel.CKM_SHA256_HMAC_GENERAL
CKM_SHA384 = _LowLevel.CKM_SHA384
CKM_SHA384_HMAC = _LowLevel.CKM_SHA384_HMAC
CKM_SHA384_HMAC_GENERAL = _LowLevel.CKM_SHA384_HMAC_GENERAL
CKM_SHA512 = _LowLevel.CKM_SHA512
CKM_SHA512_HMAC = _LowLevel.CKM_SHA512_HMAC
CKM_SHA512_HMAC_GENERAL = _LowLevel.CKM_SHA512_HMAC_GENERAL
CKM_CAST_KEY_GEN = _LowLevel.CKM_CAST_KEY_GEN
CKM_CAST_ECB = _LowLevel.CKM_CAST_ECB
CKM_CAST_CBC = _LowLevel.CKM_CAST_CBC
CKM_CAST_MAC = _LowLevel.CKM_CAST_MAC
CKM_CAST_MAC_GENERAL = _LowLevel.CKM_CAST_MAC_GENERAL
CKM_CAST_CBC_PAD = _LowLevel.CKM_CAST_CBC_PAD
CKM_CAST3_KEY_GEN = _LowLevel.CKM_CAST3_KEY_GEN
CKM_CAST3_ECB = _LowLevel.CKM_CAST3_ECB
CKM_CAST3_CBC = _LowLevel.CKM_CAST3_CBC
CKM_CAST3_MAC = _LowLevel.CKM_CAST3_MAC
CKM_CAST3_MAC_GENERAL = _LowLevel.CKM_CAST3_MAC_GENERAL
CKM_CAST3_CBC_PAD = _LowLevel.CKM_CAST3_CBC_PAD
CKM_CAST5_KEY_GEN = _LowLevel.CKM_CAST5_KEY_GEN
CKM_CAST128_KEY_GEN = _LowLevel.CKM_CAST128_KEY_GEN
CKM_CAST5_ECB = _LowLevel.CKM_CAST5_ECB
CKM_CAST128_ECB = _LowLevel.CKM_CAST128_ECB
CKM_CAST5_CBC = _LowLevel.CKM_CAST5_CBC
CKM_CAST128_CBC = _LowLevel.CKM_CAST128_CBC
CKM_CAST5_MAC = _LowLevel.CKM_CAST5_MAC
CKM_CAST128_MAC = _LowLevel.CKM_CAST128_MAC
CKM_CAST5_MAC_GENERAL = _LowLevel.CKM_CAST5_MAC_GENERAL
CKM_CAST128_MAC_GENERAL = _LowLevel.CKM_CAST128_MAC_GENERAL
CKM_CAST5_CBC_PAD = _LowLevel.CKM_CAST5_CBC_PAD
CKM_CAST128_CBC_PAD = _LowLevel.CKM_CAST128_CBC_PAD
CKM_RC5_KEY_GEN = _LowLevel.CKM_RC5_KEY_GEN
CKM_RC5_ECB = _LowLevel.CKM_RC5_ECB
CKM_RC5_CBC = _LowLevel.CKM_RC5_CBC
CKM_RC5_MAC = _LowLevel.CKM_RC5_MAC
CKM_RC5_MAC_GENERAL = _LowLevel.CKM_RC5_MAC_GENERAL
CKM_RC5_CBC_PAD = _LowLevel.CKM_RC5_CBC_PAD
CKM_IDEA_KEY_GEN = _LowLevel.CKM_IDEA_KEY_GEN
CKM_IDEA_ECB = _LowLevel.CKM_IDEA_ECB
CKM_IDEA_CBC = _LowLevel.CKM_IDEA_CBC
CKM_IDEA_MAC = _LowLevel.CKM_IDEA_MAC
CKM_IDEA_MAC_GENERAL = _LowLevel.CKM_IDEA_MAC_GENERAL
CKM_IDEA_CBC_PAD = _LowLevel.CKM_IDEA_CBC_PAD
CKM_GENERIC_SECRET_KEY_GEN = _LowLevel.CKM_GENERIC_SECRET_KEY_GEN
CKM_CONCATENATE_BASE_AND_KEY = _LowLevel.CKM_CONCATENATE_BASE_AND_KEY
CKM_CONCATENATE_BASE_AND_DATA = _LowLevel.CKM_CONCATENATE_BASE_AND_DATA
CKM_CONCATENATE_DATA_AND_BASE = _LowLevel.CKM_CONCATENATE_DATA_AND_BASE
CKM_XOR_BASE_AND_DATA = _LowLevel.CKM_XOR_BASE_AND_DATA
CKM_EXTRACT_KEY_FROM_KEY = _LowLevel.CKM_EXTRACT_KEY_FROM_KEY
CKM_SSL3_PRE_MASTER_KEY_GEN = _LowLevel.CKM_SSL3_PRE_MASTER_KEY_GEN
CKM_SSL3_MASTER_KEY_DERIVE = _LowLevel.CKM_SSL3_MASTER_KEY_DERIVE
CKM_SSL3_KEY_AND_MAC_DERIVE = _LowLevel.CKM_SSL3_KEY_AND_MAC_DERIVE
CKM_SSL3_MASTER_KEY_DERIVE_DH = _LowLevel.CKM_SSL3_MASTER_KEY_DERIVE_DH
CKM_TLS_PRE_MASTER_KEY_GEN = _LowLevel.CKM_TLS_PRE_MASTER_KEY_GEN
CKM_TLS_MASTER_KEY_DERIVE = _LowLevel.CKM_TLS_MASTER_KEY_DERIVE
CKM_TLS_KEY_AND_MAC_DERIVE = _LowLevel.CKM_TLS_KEY_AND_MAC_DERIVE
CKM_TLS_MASTER_KEY_DERIVE_DH = _LowLevel.CKM_TLS_MASTER_KEY_DERIVE_DH
CKM_TLS_PRF = _LowLevel.CKM_TLS_PRF
CKM_SSL3_MD5_MAC = _LowLevel.CKM_SSL3_MD5_MAC
CKM_SSL3_SHA1_MAC = _LowLevel.CKM_SSL3_SHA1_MAC
CKM_MD5_KEY_DERIVATION = _LowLevel.CKM_MD5_KEY_DERIVATION
CKM_MD2_KEY_DERIVATION = _LowLevel.CKM_MD2_KEY_DERIVATION
CKM_SHA1_KEY_DERIVATION = _LowLevel.CKM_SHA1_KEY_DERIVATION
CKM_SHA256_KEY_DERIVATION = _LowLevel.CKM_SHA256_KEY_DERIVATION
CKM_SHA384_KEY_DERIVATION = _LowLevel.CKM_SHA384_KEY_DERIVATION
CKM_SHA512_KEY_DERIVATION = _LowLevel.CKM_SHA512_KEY_DERIVATION
CKM_PBE_MD2_DES_CBC = _LowLevel.CKM_PBE_MD2_DES_CBC
CKM_PBE_MD5_DES_CBC = _LowLevel.CKM_PBE_MD5_DES_CBC
CKM_PBE_MD5_CAST_CBC = _LowLevel.CKM_PBE_MD5_CAST_CBC
CKM_PBE_MD5_CAST3_CBC = _LowLevel.CKM_PBE_MD5_CAST3_CBC
CKM_PBE_MD5_CAST5_CBC = _LowLevel.CKM_PBE_MD5_CAST5_CBC
CKM_PBE_MD5_CAST128_CBC = _LowLevel.CKM_PBE_MD5_CAST128_CBC
CKM_PBE_SHA1_CAST5_CBC = _LowLevel.CKM_PBE_SHA1_CAST5_CBC
CKM_PBE_SHA1_CAST128_CBC = _LowLevel.CKM_PBE_SHA1_CAST128_CBC
CKM_PBE_SHA1_RC4_128 = _LowLevel.CKM_PBE_SHA1_RC4_128
CKM_PBE_SHA1_RC4_40 = _LowLevel.CKM_PBE_SHA1_RC4_40
CKM_PBE_SHA1_DES3_EDE_CBC = _LowLevel.CKM_PBE_SHA1_DES3_EDE_CBC
CKM_PBE_SHA1_DES2_EDE_CBC = _LowLevel.CKM_PBE_SHA1_DES2_EDE_CBC
CKM_PBE_SHA1_RC2_128_CBC = _LowLevel.CKM_PBE_SHA1_RC2_128_CBC
CKM_PBE_SHA1_RC2_40_CBC = _LowLevel.CKM_PBE_SHA1_RC2_40_CBC
CKM_PKCS5_PBKD2 = _LowLevel.CKM_PKCS5_PBKD2
CKM_PBA_SHA1_WITH_SHA1_HMAC = _LowLevel.CKM_PBA_SHA1_WITH_SHA1_HMAC
CKM_WTLS_PRE_MASTER_KEY_GEN = _LowLevel.CKM_WTLS_PRE_MASTER_KEY_GEN
CKM_WTLS_MASTER_KEY_DERIVE = _LowLevel.CKM_WTLS_MASTER_KEY_DERIVE
CKM_WTLS_MASTER_KEY_DERIVE_DH_ECC = _LowLevel.CKM_WTLS_MASTER_KEY_DERIVE_DH_ECC
CKM_WTLS_PRF = _LowLevel.CKM_WTLS_PRF
CKM_WTLS_SERVER_KEY_AND_MAC_DERIVE = _LowLevel.CKM_WTLS_SERVER_KEY_AND_MAC_DERIVE
CKM_WTLS_CLIENT_KEY_AND_MAC_DERIVE = _LowLevel.CKM_WTLS_CLIENT_KEY_AND_MAC_DERIVE
CKM_KEY_WRAP_LYNKS = _LowLevel.CKM_KEY_WRAP_LYNKS
CKM_KEY_WRAP_SET_OAEP = _LowLevel.CKM_KEY_WRAP_SET_OAEP
CKM_CMS_SIG = _LowLevel.CKM_CMS_SIG
CKM_SKIPJACK_KEY_GEN = _LowLevel.CKM_SKIPJACK_KEY_GEN
CKM_SKIPJACK_ECB64 = _LowLevel.CKM_SKIPJACK_ECB64
CKM_SKIPJACK_CBC64 = _LowLevel.CKM_SKIPJACK_CBC64
CKM_SKIPJACK_OFB64 = _LowLevel.CKM_SKIPJACK_OFB64
CKM_SKIPJACK_CFB64 = _LowLevel.CKM_SKIPJACK_CFB64
CKM_SKIPJACK_CFB32 = _LowLevel.CKM_SKIPJACK_CFB32
CKM_SKIPJACK_CFB16 = _LowLevel.CKM_SKIPJACK_CFB16
CKM_SKIPJACK_CFB8 = _LowLevel.CKM_SKIPJACK_CFB8
CKM_SKIPJACK_WRAP = _LowLevel.CKM_SKIPJACK_WRAP
CKM_SKIPJACK_PRIVATE_WRAP = _LowLevel.CKM_SKIPJACK_PRIVATE_WRAP
CKM_SKIPJACK_RELAYX = _LowLevel.CKM_SKIPJACK_RELAYX
CKM_KEA_KEY_PAIR_GEN = _LowLevel.CKM_KEA_KEY_PAIR_GEN
CKM_KEA_KEY_DERIVE = _LowLevel.CKM_KEA_KEY_DERIVE
CKM_FORTEZZA_TIMESTAMP = _LowLevel.CKM_FORTEZZA_TIMESTAMP
CKM_BATON_KEY_GEN = _LowLevel.CKM_BATON_KEY_GEN
CKM_BATON_ECB128 = _LowLevel.CKM_BATON_ECB128
CKM_BATON_ECB96 = _LowLevel.CKM_BATON_ECB96
CKM_BATON_CBC128 = _LowLevel.CKM_BATON_CBC128
CKM_BATON_COUNTER = _LowLevel.CKM_BATON_COUNTER
CKM_BATON_SHUFFLE = _LowLevel.CKM_BATON_SHUFFLE
CKM_BATON_WRAP = _LowLevel.CKM_BATON_WRAP
CKM_ECDSA_KEY_PAIR_GEN = _LowLevel.CKM_ECDSA_KEY_PAIR_GEN
CKM_EC_KEY_PAIR_GEN = _LowLevel.CKM_EC_KEY_PAIR_GEN
CKM_ECDSA = _LowLevel.CKM_ECDSA
CKM_ECDSA_SHA1 = _LowLevel.CKM_ECDSA_SHA1
CKM_ECDH1_DERIVE = _LowLevel.CKM_ECDH1_DERIVE
CKM_ECDH1_COFACTOR_DERIVE = _LowLevel.CKM_ECDH1_COFACTOR_DERIVE
CKM_ECMQV_DERIVE = _LowLevel.CKM_ECMQV_DERIVE
CKM_JUNIPER_KEY_GEN = _LowLevel.CKM_JUNIPER_KEY_GEN
CKM_JUNIPER_ECB128 = _LowLevel.CKM_JUNIPER_ECB128
CKM_JUNIPER_CBC128 = _LowLevel.CKM_JUNIPER_CBC128
CKM_JUNIPER_COUNTER = _LowLevel.CKM_JUNIPER_COUNTER
CKM_JUNIPER_SHUFFLE = _LowLevel.CKM_JUNIPER_SHUFFLE
CKM_JUNIPER_WRAP = _LowLevel.CKM_JUNIPER_WRAP
CKM_FASTHASH = _LowLevel.CKM_FASTHASH
CKM_AES_KEY_GEN = _LowLevel.CKM_AES_KEY_GEN
CKM_AES_ECB = _LowLevel.CKM_AES_ECB
CKM_AES_CBC = _LowLevel.CKM_AES_CBC
CKM_AES_MAC = _LowLevel.CKM_AES_MAC
CKM_AES_MAC_GENERAL = _LowLevel.CKM_AES_MAC_GENERAL
CKM_AES_CBC_PAD = _LowLevel.CKM_AES_CBC_PAD
CKM_BLOWFISH_KEY_GEN = _LowLevel.CKM_BLOWFISH_KEY_GEN
CKM_BLOWFISH_CBC = _LowLevel.CKM_BLOWFISH_CBC
CKM_TWOFISH_KEY_GEN = _LowLevel.CKM_TWOFISH_KEY_GEN
CKM_TWOFISH_CBC = _LowLevel.CKM_TWOFISH_CBC
CKM_DES_ECB_ENCRYPT_DATA = _LowLevel.CKM_DES_ECB_ENCRYPT_DATA
CKM_DES_CBC_ENCRYPT_DATA = _LowLevel.CKM_DES_CBC_ENCRYPT_DATA
CKM_DES3_ECB_ENCRYPT_DATA = _LowLevel.CKM_DES3_ECB_ENCRYPT_DATA
CKM_DES3_CBC_ENCRYPT_DATA = _LowLevel.CKM_DES3_CBC_ENCRYPT_DATA
CKM_AES_ECB_ENCRYPT_DATA = _LowLevel.CKM_AES_ECB_ENCRYPT_DATA
CKM_AES_CBC_ENCRYPT_DATA = _LowLevel.CKM_AES_CBC_ENCRYPT_DATA
CKM_DSA_PARAMETER_GEN = _LowLevel.CKM_DSA_PARAMETER_GEN
CKM_DH_PKCS_PARAMETER_GEN = _LowLevel.CKM_DH_PKCS_PARAMETER_GEN
CKM_X9_42_DH_PARAMETER_GEN = _LowLevel.CKM_X9_42_DH_PARAMETER_GEN
CKM_VENDOR_DEFINED = _LowLevel.CKM_VENDOR_DEFINED
CKF_HW = _LowLevel.CKF_HW
CKF_ENCRYPT = _LowLevel.CKF_ENCRYPT
CKF_DECRYPT = _LowLevel.CKF_DECRYPT
CKF_DIGEST = _LowLevel.CKF_DIGEST
CKF_SIGN = _LowLevel.CKF_SIGN
CKF_SIGN_RECOVER = _LowLevel.CKF_SIGN_RECOVER
CKF_VERIFY = _LowLevel.CKF_VERIFY
CKF_VERIFY_RECOVER = _LowLevel.CKF_VERIFY_RECOVER
CKF_GENERATE = _LowLevel.CKF_GENERATE
CKF_GENERATE_KEY_PAIR = _LowLevel.CKF_GENERATE_KEY_PAIR
CKF_WRAP = _LowLevel.CKF_WRAP
CKF_UNWRAP = _LowLevel.CKF_UNWRAP
CKF_DERIVE = _LowLevel.CKF_DERIVE
CKF_EC_F_P = _LowLevel.CKF_EC_F_P
CKF_EC_F_2M = _LowLevel.CKF_EC_F_2M
CKF_EC_ECPARAMETERS = _LowLevel.CKF_EC_ECPARAMETERS
CKF_EC_NAMEDCURVE = _LowLevel.CKF_EC_NAMEDCURVE
CKF_EC_UNCOMPRESS = _LowLevel.CKF_EC_UNCOMPRESS
CKF_EC_COMPRESS = _LowLevel.CKF_EC_COMPRESS
CKF_EXTENSION = _LowLevel.CKF_EXTENSION
CKR_OK = _LowLevel.CKR_OK
CKR_CANCEL = _LowLevel.CKR_CANCEL
CKR_HOST_MEMORY = _LowLevel.CKR_HOST_MEMORY
CKR_SLOT_ID_INVALID = _LowLevel.CKR_SLOT_ID_INVALID
CKR_GENERAL_ERROR = _LowLevel.CKR_GENERAL_ERROR
CKR_FUNCTION_FAILED = _LowLevel.CKR_FUNCTION_FAILED
CKR_ARGUMENTS_BAD = _LowLevel.CKR_ARGUMENTS_BAD
CKR_NO_EVENT = _LowLevel.CKR_NO_EVENT
CKR_NEED_TO_CREATE_THREADS = _LowLevel.CKR_NEED_TO_CREATE_THREADS
CKR_CANT_LOCK = _LowLevel.CKR_CANT_LOCK
CKR_ATTRIBUTE_READ_ONLY = _LowLevel.CKR_ATTRIBUTE_READ_ONLY
CKR_ATTRIBUTE_SENSITIVE = _LowLevel.CKR_ATTRIBUTE_SENSITIVE
CKR_ATTRIBUTE_TYPE_INVALID = _LowLevel.CKR_ATTRIBUTE_TYPE_INVALID
CKR_ATTRIBUTE_VALUE_INVALID = _LowLevel.CKR_ATTRIBUTE_VALUE_INVALID
CKR_DATA_INVALID = _LowLevel.CKR_DATA_INVALID
CKR_DATA_LEN_RANGE = _LowLevel.CKR_DATA_LEN_RANGE
CKR_DEVICE_ERROR = _LowLevel.CKR_DEVICE_ERROR
CKR_DEVICE_MEMORY = _LowLevel.CKR_DEVICE_MEMORY
CKR_DEVICE_REMOVED = _LowLevel.CKR_DEVICE_REMOVED
CKR_ENCRYPTED_DATA_INVALID = _LowLevel.CKR_ENCRYPTED_DATA_INVALID
CKR_ENCRYPTED_DATA_LEN_RANGE = _LowLevel.CKR_ENCRYPTED_DATA_LEN_RANGE
CKR_FUNCTION_CANCELED = _LowLevel.CKR_FUNCTION_CANCELED
CKR_FUNCTION_NOT_PARALLEL = _LowLevel.CKR_FUNCTION_NOT_PARALLEL
CKR_FUNCTION_NOT_SUPPORTED = _LowLevel.CKR_FUNCTION_NOT_SUPPORTED
CKR_KEY_HANDLE_INVALID = _LowLevel.CKR_KEY_HANDLE_INVALID
CKR_KEY_SIZE_RANGE = _LowLevel.CKR_KEY_SIZE_RANGE
CKR_KEY_TYPE_INCONSISTENT = _LowLevel.CKR_KEY_TYPE_INCONSISTENT
CKR_KEY_NOT_NEEDED = _LowLevel.CKR_KEY_NOT_NEEDED
CKR_KEY_CHANGED = _LowLevel.CKR_KEY_CHANGED
CKR_KEY_NEEDED = _LowLevel.CKR_KEY_NEEDED
CKR_KEY_INDIGESTIBLE = _LowLevel.CKR_KEY_INDIGESTIBLE
CKR_KEY_FUNCTION_NOT_PERMITTED = _LowLevel.CKR_KEY_FUNCTION_NOT_PERMITTED
CKR_KEY_NOT_WRAPPABLE = _LowLevel.CKR_KEY_NOT_WRAPPABLE
CKR_KEY_UNEXTRACTABLE = _LowLevel.CKR_KEY_UNEXTRACTABLE
CKR_MECHANISM_INVALID = _LowLevel.CKR_MECHANISM_INVALID
CKR_MECHANISM_PARAM_INVALID = _LowLevel.CKR_MECHANISM_PARAM_INVALID
CKR_OBJECT_HANDLE_INVALID = _LowLevel.CKR_OBJECT_HANDLE_INVALID
CKR_OPERATION_ACTIVE = _LowLevel.CKR_OPERATION_ACTIVE
CKR_OPERATION_NOT_INITIALIZED = _LowLevel.CKR_OPERATION_NOT_INITIALIZED
CKR_PIN_INCORRECT = _LowLevel.CKR_PIN_INCORRECT
CKR_PIN_INVALID = _LowLevel.CKR_PIN_INVALID
CKR_PIN_LEN_RANGE = _LowLevel.CKR_PIN_LEN_RANGE
CKR_PIN_EXPIRED = _LowLevel.CKR_PIN_EXPIRED
CKR_PIN_LOCKED = _LowLevel.CKR_PIN_LOCKED
CKR_SESSION_CLOSED = _LowLevel.CKR_SESSION_CLOSED
CKR_SESSION_COUNT = _LowLevel.CKR_SESSION_COUNT
CKR_SESSION_HANDLE_INVALID = _LowLevel.CKR_SESSION_HANDLE_INVALID
CKR_SESSION_PARALLEL_NOT_SUPPORTED = _LowLevel.CKR_SESSION_PARALLEL_NOT_SUPPORTED
CKR_SESSION_READ_ONLY = _LowLevel.CKR_SESSION_READ_ONLY
CKR_SESSION_EXISTS = _LowLevel.CKR_SESSION_EXISTS
CKR_SESSION_READ_ONLY_EXISTS = _LowLevel.CKR_SESSION_READ_ONLY_EXISTS
CKR_SESSION_READ_WRITE_SO_EXISTS = _LowLevel.CKR_SESSION_READ_WRITE_SO_EXISTS
CKR_SIGNATURE_INVALID = _LowLevel.CKR_SIGNATURE_INVALID
CKR_SIGNATURE_LEN_RANGE = _LowLevel.CKR_SIGNATURE_LEN_RANGE
CKR_TEMPLATE_INCOMPLETE = _LowLevel.CKR_TEMPLATE_INCOMPLETE
CKR_TEMPLATE_INCONSISTENT = _LowLevel.CKR_TEMPLATE_INCONSISTENT
CKR_TOKEN_NOT_PRESENT = _LowLevel.CKR_TOKEN_NOT_PRESENT
CKR_TOKEN_NOT_RECOGNIZED = _LowLevel.CKR_TOKEN_NOT_RECOGNIZED
CKR_TOKEN_WRITE_PROTECTED = _LowLevel.CKR_TOKEN_WRITE_PROTECTED
CKR_UNWRAPPING_KEY_HANDLE_INVALID = _LowLevel.CKR_UNWRAPPING_KEY_HANDLE_INVALID
CKR_UNWRAPPING_KEY_SIZE_RANGE = _LowLevel.CKR_UNWRAPPING_KEY_SIZE_RANGE
CKR_UNWRAPPING_KEY_TYPE_INCONSISTENT = _LowLevel.CKR_UNWRAPPING_KEY_TYPE_INCONSISTENT
CKR_USER_ALREADY_LOGGED_IN = _LowLevel.CKR_USER_ALREADY_LOGGED_IN
CKR_USER_NOT_LOGGED_IN = _LowLevel.CKR_USER_NOT_LOGGED_IN
CKR_USER_PIN_NOT_INITIALIZED = _LowLevel.CKR_USER_PIN_NOT_INITIALIZED
CKR_USER_TYPE_INVALID = _LowLevel.CKR_USER_TYPE_INVALID
CKR_USER_ANOTHER_ALREADY_LOGGED_IN = _LowLevel.CKR_USER_ANOTHER_ALREADY_LOGGED_IN
CKR_USER_TOO_MANY_TYPES = _LowLevel.CKR_USER_TOO_MANY_TYPES
CKR_WRAPPED_KEY_INVALID = _LowLevel.CKR_WRAPPED_KEY_INVALID
CKR_WRAPPED_KEY_LEN_RANGE = _LowLevel.CKR_WRAPPED_KEY_LEN_RANGE
CKR_WRAPPING_KEY_HANDLE_INVALID = _LowLevel.CKR_WRAPPING_KEY_HANDLE_INVALID
CKR_WRAPPING_KEY_SIZE_RANGE = _LowLevel.CKR_WRAPPING_KEY_SIZE_RANGE
CKR_WRAPPING_KEY_TYPE_INCONSISTENT = _LowLevel.CKR_WRAPPING_KEY_TYPE_INCONSISTENT
CKR_RANDOM_SEED_NOT_SUPPORTED = _LowLevel.CKR_RANDOM_SEED_NOT_SUPPORTED
CKR_RANDOM_NO_RNG = _LowLevel.CKR_RANDOM_NO_RNG
CKR_DOMAIN_PARAMS_INVALID = _LowLevel.CKR_DOMAIN_PARAMS_INVALID
CKR_BUFFER_TOO_SMALL = _LowLevel.CKR_BUFFER_TOO_SMALL
CKR_SAVED_STATE_INVALID = _LowLevel.CKR_SAVED_STATE_INVALID
CKR_INFORMATION_SENSITIVE = _LowLevel.CKR_INFORMATION_SENSITIVE
CKR_STATE_UNSAVEABLE = _LowLevel.CKR_STATE_UNSAVEABLE
CKR_CRYPTOKI_NOT_INITIALIZED = _LowLevel.CKR_CRYPTOKI_NOT_INITIALIZED
CKR_CRYPTOKI_ALREADY_INITIALIZED = _LowLevel.CKR_CRYPTOKI_ALREADY_INITIALIZED
CKR_MUTEX_BAD = _LowLevel.CKR_MUTEX_BAD
CKR_MUTEX_NOT_LOCKED = _LowLevel.CKR_MUTEX_NOT_LOCKED
CKR_VENDOR_DEFINED = _LowLevel.CKR_VENDOR_DEFINED
CKF_LIBRARY_CANT_CREATE_OS_THREADS = _LowLevel.CKF_LIBRARY_CANT_CREATE_OS_THREADS
CKF_OS_LOCKING_OK = _LowLevel.CKF_OS_LOCKING_OK
CKF_DONT_BLOCK = _LowLevel.CKF_DONT_BLOCK
CKG_MGF1_SHA1 = _LowLevel.CKG_MGF1_SHA1
CKZ_DATA_SPECIFIED = _LowLevel.CKZ_DATA_SPECIFIED
CKD_NULL = _LowLevel.CKD_NULL
CKD_SHA1_KDF = _LowLevel.CKD_SHA1_KDF
CKD_SHA1_KDF_ASN1 = _LowLevel.CKD_SHA1_KDF_ASN1
CKD_SHA1_KDF_CONCATENATE = _LowLevel.CKD_SHA1_KDF_CONCATENATE
CKP_PKCS5_PBKD2_HMAC_SHA1 = _LowLevel.CKP_PKCS5_PBKD2_HMAC_SHA1
CKZ_SALT_SPECIFIED = _LowLevel.CKZ_SALT_SPECIFIED
class CPKCS11Lib(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, CPKCS11Lib, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CPKCS11Lib, name)
__repr__ = _swig_repr
def __init__(self):
this = _LowLevel.new_CPKCS11Lib()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _LowLevel.delete_CPKCS11Lib
__del__ = lambda self : None;
def Load(self, *args): return _LowLevel.CPKCS11Lib_Load(self, *args)
def Unload(self): return _LowLevel.CPKCS11Lib_Unload(self)
def C_Initialize(self): return _LowLevel.CPKCS11Lib_C_Initialize(self)
def C_Finalize(self): return _LowLevel.CPKCS11Lib_C_Finalize(self)
def C_GetInfo(self, *args): return _LowLevel.CPKCS11Lib_C_GetInfo(self, *args)
def C_GetSlotList(self, *args): return _LowLevel.CPKCS11Lib_C_GetSlotList(self, *args)
def C_GetSlotInfo(self, *args): return _LowLevel.CPKCS11Lib_C_GetSlotInfo(self, *args)
def C_GetTokenInfo(self, *args): return _LowLevel.CPKCS11Lib_C_GetTokenInfo(self, *args)
def C_InitToken(self, *args): return _LowLevel.CPKCS11Lib_C_InitToken(self, *args)
def C_InitPIN(self, *args): return _LowLevel.CPKCS11Lib_C_InitPIN(self, *args)
def C_SetPIN(self, *args): return _LowLevel.CPKCS11Lib_C_SetPIN(self, *args)
def C_OpenSession(self, *args): return _LowLevel.CPKCS11Lib_C_OpenSession(self, *args)
def C_CloseSession(self, *args): return _LowLevel.CPKCS11Lib_C_CloseSession(self, *args)
def C_CloseAllSessions(self, *args): return _LowLevel.CPKCS11Lib_C_CloseAllSessions(self, *args)
def C_GetSessionInfo(self, *args): return _LowLevel.CPKCS11Lib_C_GetSessionInfo(self, *args)
def C_Login(self, *args): return _LowLevel.CPKCS11Lib_C_Login(self, *args)
def C_Logout(self, *args): return _LowLevel.CPKCS11Lib_C_Logout(self, *args)
def C_CreateObject(self, *args): return _LowLevel.CPKCS11Lib_C_CreateObject(self, *args)
def C_DestroyObject(self, *args): return _LowLevel.CPKCS11Lib_C_DestroyObject(self, *args)
def C_GetObjectSize(self, *args): return _LowLevel.CPKCS11Lib_C_GetObjectSize(self, *args)
def C_GetAttributeValue(self, *args): return _LowLevel.CPKCS11Lib_C_GetAttributeValue(self, *args)
def C_SetAttributeValue(self, *args): return _LowLevel.CPKCS11Lib_C_SetAttributeValue(self, *args)
def C_FindObjectsInit(self, *args): return _LowLevel.CPKCS11Lib_C_FindObjectsInit(self, *args)
def C_FindObjects(self, *args): return _LowLevel.CPKCS11Lib_C_FindObjects(self, *args)
def C_FindObjectsFinal(self, *args): return _LowLevel.CPKCS11Lib_C_FindObjectsFinal(self, *args)
def C_EncryptInit(self, *args): return _LowLevel.CPKCS11Lib_C_EncryptInit(self, *args)
def C_Encrypt(self, *args): return _LowLevel.CPKCS11Lib_C_Encrypt(self, *args)
def C_EncryptUpdate(self, *args): return _LowLevel.CPKCS11Lib_C_EncryptUpdate(self, *args)
def C_EncryptFinal(self, *args): return _LowLevel.CPKCS11Lib_C_EncryptFinal(self, *args)
def C_DecryptInit(self, *args): return _LowLevel.CPKCS11Lib_C_DecryptInit(self, *args)
def C_Decrypt(self, *args): return _LowLevel.CPKCS11Lib_C_Decrypt(self, *args)
def C_DecryptUpdate(self, *args): return _LowLevel.CPKCS11Lib_C_DecryptUpdate(self, *args)
def C_DecryptFinal(self, *args): return _LowLevel.CPKCS11Lib_C_DecryptFinal(self, *args)
def C_DigestInit(self, *args): return _LowLevel.CPKCS11Lib_C_DigestInit(self, *args)
def C_Digest(self, *args): return _LowLevel.CPKCS11Lib_C_Digest(self, *args)
def C_DigestUpdate(self, *args): return _LowLevel.CPKCS11Lib_C_DigestUpdate(self, *args)
def C_DigestKey(self, *args): return _LowLevel.CPKCS11Lib_C_DigestKey(self, *args)
def C_DigestFinal(self, *args): return _LowLevel.CPKCS11Lib_C_DigestFinal(self, *args)
def C_SignInit(self, *args): return _LowLevel.CPKCS11Lib_C_SignInit(self, *args)
def C_Sign(self, *args): return _LowLevel.CPKCS11Lib_C_Sign(self, *args)
def C_SignUpdate(self, *args): return _LowLevel.CPKCS11Lib_C_SignUpdate(self, *args)
def C_SignFinal(self, *args): return _LowLevel.CPKCS11Lib_C_SignFinal(self, *args)
def C_VerifyInit(self, *args): return _LowLevel.CPKCS11Lib_C_VerifyInit(self, *args)
def C_Verify(self, *args): return _LowLevel.CPKCS11Lib_C_Verify(self, *args)
def C_VerifyUpdate(self, *args): return _LowLevel.CPKCS11Lib_C_VerifyUpdate(self, *args)
def C_VerifyFinal(self, *args): return _LowLevel.CPKCS11Lib_C_VerifyFinal(self, *args)
def C_GenerateKey(self, *args): return _LowLevel.CPKCS11Lib_C_GenerateKey(self, *args)
def C_GenerateKeyPair(self, *args): return _LowLevel.CPKCS11Lib_C_GenerateKeyPair(self, *args)
def C_WrapKey(self, *args): return _LowLevel.CPKCS11Lib_C_WrapKey(self, *args)
def C_UnwrapKey(self, *args): return _LowLevel.CPKCS11Lib_C_UnwrapKey(self, *args)
def C_SeedRandom(self, *args): return _LowLevel.CPKCS11Lib_C_SeedRandom(self, *args)
def C_GenerateRandom(self, *args): return _LowLevel.CPKCS11Lib_C_GenerateRandom(self, *args)
def C_WaitForSlotEvent(self, *args): return _LowLevel.CPKCS11Lib_C_WaitForSlotEvent(self, *args)
def C_GetMechanismList(self, *args): return _LowLevel.CPKCS11Lib_C_GetMechanismList(self, *args)
def C_GetMechanismInfo(self, *args): return _LowLevel.CPKCS11Lib_C_GetMechanismInfo(self, *args)
CPKCS11Lib_swigregister = _LowLevel.CPKCS11Lib_swigregister
CPKCS11Lib_swigregister(CPKCS11Lib)
class CK_ATTRIBUTE_SMART(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, CK_ATTRIBUTE_SMART, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CK_ATTRIBUTE_SMART, name)
__repr__ = _swig_repr
def Reset(self): return _LowLevel.CK_ATTRIBUTE_SMART_Reset(self)
def ResetValue(self): return _LowLevel.CK_ATTRIBUTE_SMART_ResetValue(self)
def Reserve(self, *args): return _LowLevel.CK_ATTRIBUTE_SMART_Reserve(self, *args)
def GetType(self): return _LowLevel.CK_ATTRIBUTE_SMART_GetType(self)
def SetType(self, *args): return _LowLevel.CK_ATTRIBUTE_SMART_SetType(self, *args)
def GetLen(self): return _LowLevel.CK_ATTRIBUTE_SMART_GetLen(self)
def IsString(self): return _LowLevel.CK_ATTRIBUTE_SMART_IsString(self)
def IsBool(self): return _LowLevel.CK_ATTRIBUTE_SMART_IsBool(self)
def IsNum(self): return _LowLevel.CK_ATTRIBUTE_SMART_IsNum(self)
def IsBin(self): return _LowLevel.CK_ATTRIBUTE_SMART_IsBin(self)
def GetString(self): return _LowLevel.CK_ATTRIBUTE_SMART_GetString(self)
def SetString(self, *args): return _LowLevel.CK_ATTRIBUTE_SMART_SetString(self, *args)
def GetNum(self): return _LowLevel.CK_ATTRIBUTE_SMART_GetNum(self)
def SetNum(self, *args): return _LowLevel.CK_ATTRIBUTE_SMART_SetNum(self, *args)
def GetBool(self): return _LowLevel.CK_ATTRIBUTE_SMART_GetBool(self)
def SetBool(self, *args): return _LowLevel.CK_ATTRIBUTE_SMART_SetBool(self, *args)
def GetBin(self): return _LowLevel.CK_ATTRIBUTE_SMART_GetBin(self)
def SetBin(self, *args): return _LowLevel.CK_ATTRIBUTE_SMART_SetBin(self, *args)
def __init__(self):
this = _LowLevel.new_CK_ATTRIBUTE_SMART()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _LowLevel.delete_CK_ATTRIBUTE_SMART
__del__ = lambda self : None;
CK_ATTRIBUTE_SMART_swigregister = _LowLevel.CK_ATTRIBUTE_SMART_swigregister
CK_ATTRIBUTE_SMART_swigregister(CK_ATTRIBUTE_SMART)
# This file is compatible with both classic and new-style classes.
|