共用方式為


ICspInformation::get_MaxKeyContainerNameLength 方法 (certenroll.h)

MaxKeyContainerNameLength 屬性會擷取與提供者相關聯之私鑰容器名稱的最大支持長度。

這個屬性是唯讀的。

語法

HRESULT get_MaxKeyContainerNameLength(
  LONG *pValue
);

參數

pValue

傳回值

備註

您可以在 IX509PrivateKey 介面上呼叫 ContainerName 屬性,以指定和擷取密鑰容器名稱。 下表列出與 Microsoft 所散發之提供者相關聯的值。 其中有些提供者可能不會包含在所有操作系統上,而其他提供者可能改為包含。

提供者 MaxKeyContainerNameLength 值
Microsoft 軟體金鑰儲存提供者 261
Microsoft 智慧卡密鑰儲存提供者 40
Microsoft 基礎密碼編譯提供者 v1.0 261
Microsoft Base DSS 和 Diffie-Hellman 密碼編譯提供者 261
Microsoft 基礎 DSS 密碼編譯提供者 261
Microsoft 基礎智慧卡密碼編譯提供者 40
Microsoft DH 安全通道密碼編譯提供者 261
Microsoft 增強型密碼編譯提供者 v1.0 261
Microsoft 增強型 DSS 和 Diffie-Hellman 密碼編譯提供者 261
Microsoft 增強型 RSA 和 AES 密碼編譯提供者 261
Microsoft RSA Schannel 密碼編譯提供者 261
Microsoft 強式密碼編譯提供者 261

規格需求

需求
最低支援的用戶端 Windows Vista [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2008 [僅限傳統型應用程式]
目標平台 Windows
標頭 certenroll.h
Dll CertEnroll.dll

另請參閱

ICspInformation