SmartCardPinPolicy
SmartCardPinPolicy
SmartCardPinPolicy
SmartCardPinPolicy
Class
Definition
Represents a set of personal identification number (PIN) rules on a Trusted Platform Module (TPM) virtual smart card.
public : sealed class SmartCardPinPolicy : ISmartCardPinPolicypublic sealed class SmartCardPinPolicy : ISmartCardPinPolicyPublic NotInheritable Class SmartCardPinPolicy Implements ISmartCardPinPolicy// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Constructors
SmartCardPinPolicy() SmartCardPinPolicy() SmartCardPinPolicy() SmartCardPinPolicy()
Creates and initializes a new instance of a set of personal identification number (PIN) rules on a Trusted Platform Module (TPM) virtual smart card.
public : SmartCardPinPolicy()public SmartCardPinPolicy()Public Sub New()// You can use this method in JavaScript.
- See Also
Properties
Digits Digits Digits Digits
Gets or sets whether number characters are allowed for a personal identification number (PIN) on a Trusted Platform Module (TPM) virtual smart card.
public : SmartCardPinCharacterPolicyOption Digits { get; set; }public SmartCardPinCharacterPolicyOption Digits { get; set; }Public ReadWrite Property Digits As SmartCardPinCharacterPolicyOption// You can use this property in JavaScript.
- Value
- SmartCardPinCharacterPolicyOption SmartCardPinCharacterPolicyOption SmartCardPinCharacterPolicyOption SmartCardPinCharacterPolicyOption
One of the enumeration values, representing whether number characters are allowed.
Remarks
The default value is to allow number characters.
- See Also
LowercaseLetters LowercaseLetters LowercaseLetters LowercaseLetters
Gets or sets whether lowercase letter characters are allowed for a personal identification number (PIN) on a Trusted Platform Module (TPM) virtual smart card.
public : SmartCardPinCharacterPolicyOption LowercaseLetters { get; set; }public SmartCardPinCharacterPolicyOption LowercaseLetters { get; set; }Public ReadWrite Property LowercaseLetters As SmartCardPinCharacterPolicyOption// You can use this property in JavaScript.
- Value
- SmartCardPinCharacterPolicyOption SmartCardPinCharacterPolicyOption SmartCardPinCharacterPolicyOption SmartCardPinCharacterPolicyOption
One of the enumeration values, representing whether lowercase letter characters are allowed.
Remarks
The default value is to allow lowercase letter characters.
- See Also
MaxLength MaxLength MaxLength MaxLength
Gets or sets the maximum character length for a personal identification number (PIN) on a Trusted Platform Module (TPM) virtual smart card.
public : unsigned int MaxLength { get; set; }public uint MaxLength { get; set; }Public ReadWrite Property MaxLength As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
The maximum character length.
Remarks
The lowest allowed maximum character length is 4.
The highest allowed maximum character length is 127.
The default maximum character length is 127.
- See Also
MinLength MinLength MinLength MinLength
Gets or sets the minimum character length for a personal identification number (PIN) on a Trusted Platform Module (TPM) virtual smart card.
public : unsigned int MinLength { get; set; }public uint MinLength { get; set; }Public ReadWrite Property MinLength As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
The minimum character length.
Remarks
The lowest allowed minimum character length is 4.
The highest allowed minimum character length is 127.
The default minimum character length is 8.
- See Also
SpecialCharacters SpecialCharacters SpecialCharacters SpecialCharacters
Gets or sets whether special characters are allowed for a personal identification number (PIN) on a Trusted Platform Module (TPM) virtual smart card.
public : SmartCardPinCharacterPolicyOption SpecialCharacters { get; set; }public SmartCardPinCharacterPolicyOption SpecialCharacters { get; set; }Public ReadWrite Property SpecialCharacters As SmartCardPinCharacterPolicyOption// You can use this property in JavaScript.
- Value
- SmartCardPinCharacterPolicyOption SmartCardPinCharacterPolicyOption SmartCardPinCharacterPolicyOption SmartCardPinCharacterPolicyOption
One of the enumeration values, representing whether special characters are allowed.
Remarks
Special characters are defined here as the following set of printable ASCII characters: ! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~
The default value is to allow special characters.
- See Also
UppercaseLetters UppercaseLetters UppercaseLetters UppercaseLetters
Gets or sets whether uppercase letter characters are allowed for a personal identification number (PIN) on a Trusted Platform Module (TPM) virtual smart card.
public : SmartCardPinCharacterPolicyOption UppercaseLetters { get; set; }public SmartCardPinCharacterPolicyOption UppercaseLetters { get; set; }Public ReadWrite Property UppercaseLetters As SmartCardPinCharacterPolicyOption// You can use this property in JavaScript.
- Value
- SmartCardPinCharacterPolicyOption SmartCardPinCharacterPolicyOption SmartCardPinCharacterPolicyOption SmartCardPinCharacterPolicyOption
One of the enumeration values, representing whether uppercase letter characters are allowed.
Remarks
The default value is to allow uppercase letter characters.
- See Also