Class

TKSmartCardPINFormat

The TKSmartCardPINFormat class encapsulates the formatting properties for a PIN, including the allowed characters, the character encoding, the minimum and maximum length, and the block length, offset, and justification.

Topics

Configuring PIN Formatting

charset

The format of PIN characters. TKSmartCardPINCharsetNumeric by default.

encoding

The encoding of PIN characters. TKSmartCardPINEncodingASCII by default.

minPINLength

The minimum number of characters to form a valid PIN. 4 by default.

maxPINLength

The maximum number of characters to form a valid PIN. 8 by default.

PINBlockByteLength

The total length of the PIN block in bytes. 8 by default.

PINJustification

The justification within the PIN block. TKSmartCardPINJustificationLeft by default.

PINBitOffset

The offset, in bits, within the PIN block to mark a location for filling in the formatted PIN, which is justified with respect to the PINJustification property value. 0 by default.

PINLengthBitOffset

The offset, in bits, within the PIN block to mark a location for filling in the PIN length, which is always left justified. 0 by default.

PINLengthBitSize

The size, in bits, of the PIN length field. If set to 0, PIN length is not written. 0 by default.

Constants

TKSmartCardPINCharset

Possible PIN character sets.

TKSmartCardPINEncoding

Possible PIN encoding types.

TKSmartCardPINJustification

Possible PIN justification types

Relationships

Inherits From