命名空间: Microsoft.IdentityModel.SecurityTokenService
程序集: Microsoft.IdentityModel(microsoft.identitymodel.dll 中)
用法
Dim certificate As X509Certificate2 Dim ski As SecurityKeyIdentifier Dim signatureAlgorithm As String Dim digestAlgorithm As String Dim instance As New X509SigningCredentials(certificate, ski, signatureAlgorithm, digestAlgorithm)
语法
声明
Public Sub New ( _
certificate As X509Certificate2, _
ski As SecurityKeyIdentifier, _
signatureAlgorithm As String, _
digestAlgorithm As String _
)
public X509SigningCredentials (
X509Certificate2 certificate,
SecurityKeyIdentifier ski,
string signatureAlgorithm,
string digestAlgorithm
)
public:
X509SigningCredentials (
X509Certificate2^ certificate,
SecurityKeyIdentifier^ ski,
String^ signatureAlgorithm,
String^ digestAlgorithm
)
public X509SigningCredentials (
X509Certificate2 certificate,
SecurityKeyIdentifier ski,
String signatureAlgorithm,
String digestAlgorithm
)
public function X509SigningCredentials (
certificate : X509Certificate2,
ski : SecurityKeyIdentifier,
signatureAlgorithm : String,
digestAlgorithm : String
)
参数
- certificate
- ski
- signatureAlgorithm
- digestAlgorithm
平台
开发平台
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
请参见
参考
X509SigningCredentials 类
X509SigningCredentials 成员
Microsoft.IdentityModel.SecurityTokenService 命名空间