io.deephaven.ssl.config.ProtocolsIntermediate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of deephaven-ssl-config Show documentation
Show all versions of deephaven-ssl-config Show documentation
The Deephaven SSL Configuration
The newest version!
//
// Copyright (c) 2016-2024 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.Arrays;
import java.util.List;
/**
* Includes the protocols {@value #TLSV_1_3} and {@value #TLSV_1_2}.
*
* @see Intermediate
* compatibility
*/
@Immutable
@SingletonStyle
@JsonDeserialize(as = ImmutableProtocolsIntermediate.class)
public abstract class ProtocolsIntermediate implements Protocols {
public static final String TLSV_1_3 = "TLSv1.3";
public static final String TLSV_1_2 = "TLSv1.2";
public static ProtocolsIntermediate of() {
return ImmutableProtocolsIntermediate.of();
}
public final List protocols() {
return Arrays.asList(TLSV_1_3, TLSV_1_2);
}
@Override
public final T walk(Visitor visitor) {
return visitor.visit(this);
}
}