Class

GckPassword

Description [src]

final class Gck.Password : Gio.TlsPassword {
  /* No available fields */
}

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.

Ancestors

  • GTlsPassword
  • GObject

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.

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.

Class structure

struct GckPasswordClass {
  GTlsPasswordClass parent_class;
  
}
Class members
parent_class
GTlsPasswordClass
  No description available.