Certificate.BuildChainAsync 方法

定义

重载

BuildChainAsync(IIterable<Certificate>)

为从最终实体证书到根目录的指定证书生成证书链。

BuildChainAsync(IIterable<Certificate>, ChainBuildingParameters)

使用指定的链生成参数为从最终实体证书到根证书的指定证书生成证书链。

BuildChainAsync(IIterable<Certificate>)

为从最终实体证书到根目录的指定证书生成证书链。

public:
 virtual IAsyncOperation<CertificateChain ^> ^ BuildChainAsync(IIterable<Certificate ^> ^ certificates) = BuildChainAsync;
/// [Windows.Foundation.Metadata.Overload("BuildChainAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<CertificateChain> BuildChainAsync(IIterable<Certificate> const& certificates);
[Windows.Foundation.Metadata.Overload("BuildChainAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<CertificateChain> BuildChainAsync(IEnumerable<Certificate> certificates);
function buildChainAsync(certificates)
Public Function BuildChainAsync (certificates As IEnumerable(Of Certificate)) As IAsyncOperation(Of CertificateChain)

参数

certificates

IIterable<Certificate>

IEnumerable<Certificate>

生成证书链时要使用的中间证书。

返回

用于检索包含整个 证书链的 CertificateChain 对象的异步操作。

属性

另请参阅

适用于

BuildChainAsync(IIterable<Certificate>, ChainBuildingParameters)

使用指定的链生成参数为从最终实体证书到根证书的指定证书生成证书链。

public:
 virtual IAsyncOperation<CertificateChain ^> ^ BuildChainAsync(IIterable<Certificate ^> ^ certificates, ChainBuildingParameters ^ parameters) = BuildChainAsync;
/// [Windows.Foundation.Metadata.Overload("BuildChainWithParametersAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<CertificateChain> BuildChainAsync(IIterable<Certificate> const& certificates, ChainBuildingParameters const& parameters);
[Windows.Foundation.Metadata.Overload("BuildChainWithParametersAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<CertificateChain> BuildChainAsync(IEnumerable<Certificate> certificates, ChainBuildingParameters parameters);
function buildChainAsync(certificates, parameters)
Public Function BuildChainAsync (certificates As IEnumerable(Of Certificate), parameters As ChainBuildingParameters) As IAsyncOperation(Of CertificateChain)

参数

certificates

IIterable<Certificate>

IEnumerable<Certificate>

生成证书链时要使用的中间证书。

parameters
ChainBuildingParameters

生成证书链时要使用的链生成参数。

返回

用于检索包含整个 证书链的 CertificateChain 对象的异步操作。

属性

另请参阅

适用于