Password
Object Hierarchy:
Gck.Password
Gck.Password
Gck.Password
GLib.TlsPassword
GLib.TlsPassword
GLib.TlsPassword->Gck.Password
GLib.Object
GLib.Object
GLib.Object->GLib.TlsPassword
Description:
[
CCode ( type_id =
"gck_password_get_type ()" ) ]
public class Password :
TlsPassword
Represents a password which is requested of the user.
This is used in conjuction with [classGio.TlsInteraction
]. `GckPassword` is a [classGio.TlsPassword
] which contains
additional information about which PKCS#11 token or key the password is being requested for.
Content:
Properties:
public Object key { owned get ; construct ; }
The PKCS#11 key that the password is being requested for.
public Module module { owned get ; }
The PKCS#11 module that is requesting the password
public Slot token { owned get ; construct ; }
The PKCS#11 token the password is for, if this is set then the
GckPassword:object property will be null
Creation methods:
Methods:
public Object get_key ()
If the password request is to unlock a PKCS#11 key, then this is the the
object representing that key.
public Module get_module ()
Get the PKCS#11 module that is requesting the password.
public Slot get_token ()
If the password request is to unlock a PKCS#11 token, then this is the slot
containing that token.
Inherited Members:
All known members inherited from class GLib.TlsPassword
All known members inherited from class GLib.Object