你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CertificateAuthenticationProvider 构造函数

定义

重载

CertificateAuthenticationProvider(Byte[])
CertificateAuthenticationProvider(Func<String,Task<ClientAssertionCertificate>>)

使用证书提供程序创建应用程序验证器

CertificateAuthenticationProvider(ClientAssertionCertificate, Boolean)
CertificateAuthenticationProvider(Byte[], Boolean)
CertificateAuthenticationProvider(Byte[], String)
CertificateAuthenticationProvider(String, Boolean)
CertificateAuthenticationProvider(Byte[], String, Boolean)

CertificateAuthenticationProvider(Byte[])

public CertificateAuthenticationProvider (byte[] rawCertificate);
new Microsoft.Rest.Azure.Authentication.CertificateAuthenticationProvider : byte[] -> Microsoft.Rest.Azure.Authentication.CertificateAuthenticationProvider
Public Sub New (rawCertificate As Byte())

参数

rawCertificate
Byte[]

适用于

CertificateAuthenticationProvider(Func<String,Task<ClientAssertionCertificate>>)

使用证书提供程序创建应用程序验证器

public CertificateAuthenticationProvider (Func<string,System.Threading.Tasks.Task<Microsoft.Rest.Azure.Authentication.ClientAssertionCertificate>> provider);
new Microsoft.Rest.Azure.Authentication.CertificateAuthenticationProvider : Func<string, System.Threading.Tasks.Task<Microsoft.Rest.Azure.Authentication.ClientAssertionCertificate>> -> Microsoft.Rest.Azure.Authentication.CertificateAuthenticationProvider
Public Sub New (provider As Func(Of String, Task(Of ClientAssertionCertificate)))

参数

适用于

CertificateAuthenticationProvider(ClientAssertionCertificate, Boolean)

public CertificateAuthenticationProvider (Microsoft.Rest.Azure.Authentication.ClientAssertionCertificate certAssertion, bool IsCertRollOverEnabled);
new Microsoft.Rest.Azure.Authentication.CertificateAuthenticationProvider : Microsoft.Rest.Azure.Authentication.ClientAssertionCertificate * bool -> Microsoft.Rest.Azure.Authentication.CertificateAuthenticationProvider
Public Sub New (certAssertion As ClientAssertionCertificate, IsCertRollOverEnabled As Boolean)

参数

IsCertRollOverEnabled
Boolean

适用于

CertificateAuthenticationProvider(Byte[], Boolean)

public CertificateAuthenticationProvider (byte[] rawCertificate, bool IsCertRollOverEnabled);
new Microsoft.Rest.Azure.Authentication.CertificateAuthenticationProvider : byte[] * bool -> Microsoft.Rest.Azure.Authentication.CertificateAuthenticationProvider
Public Sub New (rawCertificate As Byte(), IsCertRollOverEnabled As Boolean)

参数

rawCertificate
Byte[]
IsCertRollOverEnabled
Boolean

适用于

CertificateAuthenticationProvider(Byte[], String)

public CertificateAuthenticationProvider (byte[] certificate, string password);
new Microsoft.Rest.Azure.Authentication.CertificateAuthenticationProvider : byte[] * string -> Microsoft.Rest.Azure.Authentication.CertificateAuthenticationProvider
Public Sub New (certificate As Byte(), password As String)

参数

certificate
Byte[]
password
String

适用于

CertificateAuthenticationProvider(String, Boolean)

public CertificateAuthenticationProvider (string certificateFilePath, bool IsCertRollOverEnabled);
new Microsoft.Rest.Azure.Authentication.CertificateAuthenticationProvider : string * bool -> Microsoft.Rest.Azure.Authentication.CertificateAuthenticationProvider
Public Sub New (certificateFilePath As String, IsCertRollOverEnabled As Boolean)

参数

certificateFilePath
String
IsCertRollOverEnabled
Boolean

适用于

CertificateAuthenticationProvider(Byte[], String, Boolean)

public CertificateAuthenticationProvider (byte[] rawCertificate, string password, bool IsCertRollOverEnabled);
new Microsoft.Rest.Azure.Authentication.CertificateAuthenticationProvider : byte[] * string * bool -> Microsoft.Rest.Azure.Authentication.CertificateAuthenticationProvider
Public Sub New (rawCertificate As Byte(), password As String, IsCertRollOverEnabled As Boolean)

参数

rawCertificate
Byte[]
password
String
IsCertRollOverEnabled
Boolean

适用于