PlatformConfigurationHelper.GetCertificate 方法 (IDictionary<String, Object>, String, Boolean)

 

帮助者获取的证书。

命名空间:   Microsoft.WindowsAzure.Common.Internals
程序集:  Microsoft.WindowsAzure.Common.NetFramework(Microsoft.WindowsAzure.Common.NetFramework.dll 中)

语法

public static X509Certificate2 GetCertificate(
    IDictionary<string, object> parameters,
    string name,
    bool isRequired = true
)
public:
static X509Certificate2^ GetCertificate(
    IDictionary<String^, Object^>^ parameters,
    String^ name,
    bool isRequired = true
)
static member GetCertificate : 
        parameters:IDictionary<string, Object> *
        name:string *
        isRequired:bool = true -> X509Certificate2
Public Shared Function GetCertificate (
    parameters As IDictionary(Of String, Object),
    name As String,
    isRequired As Boolean
) As X509Certificate2

参数

  • isRequired
    Type: System.Boolean

    该证书是否为必需的指示符。True 如果该证书是必需的 ;否则为 false

返回值

Type: System.Security.Cryptography.X509Certificates.X509Certificate2

帮助者证书。

请参阅

PlatformConfigurationHelper 类
Microsoft.WindowsAzure.Common.Internals 命名空间

返回页首