IChannelCredentials.SetClientCertificateFromStoreByName 方法

定义

按照名称从证书存储区中检索证书,并将其添加到客户端凭据。

public:
 void SetClientCertificateFromStoreByName(System::String ^ subjectName, System::String ^ storeLocation, System::String ^ storeName);
public void SetClientCertificateFromStoreByName (string subjectName, string storeLocation, string storeName);
abstract member SetClientCertificateFromStoreByName : string * string * string -> unit
Public Sub SetClientCertificateFromStoreByName (subjectName As String, storeLocation As String, storeName As String)

参数

subjectName
String

证书主题名称。

storeLocation
String

证书存储区位置。

storeName
String

证书存储区名称。

适用于