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

io.deephaven.ssl.config.ProtocolsModern Maven / Gradle / Ivy

There is a newer version: 0.37.0
Show newest version
/**
 * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending
 */
package io.deephaven.ssl.config;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.deephaven.annotations.SingletonStyle;
import org.immutables.value.Value.Immutable;

import java.util.Collections;
import java.util.List;

/**
 * Includes the protocol {@value #TLSV_1_3}.
 *
 * @see Modern compatibility
 */
@Immutable
@SingletonStyle
@JsonDeserialize(as = ImmutableProtocolsModern.class)
public abstract class ProtocolsModern implements Protocols {

    public static final String TLSV_1_3 = "TLSv1.3";

    public static ProtocolsModern of() {
        return ImmutableProtocolsModern.of();
    }

    public final List protocols() {
        return Collections.singletonList(TLSV_1_3);
    }

    @Override
    public final  T walk(Visitor visitor) {
        return visitor.visit(this);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy