public static enum GatewayOuterClass.ServerTLSSettings.TLSmode extends Enum<GatewayOuterClass.ServerTLSSettings.TLSmode> implements com.google.protobuf.ProtocolMessageEnum
TLS modes enforced by the proxyProtobuf enum
istio.networking.v1alpha3.ServerTLSSettings.TLSmode| 枚举常量和说明 |
|---|
AUTO_PASSTHROUGH
Similar to the passthrough mode, except servers with this TLS
mode do not require an associated VirtualService to map from
the SNI value to service in the registry.
|
ISTIO_MUTUAL
Secure connections from the downstream using mutual TLS by
presenting server certificates for authentication.
|
MUTUAL
Secure connections to the downstream using mutual TLS by
presenting server certificates for authentication.
|
PASSTHROUGH
The SNI string presented by the client will be used as the
match criterion in a VirtualService TLS route to determine
the destination service from the service registry.
|
SIMPLE
Secure connections with standard TLS semantics.
|
UNRECOGNIZED |
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
AUTO_PASSTHROUGH_VALUE
Similar to the passthrough mode, except servers with this TLS
mode do not require an associated VirtualService to map from
the SNI value to service in the registry.
|
static int |
ISTIO_MUTUAL_VALUE
Secure connections from the downstream using mutual TLS by
presenting server certificates for authentication.
|
static int |
MUTUAL_VALUE
Secure connections to the downstream using mutual TLS by
presenting server certificates for authentication.
|
static int |
PASSTHROUGH_VALUE
The SNI string presented by the client will be used as the
match criterion in a VirtualService TLS route to determine
the destination service from the service registry.
|
static int |
SIMPLE_VALUE
Secure connections with standard TLS semantics.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static GatewayOuterClass.ServerTLSSettings.TLSmode |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<GatewayOuterClass.ServerTLSSettings.TLSmode> |
internalGetValueMap() |
static GatewayOuterClass.ServerTLSSettings.TLSmode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static GatewayOuterClass.ServerTLSSettings.TLSmode |
valueOf(int value)
已过时。
Use
forNumber(int) instead. |
static GatewayOuterClass.ServerTLSSettings.TLSmode |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static GatewayOuterClass.ServerTLSSettings.TLSmode[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final GatewayOuterClass.ServerTLSSettings.TLSmode PASSTHROUGH
The SNI string presented by the client will be used as the match criterion in a VirtualService TLS route to determine the destination service from the service registry.
PASSTHROUGH = 0;public static final GatewayOuterClass.ServerTLSSettings.TLSmode SIMPLE
Secure connections with standard TLS semantics.
SIMPLE = 1;public static final GatewayOuterClass.ServerTLSSettings.TLSmode MUTUAL
Secure connections to the downstream using mutual TLS by presenting server certificates for authentication.
MUTUAL = 2;public static final GatewayOuterClass.ServerTLSSettings.TLSmode AUTO_PASSTHROUGH
Similar to the passthrough mode, except servers with this TLS mode do not require an associated VirtualService to map from the SNI value to service in the registry. The destination details such as the service/subset/port are encoded in the SNI value. The proxy will forward to the upstream (Envoy) cluster (a group of endpoints) specified by the SNI value. This server is typically used to provide connectivity between services in disparate L3 networks that otherwise do not have direct connectivity between their respective endpoints. Use of this mode assumes that both the source and the destination are using Istio mTLS to secure traffic.
AUTO_PASSTHROUGH = 3;public static final GatewayOuterClass.ServerTLSSettings.TLSmode ISTIO_MUTUAL
Secure connections from the downstream using mutual TLS by presenting server certificates for authentication. Compared to Mutual mode, this mode uses certificates, representing gateway workload identity, generated automatically by Istio for mTLS authentication. When this mode is used, all other fields in `TLSOptions` should be empty.
ISTIO_MUTUAL = 4;public static final GatewayOuterClass.ServerTLSSettings.TLSmode UNRECOGNIZED
public static final int PASSTHROUGH_VALUE
The SNI string presented by the client will be used as the match criterion in a VirtualService TLS route to determine the destination service from the service registry.
PASSTHROUGH = 0;public static final int SIMPLE_VALUE
Secure connections with standard TLS semantics.
SIMPLE = 1;public static final int MUTUAL_VALUE
Secure connections to the downstream using mutual TLS by presenting server certificates for authentication.
MUTUAL = 2;public static final int AUTO_PASSTHROUGH_VALUE
Similar to the passthrough mode, except servers with this TLS mode do not require an associated VirtualService to map from the SNI value to service in the registry. The destination details such as the service/subset/port are encoded in the SNI value. The proxy will forward to the upstream (Envoy) cluster (a group of endpoints) specified by the SNI value. This server is typically used to provide connectivity between services in disparate L3 networks that otherwise do not have direct connectivity between their respective endpoints. Use of this mode assumes that both the source and the destination are using Istio mTLS to secure traffic.
AUTO_PASSTHROUGH = 3;public static final int ISTIO_MUTUAL_VALUE
Secure connections from the downstream using mutual TLS by presenting server certificates for authentication. Compared to Mutual mode, this mode uses certificates, representing gateway workload identity, generated automatically by Istio for mTLS authentication. When this mode is used, all other fields in `TLSOptions` should be empty.
ISTIO_MUTUAL = 4;public static GatewayOuterClass.ServerTLSSettings.TLSmode[] values()
for (GatewayOuterClass.ServerTLSSettings.TLSmode c : GatewayOuterClass.ServerTLSSettings.TLSmode.values()) System.out.println(c);
public static GatewayOuterClass.ServerTLSSettings.TLSmode valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public final int getNumber()
getNumber 在接口中 com.google.protobuf.Internal.EnumLitegetNumber 在接口中 com.google.protobuf.ProtocolMessageEnum@Deprecated public static GatewayOuterClass.ServerTLSSettings.TLSmode valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static GatewayOuterClass.ServerTLSSettings.TLSmode forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<GatewayOuterClass.ServerTLSSettings.TLSmode> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor 在接口中 com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static GatewayOuterClass.ServerTLSSettings.TLSmode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2023 Alibaba Group. All rights reserved.