Recipients.Add 方法

[ Add 方法可用于“要求”部分中指定的操作系统。 请改用 System.Security.Cryptography.Pkcs 命名空间中的 CmsRecipientCollection 类。]

Add 方法将 Certificate 对象添加到 Recipients 集合。

语法

Recipients.Add( _
  ByVal Certificate _
)

参数

证书 [in]

解析为要添加到集合的 Certificate 对象的表达式。

返回值

此方法不返回值。

要求

要求
可再发行组件
Windows Server 2003 和 Windows XP 上的 CAPICOM 2.0 或更高版本
DLL
Capicom.dll

另请参阅

加密对象

收件人