Share via


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

 

Gets the certificate for the helper.

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

Syntax

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

Parameters

  • isRequired
    Type: System.Boolean

    The indicator of whether the certificate is required. True if the certificate is required; otherwise, false.

Return Value

Type: System.Security.Cryptography.X509Certificates.X509Certificate2

The certificate for the helper.

See Also

PlatformConfigurationHelper Class
Microsoft.WindowsAzure.Common.Internals Namespace

Return to top