• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 package software.amazon.awssdk.crt.io;
6 
7 import software.amazon.awssdk.crt.CrtRuntimeException;
8 
9 /**
10  * This class wraps the aws_tls_context from aws-c-io to provide access to TLS
11  * configuration contexts in the AWS Common Runtime.
12  */
13 public final class ClientTlsContext extends TlsContext {
14 
15     /**
16      * Creates a new Client TlsContext. There are significant native resources
17      * consumed to create a TlsContext, so most applications will only need to
18      * create one and re-use it for all connections.
19      *
20      * @param options A set of options for this context
21      * @throws CrtRuntimeException If the provided options are malformed or the
22      *                             system is unable to allocate space for a native
23      *                             tls context
24      */
ClientTlsContext(TlsContextOptions options)25     public ClientTlsContext(TlsContextOptions options) throws CrtRuntimeException {
26         super(options);
27     }
28 };
29