类 GatewayOuterClass.ServerTLSSettings

    • 字段详细资料

      • serialVersionUID

        private static final long serialVersionUID
        另请参阅:
        常量字段值
      • HTTPS_REDIRECT_FIELD_NUMBER

        public static final int HTTPS_REDIRECT_FIELD_NUMBER
        另请参阅:
        常量字段值
      • httpsRedirect_

        private boolean httpsRedirect_
      • MODE_FIELD_NUMBER

        public static final int MODE_FIELD_NUMBER
        另请参阅:
        常量字段值
      • mode_

        private int mode_
      • SERVER_CERTIFICATE_FIELD_NUMBER

        public static final int SERVER_CERTIFICATE_FIELD_NUMBER
        另请参阅:
        常量字段值
      • serverCertificate_

        private volatile java.lang.Object serverCertificate_
      • PRIVATE_KEY_FIELD_NUMBER

        public static final int PRIVATE_KEY_FIELD_NUMBER
        另请参阅:
        常量字段值
      • privateKey_

        private volatile java.lang.Object privateKey_
      • CA_CERTIFICATES_FIELD_NUMBER

        public static final int CA_CERTIFICATES_FIELD_NUMBER
        另请参阅:
        常量字段值
      • caCertificates_

        private volatile java.lang.Object caCertificates_
      • CREDENTIAL_NAME_FIELD_NUMBER

        public static final int CREDENTIAL_NAME_FIELD_NUMBER
        另请参阅:
        常量字段值
      • credentialName_

        private volatile java.lang.Object credentialName_
      • SUBJECT_ALT_NAMES_FIELD_NUMBER

        public static final int SUBJECT_ALT_NAMES_FIELD_NUMBER
        另请参阅:
        常量字段值
      • subjectAltNames_

        private com.google.protobuf.LazyStringList subjectAltNames_
      • VERIFY_CERTIFICATE_SPKI_FIELD_NUMBER

        public static final int VERIFY_CERTIFICATE_SPKI_FIELD_NUMBER
        另请参阅:
        常量字段值
      • verifyCertificateSpki_

        private com.google.protobuf.LazyStringList verifyCertificateSpki_
      • VERIFY_CERTIFICATE_HASH_FIELD_NUMBER

        public static final int VERIFY_CERTIFICATE_HASH_FIELD_NUMBER
        另请参阅:
        常量字段值
      • verifyCertificateHash_

        private com.google.protobuf.LazyStringList verifyCertificateHash_
      • MIN_PROTOCOL_VERSION_FIELD_NUMBER

        public static final int MIN_PROTOCOL_VERSION_FIELD_NUMBER
        另请参阅:
        常量字段值
      • minProtocolVersion_

        private int minProtocolVersion_
      • MAX_PROTOCOL_VERSION_FIELD_NUMBER

        public static final int MAX_PROTOCOL_VERSION_FIELD_NUMBER
        另请参阅:
        常量字段值
      • maxProtocolVersion_

        private int maxProtocolVersion_
      • CIPHER_SUITES_FIELD_NUMBER

        public static final int CIPHER_SUITES_FIELD_NUMBER
        另请参阅:
        常量字段值
      • cipherSuites_

        private com.google.protobuf.LazyStringList cipherSuites_
      • memoizedIsInitialized

        private byte memoizedIsInitialized
    • 构造器详细资料

      • ServerTLSSettings

        private ServerTLSSettings​(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
      • ServerTLSSettings

        private ServerTLSSettings()
    • 方法详细资料

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        覆盖:
        newInstance 在类中 com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        指定者:
        getUnknownFields 在接口中 com.google.protobuf.MessageOrBuilder
        覆盖:
        getUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        指定者:
        internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3
      • getHttpsRedirect

        public boolean getHttpsRedirect()
         If set to true, the load balancer will send a 301 redirect for
         all http connections, asking the clients to use HTTPS.
         
        bool https_redirect = 1;
        指定者:
        getHttpsRedirect 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        The httpsRedirect.
      • getModeValue

        public int getModeValue()
         Optional: Indicates whether connections to this port should be
         secured using TLS. The value of this field determines how TLS is
         enforced.
         
        .istio.networking.v1alpha3.ServerTLSSettings.TLSmode mode = 2;
        指定者:
        getModeValue 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        The enum numeric value on the wire for mode.
      • getServerCertificate

        public java.lang.String getServerCertificate()
         REQUIRED if mode is `SIMPLE` or `MUTUAL`. The path to the file
         holding the server-side TLS certificate to use.
         
        string server_certificate = 3;
        指定者:
        getServerCertificate 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        The serverCertificate.
      • getServerCertificateBytes

        public com.google.protobuf.ByteString getServerCertificateBytes()
         REQUIRED if mode is `SIMPLE` or `MUTUAL`. The path to the file
         holding the server-side TLS certificate to use.
         
        string server_certificate = 3;
        指定者:
        getServerCertificateBytes 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        The bytes for serverCertificate.
      • getPrivateKey

        public java.lang.String getPrivateKey()
         REQUIRED if mode is `SIMPLE` or `MUTUAL`. The path to the file
         holding the server's private key.
         
        string private_key = 4;
        指定者:
        getPrivateKey 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        The privateKey.
      • getPrivateKeyBytes

        public com.google.protobuf.ByteString getPrivateKeyBytes()
         REQUIRED if mode is `SIMPLE` or `MUTUAL`. The path to the file
         holding the server's private key.
         
        string private_key = 4;
        指定者:
        getPrivateKeyBytes 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        The bytes for privateKey.
      • getCaCertificates

        public java.lang.String getCaCertificates()
         REQUIRED if mode is `MUTUAL`. The path to a file containing
         certificate authority certificates to use in verifying a presented
         client side certificate.
         
        string ca_certificates = 5;
        指定者:
        getCaCertificates 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        The caCertificates.
      • getCaCertificatesBytes

        public com.google.protobuf.ByteString getCaCertificatesBytes()
         REQUIRED if mode is `MUTUAL`. The path to a file containing
         certificate authority certificates to use in verifying a presented
         client side certificate.
         
        string ca_certificates = 5;
        指定者:
        getCaCertificatesBytes 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        The bytes for caCertificates.
      • getCredentialName

        public java.lang.String getCredentialName()
         For gateways running on Kubernetes, the name of the secret that
         holds the TLS certs including the CA certificates. Applicable
         only on Kubernetes. The secret (of type `generic`) should
         contain the following keys and values: `key:
         <privateKey>` and `cert: <serverCert>`. For mutual TLS, 
         `cacert: <CACertificate>` can be provided in the same secret or 
         a separate secret named `<secret>-cacert`.
         Secret of type tls for server certificates along with
         ca.crt key for CA certificates is also supported.
         Only one of server certificates and CA certificate
         or credentialName can be specified.
         
        string credential_name = 10;
        指定者:
        getCredentialName 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        The credentialName.
      • getCredentialNameBytes

        public com.google.protobuf.ByteString getCredentialNameBytes()
         For gateways running on Kubernetes, the name of the secret that
         holds the TLS certs including the CA certificates. Applicable
         only on Kubernetes. The secret (of type `generic`) should
         contain the following keys and values: `key:
         <privateKey>` and `cert: <serverCert>`. For mutual TLS, 
         `cacert: <CACertificate>` can be provided in the same secret or 
         a separate secret named `<secret>-cacert`.
         Secret of type tls for server certificates along with
         ca.crt key for CA certificates is also supported.
         Only one of server certificates and CA certificate
         or credentialName can be specified.
         
        string credential_name = 10;
        指定者:
        getCredentialNameBytes 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        The bytes for credentialName.
      • getSubjectAltNamesList

        public com.google.protobuf.ProtocolStringList getSubjectAltNamesList()
         A list of alternate names to verify the subject identity in the
         certificate presented by the client.
         
        repeated string subject_alt_names = 6;
        指定者:
        getSubjectAltNamesList 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        A list containing the subjectAltNames.
      • getSubjectAltNamesCount

        public int getSubjectAltNamesCount()
         A list of alternate names to verify the subject identity in the
         certificate presented by the client.
         
        repeated string subject_alt_names = 6;
        指定者:
        getSubjectAltNamesCount 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        The count of subjectAltNames.
      • getSubjectAltNames

        public java.lang.String getSubjectAltNames​(int index)
         A list of alternate names to verify the subject identity in the
         certificate presented by the client.
         
        repeated string subject_alt_names = 6;
        指定者:
        getSubjectAltNames 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        参数:
        index - The index of the element to return.
        返回:
        The subjectAltNames at the given index.
      • getSubjectAltNamesBytes

        public com.google.protobuf.ByteString getSubjectAltNamesBytes​(int index)
         A list of alternate names to verify the subject identity in the
         certificate presented by the client.
         
        repeated string subject_alt_names = 6;
        指定者:
        getSubjectAltNamesBytes 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        参数:
        index - The index of the value to return.
        返回:
        The bytes of the subjectAltNames at the given index.
      • getVerifyCertificateSpkiList

        public com.google.protobuf.ProtocolStringList getVerifyCertificateSpkiList()
         An optional list of base64-encoded SHA-256 hashes of the SKPIs of
         authorized client certificates.
         Note: When both verify_certificate_hash and verify_certificate_spki
         are specified, a hash matching either value will result in the
         certificate being accepted.
         
        repeated string verify_certificate_spki = 11;
        指定者:
        getVerifyCertificateSpkiList 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        A list containing the verifyCertificateSpki.
      • getVerifyCertificateSpkiCount

        public int getVerifyCertificateSpkiCount()
         An optional list of base64-encoded SHA-256 hashes of the SKPIs of
         authorized client certificates.
         Note: When both verify_certificate_hash and verify_certificate_spki
         are specified, a hash matching either value will result in the
         certificate being accepted.
         
        repeated string verify_certificate_spki = 11;
        指定者:
        getVerifyCertificateSpkiCount 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        The count of verifyCertificateSpki.
      • getVerifyCertificateSpki

        public java.lang.String getVerifyCertificateSpki​(int index)
         An optional list of base64-encoded SHA-256 hashes of the SKPIs of
         authorized client certificates.
         Note: When both verify_certificate_hash and verify_certificate_spki
         are specified, a hash matching either value will result in the
         certificate being accepted.
         
        repeated string verify_certificate_spki = 11;
        指定者:
        getVerifyCertificateSpki 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        参数:
        index - The index of the element to return.
        返回:
        The verifyCertificateSpki at the given index.
      • getVerifyCertificateSpkiBytes

        public com.google.protobuf.ByteString getVerifyCertificateSpkiBytes​(int index)
         An optional list of base64-encoded SHA-256 hashes of the SKPIs of
         authorized client certificates.
         Note: When both verify_certificate_hash and verify_certificate_spki
         are specified, a hash matching either value will result in the
         certificate being accepted.
         
        repeated string verify_certificate_spki = 11;
        指定者:
        getVerifyCertificateSpkiBytes 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        参数:
        index - The index of the value to return.
        返回:
        The bytes of the verifyCertificateSpki at the given index.
      • getVerifyCertificateHashList

        public com.google.protobuf.ProtocolStringList getVerifyCertificateHashList()
         An optional list of hex-encoded SHA-256 hashes of the
         authorized client certificates. Both simple and colon separated
         formats are acceptable.
         Note: When both verify_certificate_hash and verify_certificate_spki
         are specified, a hash matching either value will result in the
         certificate being accepted.
         
        repeated string verify_certificate_hash = 12;
        指定者:
        getVerifyCertificateHashList 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        A list containing the verifyCertificateHash.
      • getVerifyCertificateHashCount

        public int getVerifyCertificateHashCount()
         An optional list of hex-encoded SHA-256 hashes of the
         authorized client certificates. Both simple and colon separated
         formats are acceptable.
         Note: When both verify_certificate_hash and verify_certificate_spki
         are specified, a hash matching either value will result in the
         certificate being accepted.
         
        repeated string verify_certificate_hash = 12;
        指定者:
        getVerifyCertificateHashCount 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        The count of verifyCertificateHash.
      • getVerifyCertificateHash

        public java.lang.String getVerifyCertificateHash​(int index)
         An optional list of hex-encoded SHA-256 hashes of the
         authorized client certificates. Both simple and colon separated
         formats are acceptable.
         Note: When both verify_certificate_hash and verify_certificate_spki
         are specified, a hash matching either value will result in the
         certificate being accepted.
         
        repeated string verify_certificate_hash = 12;
        指定者:
        getVerifyCertificateHash 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        参数:
        index - The index of the element to return.
        返回:
        The verifyCertificateHash at the given index.
      • getVerifyCertificateHashBytes

        public com.google.protobuf.ByteString getVerifyCertificateHashBytes​(int index)
         An optional list of hex-encoded SHA-256 hashes of the
         authorized client certificates. Both simple and colon separated
         formats are acceptable.
         Note: When both verify_certificate_hash and verify_certificate_spki
         are specified, a hash matching either value will result in the
         certificate being accepted.
         
        repeated string verify_certificate_hash = 12;
        指定者:
        getVerifyCertificateHashBytes 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        参数:
        index - The index of the value to return.
        返回:
        The bytes of the verifyCertificateHash at the given index.
      • getMinProtocolVersionValue

        public int getMinProtocolVersionValue()
         Optional: Minimum TLS protocol version.
         
        .istio.networking.v1alpha3.ServerTLSSettings.TLSProtocol min_protocol_version = 7;
        指定者:
        getMinProtocolVersionValue 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        The enum numeric value on the wire for minProtocolVersion.
      • getMaxProtocolVersionValue

        public int getMaxProtocolVersionValue()
         Optional: Maximum TLS protocol version.
         
        .istio.networking.v1alpha3.ServerTLSSettings.TLSProtocol max_protocol_version = 8;
        指定者:
        getMaxProtocolVersionValue 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        The enum numeric value on the wire for maxProtocolVersion.
      • getCipherSuitesList

        public com.google.protobuf.ProtocolStringList getCipherSuitesList()
         Optional: If specified, only support the specified cipher list.
         Otherwise default to the default cipher list supported by Envoy.
         
        repeated string cipher_suites = 9;
        指定者:
        getCipherSuitesList 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        A list containing the cipherSuites.
      • getCipherSuitesCount

        public int getCipherSuitesCount()
         Optional: If specified, only support the specified cipher list.
         Otherwise default to the default cipher list supported by Envoy.
         
        repeated string cipher_suites = 9;
        指定者:
        getCipherSuitesCount 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        返回:
        The count of cipherSuites.
      • getCipherSuites

        public java.lang.String getCipherSuites​(int index)
         Optional: If specified, only support the specified cipher list.
         Otherwise default to the default cipher list supported by Envoy.
         
        repeated string cipher_suites = 9;
        指定者:
        getCipherSuites 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        参数:
        index - The index of the element to return.
        返回:
        The cipherSuites at the given index.
      • getCipherSuitesBytes

        public com.google.protobuf.ByteString getCipherSuitesBytes​(int index)
         Optional: If specified, only support the specified cipher list.
         Otherwise default to the default cipher list supported by Envoy.
         
        repeated string cipher_suites = 9;
        指定者:
        getCipherSuitesBytes 在接口中 GatewayOuterClass.ServerTLSSettingsOrBuilder
        参数:
        index - The index of the value to return.
        返回:
        The bytes of the cipherSuites at the given index.
      • isInitialized

        public final boolean isInitialized()
        指定者:
        isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilder
        覆盖:
        isInitialized 在类中 com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        指定者:
        writeTo 在接口中 com.google.protobuf.MessageLite
        覆盖:
        writeTo 在类中 com.google.protobuf.GeneratedMessageV3
        抛出:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        指定者:
        getSerializedSize 在接口中 com.google.protobuf.MessageLite
        覆盖:
        getSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        指定者:
        equals 在接口中 com.google.protobuf.Message
        覆盖:
        equals 在类中 com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        指定者:
        hashCode 在接口中 com.google.protobuf.Message
        覆盖:
        hashCode 在类中 com.google.protobuf.AbstractMessage
      • parseFrom

        public static GatewayOuterClass.ServerTLSSettings parseFrom​(java.nio.ByteBuffer data)
                                                             throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static GatewayOuterClass.ServerTLSSettings parseFrom​(java.nio.ByteBuffer data,
                                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                             throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static GatewayOuterClass.ServerTLSSettings parseFrom​(com.google.protobuf.ByteString data)
                                                             throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static GatewayOuterClass.ServerTLSSettings parseFrom​(com.google.protobuf.ByteString data,
                                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                             throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static GatewayOuterClass.ServerTLSSettings parseFrom​(byte[] data)
                                                             throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static GatewayOuterClass.ServerTLSSettings parseFrom​(byte[] data,
                                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                             throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static GatewayOuterClass.ServerTLSSettings parseFrom​(java.io.InputStream input,
                                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                             throws java.io.IOException
        抛出:
        java.io.IOException
      • parseDelimitedFrom

        public static GatewayOuterClass.ServerTLSSettings parseDelimitedFrom​(java.io.InputStream input)
                                                                      throws java.io.IOException
        抛出:
        java.io.IOException
      • parseDelimitedFrom

        public static GatewayOuterClass.ServerTLSSettings parseDelimitedFrom​(java.io.InputStream input,
                                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                      throws java.io.IOException
        抛出:
        java.io.IOException
      • parseFrom

        public static GatewayOuterClass.ServerTLSSettings parseFrom​(com.google.protobuf.CodedInputStream input)
                                                             throws java.io.IOException
        抛出:
        java.io.IOException
      • parseFrom

        public static GatewayOuterClass.ServerTLSSettings parseFrom​(com.google.protobuf.CodedInputStream input,
                                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                             throws java.io.IOException
        抛出:
        java.io.IOException
      • newBuilderForType

        public GatewayOuterClass.ServerTLSSettings.Builder newBuilderForType()
        指定者:
        newBuilderForType 在接口中 com.google.protobuf.Message
        指定者:
        newBuilderForType 在接口中 com.google.protobuf.MessageLite
      • newBuilderForType

        protected GatewayOuterClass.ServerTLSSettings.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        指定者:
        newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<GatewayOuterClass.ServerTLSSettings> getParserForType()
        指定者:
        getParserForType 在接口中 com.google.protobuf.Message
        指定者:
        getParserForType 在接口中 com.google.protobuf.MessageLite
        覆盖:
        getParserForType 在类中 com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public GatewayOuterClass.ServerTLSSettings getDefaultInstanceForType()
        指定者:
        getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuilder
        指定者:
        getDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilder