2.2.2.1 PinPolicySerialization

This structure is used to serialize a PIN policy for use by the ITpmVirtualSmartCardManager2 interface as specified in section 3.3.4.1.<2>


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Reserved

minLength

maxLength

uppercaseLettersPolicyOption

lowercaseLettersPolicyOption

digitsPolicyOption

specialCharactersPolicyOption

otherCharactersPolicyOption

Reserved:  This reserved field contains a 32-bit unsigned integer in little-endian encoding that MUST equal 1.

minLength:  The minimum length permitted for a PIN assigned to the new smart card, represented as a 32-bit unsigned integer in little-endian encoding.

maxLength:  The maximum length permitted for a PIN assigned to the new smart card, represented as a 32-bit unsigned integer in little-endian encoding.

uppercaseLettersPolicyOption: A SmartCardPinCharacterPolicyOption, defined in section 2.2.1.3, encoded in little-endian format. This value indicates whether uppercase letters are permitted in a PIN assigned to the new smart card.

lowercaseLettersPolicyOption: A SmartCardPinCharacterPolicyOption, defined in section 2.2.1.3, encoded in little-endian format. This value indicates whether lowercase letters are permitted in a PIN assigned to the new smart card.

digitsPolicyOption: A SmartCardPinCharacterPolicyOption, defined in section 2.2.1.3, encoded in little-endian format. This value indicates whether numeric digits are permitted in a PIN assigned to the new smart card.

specialCharactersPolicyOption: A SmartCardPinCharacterPolicyOption, defined in section 2.2.1.3, encoded in little-endian format. This value indicates whether printable ASCII characters other than digits and letters are permitted in a PIN assigned to the new smart card.

otherCharactersPolicyOption: A SmartCardPinCharacterPolicyOption, defined in section 2.2.1.3, encoded in little-endian format. This value indicates whether all byte values are permitted in a PIN assigned to the new smart card, including non-printable ASCII characters and character codes from 0x80 through 0xFF.