Gck.SlotInfo

const Gck = imports.gi.Gck;

let slotInfo = new Gck.SlotInfo({
    flags: value
    hardware_version_major: value
    hardware_version_minor: value
    firmware_version_major: value
    firmware_version_minor: value
});
  

Represents information about a PKCS11 slot.

This is analogous to a CK_SLOT_INFO structure, but the strings are far more usable.

When you're done with this structure it should be released with Gck.SlotInfo.prototype.free.