-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Bring in latest URLSessionHTTPClient from main branch (#718)
- Loading branch information
Showing
8 changed files
with
608 additions
and
129 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
Sources/ClientRuntime/Networking/Http/CRT/TLSConfiguration.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// | ||
// Copyright Amazon.com Inc. or its affiliates. | ||
// All Rights Reserved. | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 | ||
// | ||
|
||
/** | ||
* Configuration settings about TLS set up. | ||
* All settings are optional. | ||
* Not specifying them will use the SDK defaults | ||
*/ | ||
public protocol TLSConfiguration { | ||
|
||
// Optional path to a PEM certificate | ||
var certificate: String? { get set } | ||
|
||
// Optional path to certificate directory | ||
var certificateDir: String? { get set } | ||
|
||
// Optional path to a PEM format private key | ||
var privateKey: String? { get set } | ||
|
||
// Optional path to PKCS #12 certificate , in PEM format | ||
var pkcs12Path: String? { get set } | ||
|
||
// Optional PKCS#12 password | ||
var pkcs12Password: String? { get set } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.