Enum TlsParameters.CompliancePolicy

java.lang.Object
java.lang.Enum<TlsParameters.CompliancePolicy>
io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.TlsParameters.CompliancePolicy
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<TlsParameters.CompliancePolicy>, java.lang.constant.Constable
Enclosing class:
TlsParameters

public static enum TlsParameters.CompliancePolicy extends Enum<TlsParameters.CompliancePolicy> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum envoy.extensions.transport_sockets.tls.v3.TlsParameters.CompliancePolicy
  • Enum Constant Details

    • FIPS_202205

      public static final TlsParameters.CompliancePolicy FIPS_202205
       FIPS_202205 configures a TLS connection to use:
      
         * TLS 1.2 or 1.3
         * For TLS 1.2, only ECDHE_[RSA|ECDSA]_WITH_AES_*_GCM_SHA*.
         * For TLS 1.3, only AES-GCM
         * P-256 or P-384 for key agreement.
         * For server signatures, only ``PKCS#1/PSS`` with ``SHA256/384/512``, or ECDSA
           with P-256 or P-384.
      
       .. attention::
      
         Please refer to `BoringSSL policies <https://boringssl.googlesource.com/boringssl/+/refs/tags/0.20240913.0/include/openssl/ssl.h#5608>`_
         for details.
       
      FIPS_202205 = 0;
    • UNRECOGNIZED

      public static final TlsParameters.CompliancePolicy UNRECOGNIZED
  • Field Details

    • FIPS_202205_VALUE

      public static final int FIPS_202205_VALUE
       FIPS_202205 configures a TLS connection to use:
      
         * TLS 1.2 or 1.3
         * For TLS 1.2, only ECDHE_[RSA|ECDSA]_WITH_AES_*_GCM_SHA*.
         * For TLS 1.3, only AES-GCM
         * P-256 or P-384 for key agreement.
         * For server signatures, only ``PKCS#1/PSS`` with ``SHA256/384/512``, or ECDSA
           with P-256 or P-384.
      
       .. attention::
      
         Please refer to `BoringSSL policies <https://boringssl.googlesource.com/boringssl/+/refs/tags/0.20240913.0/include/openssl/ssl.h#5608>`_
         for details.
       
      FIPS_202205 = 0;
      See Also:
  • Method Details

    • values

      public static TlsParameters.CompliancePolicy[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static TlsParameters.CompliancePolicy valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static TlsParameters.CompliancePolicy valueOf(int value)
      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static TlsParameters.CompliancePolicy forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<TlsParameters.CompliancePolicy> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static TlsParameters.CompliancePolicy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null