C# Class WixSharp.Certificate

This class defines website certificate attributes. It is a close equivalent of Certificate WiX element.
Inheritance: WixEntity
Mostrar archivo Open project: Eun/WixSharp

Public Properties

Property Type Description
BinaryKey string
CertificatePath string
Feature Feature
Name string
Overwrite bool?
PFXPassword string
Request bool?
StoreLocation StoreLocation
StoreName StoreName

Public Methods

Method Description
Certificate ( ) : System

Creates an instance of Certificate

Certificate ( Feature feature, string name, StoreLocation storeLocation, StoreName storeName, string binaryKey ) : System

Creates an instance of Certificate where the certificate is a binary resource

Certificate ( Feature feature, string name, StoreLocation storeLocation, StoreName storeName, string certificatePath, bool request ) : System

Creates an instance of Certificate where the certificate is requested or exists at the specified path

Certificate ( Id id, Feature feature, string name, StoreLocation storeLocation, StoreName storeName, string binaryKey ) : System

Creates an instance of Certificate where the certificate is a binary resource

Certificate ( Id id, Feature feature, string name, StoreLocation storeLocation, StoreName storeName, string certificatePath, bool request ) : System

Creates an instance of Certificate where the certificate is requested or exists at the specified path

Certificate ( Id id, string name, StoreLocation storeLocation, StoreName storeName, string binaryKey ) : System

Creates an instance of Certificate where the certificate is a binary resource

Certificate ( Id id, string name, StoreLocation storeLocation, StoreName storeName, string certificatePath, bool request ) : System

Creates an instance of Certificate where the certificate is requested or exists at the specified path

Certificate ( string name, StoreLocation storeLocation, StoreName storeName, string binaryKey ) : System

Creates an instance of Certificate where the certificate is a binary resource

Certificate ( string name, StoreLocation storeLocation, StoreName storeName, string certificatePath, bool authorityRequest ) : System

Creates an instance of Certificate where the certificate is requested or exists at the specified path

ToXml ( ) : System.Xml.Linq.XContainer[]

Emits WiX XML.

Method Details

Certificate() public method

Creates an instance of Certificate
public Certificate ( ) : System
return System

Certificate() public method

Creates an instance of Certificate where the certificate is a binary resource
public Certificate ( Feature feature, string name, StoreLocation storeLocation, StoreName storeName, string binaryKey ) : System
feature Feature The feature.
name string The name.
storeLocation StoreLocation The store location.
storeName StoreName Name of the store.
binaryKey string The binary key.
return System

Certificate() public method

Creates an instance of Certificate where the certificate is requested or exists at the specified path
public Certificate ( Feature feature, string name, StoreLocation storeLocation, StoreName storeName, string certificatePath, bool request ) : System
feature Feature The feature.
name string The name.
storeLocation StoreLocation The store location.
storeName StoreName Name of the store.
certificatePath string The certificate path.
request bool if set to true [request].
return System

Certificate() public method

Creates an instance of Certificate where the certificate is a binary resource
public Certificate ( Id id, Feature feature, string name, StoreLocation storeLocation, StoreName storeName, string binaryKey ) : System
id Id The identifier.
feature Feature The feature.
name string The name.
storeLocation StoreLocation The store location.
storeName StoreName Name of the store.
binaryKey string The binary key.
return System

Certificate() public method

Creates an instance of Certificate where the certificate is requested or exists at the specified path
public Certificate ( Id id, Feature feature, string name, StoreLocation storeLocation, StoreName storeName, string certificatePath, bool request ) : System
id Id The identifier.
feature Feature The feature.
name string The name.
storeLocation StoreLocation The store location.
storeName StoreName Name of the store.
certificatePath string The certificate path.
request bool if set to true [request].
return System

Certificate() public method

Creates an instance of Certificate where the certificate is a binary resource
public Certificate ( Id id, string name, StoreLocation storeLocation, StoreName storeName, string binaryKey ) : System
id Id The identifier.
name string The name.
storeLocation StoreLocation The store location.
storeName StoreName Name of the store.
binaryKey string The binary key.
return System

Certificate() public method

Creates an instance of Certificate where the certificate is requested or exists at the specified path
public Certificate ( Id id, string name, StoreLocation storeLocation, StoreName storeName, string certificatePath, bool request ) : System
id Id The identifier.
name string The name.
storeLocation StoreLocation The store location.
storeName StoreName Name of the store.
certificatePath string The certificate path.
request bool if set to true [request].
return System

Certificate() public method

Creates an instance of Certificate where the certificate is a binary resource
/// name;name is a null reference or empty /// or /// binaryKey;binaryKey is a null reference or empty ///
public Certificate ( string name, StoreLocation storeLocation, StoreName storeName, string binaryKey ) : System
name string The name.
storeLocation StoreLocation The store location.
storeName StoreName Name of the store.
binaryKey string The binary key.
return System

Certificate() public method

Creates an instance of Certificate where the certificate is requested or exists at the specified path
name;name is a null reference or empty /// or /// certificatePath;certificatePath is a null reference or empty
public Certificate ( string name, StoreLocation storeLocation, StoreName storeName, string certificatePath, bool authorityRequest ) : System
name string The name.
storeLocation StoreLocation The store location.
storeName StoreName Name of the store.
certificatePath string The certificate path.
authorityRequest bool if set to true [authority request].
return System

ToXml() public method

Emits WiX XML.
public ToXml ( ) : System.Xml.Linq.XContainer[]
return System.Xml.Linq.XContainer[]

Property Details

BinaryKey public_oe property

The Id of a Binary instance that is the certificate to be installed
public string BinaryKey
return string

CertificatePath public_oe property

If the Request attribute is false then this attribute is the path to the certificate file outside of the package. If the Request attribute is true then this attribute is the certificate authority to request the certificate from.
public string CertificatePath
return string

Feature public_oe property

the WebSite belongs to.
public Feature,WixSharp Feature
return Feature

Name public_oe property

The name of the certificate being installed
public string Name
return string

Overwrite public_oe property

Flag to indicate if the certificate should be overwritten.
public bool? Overwrite
return bool?

PFXPassword public_oe property

If the Binary stream or path to the file outside of the package is a password protected PFX file, the password for that PFX must be specified here.
public string PFXPassword
return string

Request public_oe property

This attribute controls whether the CertificatePath attribute is a path to a certificate file (Request=false) or the certificate authority to request the certificate from (Request=true).
public bool? Request
return bool?

StoreLocation public_oe property

Sets the certificate StoreLocation.
public StoreLocation StoreLocation
return StoreLocation

StoreName public_oe property

Sets the certificate StoreName.
public StoreName StoreName
return StoreName