C# Class Elastacloud.AzureManagement.Fluent.Services.Classes.ServiceCertificate

Encapsulates a Windows Azure service certificate
Mostra file Open project: azurecoder/fluent-management Class Usage Examples

Public Methods

Method Description
Create ( ) : X509Certificate2

Used to create the Cert

GetExisting ( string thumbprint, string password ) : X509Certificate2

Gets an existing certificate given a thumbprint from the Local Stores

ServiceCertificate ( ) : System

Constructor used for an existing service certificate

ServiceCertificate ( string name ) : System

Constructor to set default properties validity 1 year from today and default pvk "password"

ServiceCertificate ( string name, string password ) : System

Constructor to set default properties validity 1 year from today and default pvk "password"

Method Details

Create() public method

Used to create the Cert
public Create ( ) : X509Certificate2
return System.Security.Cryptography.X509Certificates.X509Certificate2

GetExisting() public method

Gets an existing certificate given a thumbprint from the Local Stores
public GetExisting ( string thumbprint, string password ) : X509Certificate2
thumbprint string
password string
return System.Security.Cryptography.X509Certificates.X509Certificate2

ServiceCertificate() public method

Constructor used for an existing service certificate
public ServiceCertificate ( ) : System
return System

ServiceCertificate() public method

Constructor to set default properties validity 1 year from today and default pvk "password"
public ServiceCertificate ( string name ) : System
name string
return System

ServiceCertificate() public method

Constructor to set default properties validity 1 year from today and default pvk "password"
public ServiceCertificate ( string name, string password ) : System
name string
password string
return System