Specifies how a smart card PIN shall be encoded when transmitted inside the command APDU.

Namespace: CardWerk.SmartCard.Util
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)

  Member name Description
Ascii The PIN is ASCII encoded, e.g. '31' for the digit "1". The most significant bit of each byte is zero. This encoding supports alphanumeric PINs.
BCD The PIN is BCD encoded, i.e. each digit occupies four bits. This encoding only supports numeric PINs.
Binary New in version 4.0: The PIN is encoded as bytes, e.g. '01' for the digit "1". This encoding is NOT supported by CardPinControl.BuildTerminalCommandAPDU and CardPinControl.BuildTerminalModifyCommandAPDU.
EMVCo The PIN is encrypted according to the EMVCo specification. This encoding is currently not supported.
Format2PinBlock The PIN is encoded in a special "Format 2 PIN Block". This encoding only supports numeric PINs.
Unicode New in version 4.0: The PIN is encoded as 2 byte unicode characters. This encoding is NOT supported by CardPinControl.BuildTerminalCommandAPDU and CardPinControl.BuildTerminalModifyCommandAPDU.
Note that the smart card usually defines the PIN codings that it accepts and the application must follow.