Gck.Session.prototype.init_pin
function init_pin(pin: ByteArray, cancellable: Gio.Cancellable): Boolean {
// Gjs wrapper for gck_session_init_pin()
}
Initialize the user's pin on this slot that this session is opened on. According to the PKCS\#11 standards, the session must be logged in with the CKU_SO user type.
This call may block for an indefinite period.
- pin
the user's PIN, or null for protected authentication path
- cancellable
Optional cancellation object, or NULL.
- Returns
Whether successful or not.