diff options
| author | Rob Mensching <rob@firegiant.com> | 2021-04-12 07:46:35 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2021-04-12 15:34:06 -0700 |
| commit | fc542c0974840882e5bbba0046c530e2ede34170 (patch) | |
| tree | 4794ea6c80550b7e7f5057c248e784df92b83a6b /src/wixext/HttpTableDefinitions.cs | |
| parent | a20bee47c43861dd9f38adb88e74a6417292732b (diff) | |
| download | wix-fc542c0974840882e5bbba0046c530e2ede34170.tar.gz wix-fc542c0974840882e5bbba0046c530e2ede34170.tar.bz2 wix-fc542c0974840882e5bbba0046c530e2ede34170.zip | |
Add support for configuring SNI SSL certificates
Diffstat (limited to 'src/wixext/HttpTableDefinitions.cs')
| -rw-r--r-- | src/wixext/HttpTableDefinitions.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/wixext/HttpTableDefinitions.cs b/src/wixext/HttpTableDefinitions.cs index 0665ce8d..83cd565a 100644 --- a/src/wixext/HttpTableDefinitions.cs +++ b/src/wixext/HttpTableDefinitions.cs | |||
| @@ -6,6 +6,23 @@ namespace WixToolset.Http | |||
| 6 | 6 | ||
| 7 | public static class HttpTableDefinitions | 7 | public static class HttpTableDefinitions |
| 8 | { | 8 | { |
| 9 | public static readonly TableDefinition WixHttpSniSslCert = new TableDefinition( | ||
| 10 | "WixHttpSniSslCert", | ||
| 11 | HttpSymbolDefinitions.WixHttpSniSslCert, | ||
| 12 | new[] | ||
| 13 | { | ||
| 14 | new ColumnDefinition("WixHttpSniSslCert", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "The non-localized primary key for the table.", modularizeType: ColumnModularizeType.Column), | ||
| 15 | new ColumnDefinition("Host", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Formatted, description: "Host for the SNI SSL certificate.", modularizeType: ColumnModularizeType.Property), | ||
| 16 | new ColumnDefinition("Port", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Formatted, description: "Port for the SNI SSL certificate.", modularizeType: ColumnModularizeType.Property), | ||
| 17 | new ColumnDefinition("Thumbprint", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Formatted, description: "humbprint of the SNI SSL certificate to find.", modularizeType: ColumnModularizeType.Property), | ||
| 18 | new ColumnDefinition("AppId", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "Optional application id for the SNI SSL certificate.", modularizeType: ColumnModularizeType.Property), | ||
| 19 | new ColumnDefinition("Store", ColumnType.String, 0, primaryKey: false, nullable: true, ColumnCategory.Formatted, description: "Optional application id for the SNI SSL certificate.", modularizeType: ColumnModularizeType.Property), | ||
| 20 | new ColumnDefinition("HandleExisting", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown, minValue: 0, maxValue: 2, description: "The behavior when trying to install a SNI SSL certificate and it already exists."), | ||
| 21 | new ColumnDefinition("Component_", ColumnType.String, 72, primaryKey: false, nullable: false, ColumnCategory.Identifier, keyTable: "Component", keyColumn: 1, description: "Foreign key into the Component table referencing the component that controls the URL reservation.", modularizeType: ColumnModularizeType.Column), | ||
| 22 | }, | ||
| 23 | symbolIdIsPrimaryKey: true | ||
| 24 | ); | ||
| 25 | |||
| 9 | public static readonly TableDefinition WixHttpUrlReservation = new TableDefinition( | 26 | public static readonly TableDefinition WixHttpUrlReservation = new TableDefinition( |
| 10 | "WixHttpUrlReservation", | 27 | "WixHttpUrlReservation", |
| 11 | HttpSymbolDefinitions.WixHttpUrlReservation, | 28 | HttpSymbolDefinitions.WixHttpUrlReservation, |
| @@ -35,6 +52,7 @@ namespace WixToolset.Http | |||
| 35 | 52 | ||
| 36 | public static readonly TableDefinition[] All = new[] | 53 | public static readonly TableDefinition[] All = new[] |
| 37 | { | 54 | { |
| 55 | WixHttpSniSslCert, | ||
| 38 | WixHttpUrlReservation, | 56 | WixHttpUrlReservation, |
| 39 | WixHttpUrlAce, | 57 | WixHttpUrlAce, |
| 40 | }; | 58 | }; |
