C# Class Elastacloud.AzureManagement.Fluent.Commands.Certificates.AddServiceCertificateCommand

Used to add a service certificate to a particular hosted service so that it can be used in remote desktop or SSL
Inheritance: Elastacloud.AzureManagement.Fluent.Commands.Services.ServiceCommand
Show file Open project: azurecoder/fluent-management Class Usage Examples

Private Properties

Property Type Description
AddServiceCertificateCommand System

Protected Methods

Method Description
CreatePayload ( ) : string

The creation of the XML payload necessary to make the request

Private Methods

Method Description
AddServiceCertificateCommand ( byte certificateData, string pfxPassword, string hostedServiceName ) : System

Sets the REST command parameters and takes a byte array converting certificate data to base64, the password has to match the password that was given when the certificate was first created

Method Details

CreatePayload() protected method

The creation of the XML payload necessary to make the request
protected CreatePayload ( ) : string
return string