io.deephaven.ssl.config.Ciphers 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.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
/**
* The TLS ciphers.
*
* @see CiphersJdk
* @see CiphersModern
* @see CiphersProperties
* @see CiphersExplicit
*/
@JsonTypeInfo(
use = JsonTypeInfo.Id.NAME,
include = JsonTypeInfo.As.PROPERTY,
property = "type")
@JsonSubTypes({
@JsonSubTypes.Type(value = CiphersJdk.class, name = "jdk"),
@JsonSubTypes.Type(value = CiphersModern.class, name = "modern"),
@JsonSubTypes.Type(value = CiphersIntermediate.class, name = "intermediate"),
@JsonSubTypes.Type(value = CiphersProperties.class, name = "properties"),
@JsonSubTypes.Type(value = CiphersExplicit.class, name = "explicit"),
})
public interface Ciphers {
T walk(Visitor visitor);
interface Visitor {
T visit(CiphersJdk jdk);
T visit(CiphersModern modern);
T visit(CiphersIntermediate intermediate);
T visit(CiphersProperties properties);
T visit(CiphersExplicit explicit);
}
}