Cryptographic Token Interface Standard

PKCS#11


User Interface Objects

The CKA_HW_FEATURE_TYPE attribute takes the value CKH_USER_INTERFACE of type CK_HW_FEATURE.

User interface objects represent the presentation capabilities of the device.

Table 20, User Interface Object Attributes
Attribute Data type Meaning
CKA_PIXEL_X CK_ULONG Screen resolution (in pixels) in X-axis (e.g. 1280)
CKA_PIXEL_Y CK_ULONG Screen resolution (in pixels) in Y-axis (e.g. 1024)
CKA_RESOLUTION CK_ULONG DPI, pixels per inch
CKA_CHAR_ROWS CK_ULONG For character-oriented displays; number of character rows (e.g. 24)
CKA_CHAR_COLUMNS CK_ULONG For character-oriented displays: number of character columns (e.g. 80). If display is of proportional-font type, this is the width of the display in "em"-s (letter "M"), see CC/PP Struct.
CKA_COLOR CK_BBOOL Color support
CKA_BITS_PER_PIXEL CK_ULONG The number of bits of color or grayscale information per pixel.
CKA_CHAR_SETS RFC 2279 string String indicating supported character sets, as defined by IANA MIBenum sets (www.iana.org). Supported character sets are separated with ";". E.g. a token supporting iso-8859-1 and us-ascii would set the attribute value to "4;3".
CKA_ENCODING_METHODS RFC 2279 string String indicating supported content transfer encoding methods, as defined by IANA (www.iana.org). Supported methods are separated with ";". E.g. a token supporting 7bit, 8bit and base64 could set the attribute value to "7bit;8bit;base64".
CKA_MIME_TYPES RFC 2279 string String indicating supported (presentable) MIME-types, as defined by IANA (www.iana.org). Supported types are separated with ";". E.g. a token supporting MIME types "a/b", "a/c" and "a/d" would set the attribute value to "a/b;a/c;a/d".

The selection of attributes, and associated data types, has been done in an attempt to stay as aligned with RFC 2534 and CC/PP Struct as possible. The special value CK_UNAVAILABLE_INFORMATION may be used for CK_ULONG-based attributes when information is not available or applicable.

None of the attribute values may be set by an application.

The value of the CKA_ENCODING_METHODS attribute may be used when the application needs to send MIME objects with encoded content to the token.


RSA Security Inc. Public-Key Cryptography Standards - PKCS#11 - v220