Class
GckPassword
Description [src]
class Gck.Password : Gio.TlsPassword {
parent: GTlsPassword
}
Represents a password which is requested of the user.
This is used in conjuction with GTlsInteraction
. GckPassword
is
a GTlsPassword
which contains additional information about which
PKCS#11 token or key the password is being requested for.
Instance methods
gck_password_get_key
If the password request is to unlock a PKCS#11 key, then this is the the object representing that key.
gck_password_get_module
Get the PKCS#11 module that is requesting the password.
gck_password_get_token
If the password request is to unlock a PKCS#11 token, then this is the slot containing that token.
Methods inherited from GTlsPassword (9)
Properties
Gck.Password:key
The PKCS#11 key that the password is being requested for. If this
is set then the GckPassword:token property will be NULL
.
Gck.Password:module
The PKCS#11 module that is requesting the password.
Gck.Password:token
The PKCS#11 token the password is for, if this is set then
the GckPassword:object property will be NULL
.