public static enum DownstreamTlsContext.OcspStaplePolicy extends Enum<DownstreamTlsContext.OcspStaplePolicy> implements com.google.protobuf.ProtocolMessageEnum
envoy.extensions.transport_sockets.tls.v3.DownstreamTlsContext.OcspStaplePolicy| Enum Constant and Description |
|---|
LENIENT_STAPLING
OCSP responses are optional.
|
MUST_STAPLE
OCSP responses are required.
|
STRICT_STAPLING
OCSP responses are optional.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
LENIENT_STAPLING_VALUE
OCSP responses are optional.
|
static int |
MUST_STAPLE_VALUE
OCSP responses are required.
|
static int |
STRICT_STAPLING_VALUE
OCSP responses are optional.
|
| Modifier and Type | Method and Description |
|---|---|
static DownstreamTlsContext.OcspStaplePolicy |
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<DownstreamTlsContext.OcspStaplePolicy> |
internalGetValueMap() |
static DownstreamTlsContext.OcspStaplePolicy |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static DownstreamTlsContext.OcspStaplePolicy |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static DownstreamTlsContext.OcspStaplePolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DownstreamTlsContext.OcspStaplePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DownstreamTlsContext.OcspStaplePolicy LENIENT_STAPLING
OCSP responses are optional. If an OCSP response is absent or expired, the associated certificate will be used for connections without an OCSP staple.
LENIENT_STAPLING = 0;public static final DownstreamTlsContext.OcspStaplePolicy STRICT_STAPLING
OCSP responses are optional. If an OCSP response is absent, the associated certificate will be used without an OCSP staple. If a response is provided but is expired, the associated certificate will not be used for subsequent connections. If no suitable certificate is found, the connection is rejected.
STRICT_STAPLING = 1;public static final DownstreamTlsContext.OcspStaplePolicy MUST_STAPLE
OCSP responses are required. Configuration will fail if a certificate is provided without an OCSP response. If a response expires, the associated certificate will not be used connections. If no suitable certificate is found, the connection is rejected.
MUST_STAPLE = 2;public static final DownstreamTlsContext.OcspStaplePolicy UNRECOGNIZED
public static final int LENIENT_STAPLING_VALUE
OCSP responses are optional. If an OCSP response is absent or expired, the associated certificate will be used for connections without an OCSP staple.
LENIENT_STAPLING = 0;public static final int STRICT_STAPLING_VALUE
OCSP responses are optional. If an OCSP response is absent, the associated certificate will be used without an OCSP staple. If a response is provided but is expired, the associated certificate will not be used for subsequent connections. If no suitable certificate is found, the connection is rejected.
STRICT_STAPLING = 1;public static final int MUST_STAPLE_VALUE
OCSP responses are required. Configuration will fail if a certificate is provided without an OCSP response. If a response expires, the associated certificate will not be used connections. If no suitable certificate is found, the connection is rejected.
MUST_STAPLE = 2;public static DownstreamTlsContext.OcspStaplePolicy[] values()
for (DownstreamTlsContext.OcspStaplePolicy c : DownstreamTlsContext.OcspStaplePolicy.values()) System.out.println(c);
public static DownstreamTlsContext.OcspStaplePolicy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static DownstreamTlsContext.OcspStaplePolicy valueOf(int value)
forNumber(int) instead.public static DownstreamTlsContext.OcspStaplePolicy forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<DownstreamTlsContext.OcspStaplePolicy> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static DownstreamTlsContext.OcspStaplePolicy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.