|
__init__(...)
x.__init__(...) initializes x; see help(type(x)) for signature |
|
|
a new object with type S, a subtype of T
|
|
|
|
|
authenticate(load_certs=False,
user_data1=...,
...)
If True load certificates after authenticating. |
|
|
|
change_passwd(old_passwd=None,
new_passwd=None)
Change the user password on the token. |
|
|
bool
|
|
|
|
string)
|
format(level=0,
indent=' ')
This is equivalent to:
indented_format(obj.format_lines()) on an object providing a format_lines() method. |
|
|
[(level, string),...]
|
format_lines(level=0)
Formats the object into a sequence of lines with indent level
information. |
|
|
|
generate_key_pair(...)
generate_key_pair(mechanism, key_params, token, sensitive, [user_data1, ...]) -> public_key, private_key |
|
|
length
|
|
mechanism
|
get_best_wrap_mechanism()
Find the best key wrap mechanism for this slot. |
|
|
integer
|
|
bool
|
has_protected_authentication_path()
Returns True if token has a "protected authentication path", whereby
a user can log into the token without passing a PIN through the
library, False otherwise. |
|
|
bool
|
has_root_certs()
Returns True if the slot contains the root certificate , False otherwise. |
|
|
|
init_pin(security_officer_passwd=None,
user_passwd=None)
Initialize the token's pin for first use. |
|
|
bool
|
is_disabled()
Returns True if the slot is disabled, False otherwise. |
|
|
bool
|
is_friendly()
Returns True if the slot allows certificates to be read
without logging in to the token, False otherwise. |
|
|
bool
|
is_hw()
Returns True if the slot is implemented in hardware, False otherwise. |
|
|
bool
|
is_internal()
Returns True if the the slot is internal, False otherwise. |
|
|
bool
|
is_logged_in(user_data1=...,
...)
Return True if token is logged in, False otherwise. |
|
|
bool
|
is_present()
Returns True if the slot's token present, False otherwise. |
|
|
bool
|
is_read_only()
Returns True if the the slot is read-only, False otherwise. |
|
|
bool
|
is_removable()
Returns True if the token is removable, False otherwise. |
|
|
|
key_gen(...)
key_gen(mechanism, sec_param, key_size, [user_data1, ...]) -> PK11SymKey object |
|
|
(Certificate, ...)
|
list_certs()
Returns a tuple of Certificate objects found in the slot. |
|
|
|
|
bool
|
need_login()
Returns True if there are some cryptographic functions that a
user must be logged in to perform, False otherwise. |
|
|
bool
|
need_user_init()
Returns True if the slot needs to be logged into by
the user by providing their pin, False otherwise. |
|
|
|
pbe_key_gen(...)
pbe_key_gen(algid, password, [user_data1, ...]) -> PK11SymKey object |
|
|
|
user_disable()
Prevents the slot from being used, and sets disable reason to
PK11_DIS_USER_SELECTED. |
|
|
|
|