All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.aws.sdk.kotlin.crt.io.TlsVersion.kt Maven / Gradle / Ivy

There is a newer version: 0.8.9
Show newest version
/*
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0
 */

package aws.sdk.kotlin.crt.io

public enum class TlsVersion(public val value: Int) {
    /**
     * SSL v3. This should almost never be used.
     */
    SSLv3(0),

    TLSv1(1),

    /**
     * TLS 1.1
     */
    TLS_V1_1(2),

    /**
     * TLS 1.2
     */
    TLS_V1_2(3),

    /**
     * TLS 1.3
     */
    TLS_V1_3(4),

    /**
     * Use whatever the system default is. This is usually the best option, as it will be automatically updated
     * as the underlying OS or platform changes.
     */
    SYS_DEFAULT(128),
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy