public static enum Server.TLSOptions.TLSmode extends java.lang.Enum<Server.TLSOptions.TLSmode> implements com.google.protobuf.ProtocolMessageEnum
TLS modes enforced by the proxyProtobuf enum
istio.networking.v1alpha3.Server.TLSOptions.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.
|
private static com.google.protobuf.Internal.EnumLiteMap<Server.TLSOptions.TLSmode> |
internalValueMap |
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.
|
private int |
value |
private static Server.TLSOptions.TLSmode[] |
VALUES |
| 限定符和类型 | 方法和说明 |
|---|---|
static Server.TLSOptions.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<Server.TLSOptions.TLSmode> |
internalGetValueMap() |
static Server.TLSOptions.TLSmode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Server.TLSOptions.TLSmode |
valueOf(int value)
已过时。
Use
forNumber(int) instead. |
static Server.TLSOptions.TLSmode |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static Server.TLSOptions.TLSmode[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final Server.TLSOptions.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 Server.TLSOptions.TLSmode SIMPLE
Secure connections with standard TLS semantics.
SIMPLE = 1;public static final Server.TLSOptions.TLSmode MUTUAL
Secure connections to the downstream using mutual TLS by presenting server certificates for authentication.
MUTUAL = 2;public static final Server.TLSOptions.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 Server.TLSOptions.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 Server.TLSOptions.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;private static final com.google.protobuf.Internal.EnumLiteMap<Server.TLSOptions.TLSmode> internalValueMap
private static final Server.TLSOptions.TLSmode[] VALUES
private final int value
public static Server.TLSOptions.TLSmode[] values()
for (Server.TLSOptions.TLSmode c : Server.TLSOptions.TLSmode.values()) System.out.println(c);
public static Server.TLSOptions.TLSmode valueOf(java.lang.String name)
name - 要返回的枚举常量的名称。java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException - 如果参数为空值public final int getNumber()
getNumber 在接口中 com.google.protobuf.Internal.EnumLitegetNumber 在接口中 com.google.protobuf.ProtocolMessageEnum@Deprecated public static Server.TLSOptions.TLSmode valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Server.TLSOptions.TLSmode forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Server.TLSOptions.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 Server.TLSOptions.TLSmode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2020 Alibaba Group. All rights reserved.