SecureBlackbox Lite 2020 Qt Edition

Questions / Feedback?

CertificateStorage Configuration

The class accepts one or more of the following configuration settings. Configuration settings are similar in functionality to properties, but they are rarely used. In order to avoid "polluting" the property namespace of the class, access to these internal properties is provided through the Config method.

CertificateStorage Configuration Settings

AuthAttempts:   The number of auth/login attempts to try.

Specifies the number of tries to authenticate to the storage (the default is 3). The control will fire PasswordNeeded event after each unsuccessful attempt. Applicable to: PKCS11.

PKCS11ActiveSlot:   The index of the slot that the component is working with.

Returns the index of the PKCS#11 slot that is currently being accessed.

PKCS11NewPIN:   Changes the current user's PIN.

Setting this property will change the current users's PIN to the provided value. Most HSMs require the user to be signed in to perform this operation. This is the way to change your own PIN, either for admin or regular user accounts.

PKCS11NewUserPIN:   Registers a new user PIN.

Setting this property will register a new PIN to the HSM user account. This property is the way to administratively reset the user's PIN, and can only be set from under the 'admin' session.

PKCS11PIN:   Sets the operation PIN.

Use this property to provide your PIN on the fly for an operation requiring the private key (e.g. signing). This may be useful if the PIN was not provided on the Open stage.

PKCS11SlotCount:   The number of slots exposed in the storage.

Returns the number of slots available in an opened PKCS#11 storage.

PKCS11SlotDescription[i]:   A human-readable description of the slot.

Returns a human-readable description of slot i.

PKCS11SlotLoggedIn[i]:   Whether slot i has an active session associated with it.

Returns true if there is an active session associated with slot number i.

PKCS11SlotPinNeeded[i]:   Whether slot i requires you to provide a PIN to log in or sign.

Returns true if you need to provide a PIN to sign in to the session for slot i.

PKCS11SlotReadOnly[i]:   Whether slot i only supports read-only access.

Returns the availability of the slot for write operations.

PKCS11SlotTokenLabel[i]:   The label assigned to the token.

Returns the label assigned to the token.

PKCS11SlotTokenModel[i]:   The token model.

Returns the model of the token as provided by the driver.

PKCS11SlotTokenPresent[i]:   Indicates whether there is a token in the slot.

Returns true if slot number i has a token inserted.

PKCS11SlotTokenSerial[i]:   The serial number of the token.

Returns the serial number of the token.

PKCS11SlotTokenVendorID[i]:   The manufacturer ID of the inserted token.

Returns true if there is an active session associated with slot number i.

PKCS11SlotVendorID[i]:   Returns the manufacturer ID of the slot.

Returns the manufacturer name associated with the slot.

TempPath:   Path for storing temporary files.

This setting specifies an absolute path to the location on disk where temporary files are stored.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox Lite 2020 Qt Edition - Version 20.0 [Build 8166]