انتقل إلى المحتوى الرئيسي

Interface: Pkcs11TokenInfo

Defined in: packages/key-custodian/src/pkcs11/library.ts:62

What C_GetTokenInfo returns, as far as the adapter reads it.

Properties​

firmwareVersion?​

readonly optional firmwareVersion?: object

Defined in: packages/key-custodian/src/pkcs11/library.ts:79

The token's firmware version. Read only by the custodian's inspect(), for an operator to compare with what was procured; nothing decides by it. Optional for the same reason as serialNumber.

major​

readonly major: number

minor​

readonly minor: number


label​

readonly label: string

Defined in: packages/key-custodian/src/pkcs11/library.ts:64

Padded with spaces to 32 characters.


manufacturerID​

readonly manufacturerID: string

Defined in: packages/key-custodian/src/pkcs11/library.ts:66

Padded with spaces.


model​

readonly model: string

Defined in: packages/key-custodian/src/pkcs11/library.ts:68

Padded with spaces.


serialNumber?​

readonly optional serialNumber?: string

Defined in: packages/key-custodian/src/pkcs11/library.ts:73

Padded with spaces. Optional here only so a test fake may leave it out; pkcs11js always fills it, and a configured expectedSerial refuses a token that reports none.