Gck.Password¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
PKCS11 Key Object |
||
r |
PKCS11 Module |
||
r/w/co |
PKCS11 Token |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Gck.Password(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Represents a password which is requested of the user.
This is used in conjuction with [class`Gio`.TlsInteraction].
GckPassword
is a [class`Gio`.TlsPassword] which contains additional information about which PKCS#11 token or key the password is being requested for.- get_key()[source]¶
- Returns:
the password is for this key, or
None
if not being requested for a key; must be unreferenced after use- Return type:
If the password request is to unlock a PKCS#11 key, then this is the the object representing that key.
Property Details¶
- Gck.Password.props.key¶
- Name:
key
- Type:
- Default Value:
- Flags:
The PKCS#11 key that the password is being requested for. If this is set then the
Gck.Password
:token
property will beNone
- Gck.Password.props.module¶
- Name:
module
- Type:
- Default Value:
- Flags:
The PKCS#11 module that is requesting the password
- Gck.Password.props.token¶
- Name:
token
- Type:
- Default Value:
- Flags:
The PKCS#11 token the password is for, if this is set then the
Gck.Password
:object
property will beNone