[此方法在 Windows Server 2008 和 Windows Vista 中不再可用。]
AddAuthenticatedAttributesToPKCS7Request 方法将经过身份验证的属性添加到 PKCS #7 证书请求。 此方法首先在 IEnroll 接口中定义。
语法
HRESULT AddAuthenticatedAttributesToPKCS7Request(
[in] PCRYPT_ATTRIBUTES pAttributes
);
参数
[in] pAttributes
指向 CRYPT_ATTRIBUTES 结构的指针,该结构表示要添加到 PKCS #7 证书请求的经过身份验证的属性。
返回值
返回值为 HRESULT,如果调用成功,则返回S_OK。
要求
| 要求 | 值 |
|---|---|
| 最低受支持的客户端 | Windows XP [仅限桌面应用] |
| 最低受支持的服务器 | Windows Server 2003 [仅限桌面应用] |
| 目标平台 | Windows |
| 标头 | xenroll.h |
| Library | Uuid.lib |
| DLL | Xenroll.dll |