Events
May 19, 6 p.m. - May 23, 12 a.m.
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The NCRYPT_UI_POLICY_BLOB structure is used with the NCRYPT_UI_POLICY_PROPERTY property to contain user interface information for a key.
typedef struct __NCRYPT_UI_POLICY_BLOB {
DWORD dwVersion;
DWORD dwFlags;
DWORD cbCreationTitle;
DWORD cbFriendlyName;
DWORD cbDescription;
} NCRYPT_UI_POLICY_BLOB;
dwVersion
The version number of the structure. This member must contain 1.
dwFlags
A set of flags that provide additional user interface information or requirements.
Value | Meaning |
---|---|
|
Display the strong key user interface as needed. |
|
Force high protection. |
cbCreationTitle
The length, in bytes, of the creation title. The creation title is a null-terminated Unicode string that specifies the text that is used as the title of the strong key dialog box when the key is completed. The creation title must be placed immediately following the NCRYPT_UI_POLICY_BLOB structure. If the value of the cbCreationTitle member is set to 0, a default creation title is used for the title of the strong key dialog box. This member is only used on key finalization.
cbFriendlyName
The length, in bytes, of the friendly name of the key. The friendly name is a null-terminated Unicode string that contains the text that is displayed in the strong key dialog box as the name of the key. The friendly name must be placed immediately following the creation title in this BLOB. If the value of the cbFriendlyName member is set to 0, a default name is used in the strong key dialog box. This member is used both when the key is completed and when the key is used.
cbDescription
The length, in bytes, of the key description. The key description is a null-terminated Unicode string that contains the text that is displayed in the strong key dialog box as the description of the key. The description value must be placed immediately following the friendly name in this BLOB. If the value of the cbDescription member is set to 0, a default description is used in the strong key dialog box. This member is used both when the key is completed and when the key is used.
This structure is included in the Ncrypt_provider.h header. To use the structure, you must download the Cryptographic Provider Development Kit from Microsoft Connect.
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Header |
|
Events
May 19, 6 p.m. - May 23, 12 a.m.
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today