Compartilhar via


Método PlatformConfigurationHelper.GetCertificate (IDictionary<String, Object>, String, Boolean)

 

Obtém o certificado para o auxiliar.

Namespace:   Microsoft.WindowsAzure.Common.Internals
Assembly:  Microsoft.WindowsAzure.Common.NetFramework (em Microsoft.WindowsAzure.Common.NetFramework.dll)

Sintaxe

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

Parâmetros

  • isRequired
    Type: System.Boolean

    Indica se o certificado é necessário.True Se o certificado é necessário; Caso contrário, false.

Valor de retorno

Type: System.Security.Cryptography.X509Certificates.X509Certificate2

O certificado para o auxiliar.

Consulte também

Classe PlatformConfigurationHelper
Namespace Microsoft.WindowsAzure.Common.Internals

Retornar ao topo