Documentation ¶
Index ¶
- Variables
- type CertificateValidationContext
- func (*CertificateValidationContext) Descriptor() ([]byte, []int)
- func (this *CertificateValidationContext) Equal(that interface{}) bool
- func (m *CertificateValidationContext) GetAllowExpiredCertificate() bool
- func (m *CertificateValidationContext) GetCrl() *core.DataSource
- func (m *CertificateValidationContext) GetRequireOcspStaple() *types.BoolValue
- func (m *CertificateValidationContext) GetRequireSignedCertificateTimestamp() *types.BoolValue
- func (m *CertificateValidationContext) GetTrustedCa() *core.DataSource
- func (m *CertificateValidationContext) GetVerifyCertificateHash() []string
- func (m *CertificateValidationContext) GetVerifyCertificateSpki() []string
- func (m *CertificateValidationContext) GetVerifySubjectAltName() []string
- func (m *CertificateValidationContext) Marshal() (dAtA []byte, err error)
- func (m *CertificateValidationContext) MarshalTo(dAtA []byte) (int, error)
- func (*CertificateValidationContext) ProtoMessage()
- func (m *CertificateValidationContext) Reset()
- func (m *CertificateValidationContext) Size() (n int)
- func (m *CertificateValidationContext) String() string
- func (m *CertificateValidationContext) Unmarshal(dAtA []byte) error
- func (m *CertificateValidationContext) Validate() error
- func (m *CertificateValidationContext) XXX_DiscardUnknown()
- func (m *CertificateValidationContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CertificateValidationContext) XXX_Merge(src proto.Message)
- func (m *CertificateValidationContext) XXX_Size() int
- func (m *CertificateValidationContext) XXX_Unmarshal(b []byte) error
- type CertificateValidationContextValidationError
- type CommonTlsContext
- func (*CommonTlsContext) Descriptor() ([]byte, []int)
- func (this *CommonTlsContext) Equal(that interface{}) bool
- func (m *CommonTlsContext) GetAlpnProtocols() []string
- func (m *CommonTlsContext) GetDeprecatedV1() *CommonTlsContext_DeprecatedV1deprecated
- func (m *CommonTlsContext) GetTlsCertificateSdsSecretConfigs() []*SdsSecretConfig
- func (m *CommonTlsContext) GetTlsCertificates() []*TlsCertificate
- func (m *CommonTlsContext) GetTlsParams() *TlsParameters
- func (m *CommonTlsContext) GetValidationContext() *CertificateValidationContext
- func (m *CommonTlsContext) GetValidationContextSdsSecretConfig() *SdsSecretConfig
- func (m *CommonTlsContext) GetValidationContextType() isCommonTlsContext_ValidationContextType
- func (m *CommonTlsContext) Marshal() (dAtA []byte, err error)
- func (m *CommonTlsContext) MarshalTo(dAtA []byte) (int, error)
- func (*CommonTlsContext) ProtoMessage()
- func (m *CommonTlsContext) Reset()
- func (m *CommonTlsContext) Size() (n int)
- func (m *CommonTlsContext) String() string
- func (m *CommonTlsContext) Unmarshal(dAtA []byte) error
- func (m *CommonTlsContext) Validate() error
- func (m *CommonTlsContext) XXX_DiscardUnknown()
- func (m *CommonTlsContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CommonTlsContext) XXX_Merge(src proto.Message)
- func (*CommonTlsContext) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *CommonTlsContext) XXX_Size() int
- func (m *CommonTlsContext) XXX_Unmarshal(b []byte) error
- type CommonTlsContextValidationError
- type CommonTlsContext_DeprecatedV1
- func (*CommonTlsContext_DeprecatedV1) Descriptor() ([]byte, []int)
- func (this *CommonTlsContext_DeprecatedV1) Equal(that interface{}) bool
- func (m *CommonTlsContext_DeprecatedV1) GetAltAlpnProtocols() string
- func (m *CommonTlsContext_DeprecatedV1) Marshal() (dAtA []byte, err error)
- func (m *CommonTlsContext_DeprecatedV1) MarshalTo(dAtA []byte) (int, error)
- func (*CommonTlsContext_DeprecatedV1) ProtoMessage()
- func (m *CommonTlsContext_DeprecatedV1) Reset()
- func (m *CommonTlsContext_DeprecatedV1) Size() (n int)
- func (m *CommonTlsContext_DeprecatedV1) String() string
- func (m *CommonTlsContext_DeprecatedV1) Unmarshal(dAtA []byte) error
- func (m *CommonTlsContext_DeprecatedV1) Validate() error
- func (m *CommonTlsContext_DeprecatedV1) XXX_DiscardUnknown()
- func (m *CommonTlsContext_DeprecatedV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CommonTlsContext_DeprecatedV1) XXX_Merge(src proto.Message)
- func (m *CommonTlsContext_DeprecatedV1) XXX_Size() int
- func (m *CommonTlsContext_DeprecatedV1) XXX_Unmarshal(b []byte) error
- type CommonTlsContext_DeprecatedV1ValidationError
- type CommonTlsContext_ValidationContext
- type CommonTlsContext_ValidationContextSdsSecretConfig
- type DownstreamTlsContext
- func (*DownstreamTlsContext) Descriptor() ([]byte, []int)
- func (this *DownstreamTlsContext) Equal(that interface{}) bool
- func (m *DownstreamTlsContext) GetCommonTlsContext() *CommonTlsContext
- func (m *DownstreamTlsContext) GetRequireClientCertificate() *types.BoolValue
- func (m *DownstreamTlsContext) GetRequireSni() *types.BoolValue
- func (m *DownstreamTlsContext) GetSessionTicketKeys() *TlsSessionTicketKeys
- func (m *DownstreamTlsContext) GetSessionTicketKeysSdsSecretConfig() *SdsSecretConfig
- func (m *DownstreamTlsContext) GetSessionTicketKeysType() isDownstreamTlsContext_SessionTicketKeysType
- func (m *DownstreamTlsContext) Marshal() (dAtA []byte, err error)
- func (m *DownstreamTlsContext) MarshalTo(dAtA []byte) (int, error)
- func (*DownstreamTlsContext) ProtoMessage()
- func (m *DownstreamTlsContext) Reset()
- func (m *DownstreamTlsContext) Size() (n int)
- func (m *DownstreamTlsContext) String() string
- func (m *DownstreamTlsContext) Unmarshal(dAtA []byte) error
- func (m *DownstreamTlsContext) Validate() error
- func (m *DownstreamTlsContext) XXX_DiscardUnknown()
- func (m *DownstreamTlsContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DownstreamTlsContext) XXX_Merge(src proto.Message)
- func (*DownstreamTlsContext) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *DownstreamTlsContext) XXX_Size() int
- func (m *DownstreamTlsContext) XXX_Unmarshal(b []byte) error
- type DownstreamTlsContextValidationError
- type DownstreamTlsContext_SessionTicketKeys
- type DownstreamTlsContext_SessionTicketKeysSdsSecretConfig
- type SdsSecretConfig
- func (*SdsSecretConfig) Descriptor() ([]byte, []int)
- func (this *SdsSecretConfig) Equal(that interface{}) bool
- func (m *SdsSecretConfig) GetName() string
- func (m *SdsSecretConfig) GetSdsConfig() *core.ConfigSource
- func (m *SdsSecretConfig) Marshal() (dAtA []byte, err error)
- func (m *SdsSecretConfig) MarshalTo(dAtA []byte) (int, error)
- func (*SdsSecretConfig) ProtoMessage()
- func (m *SdsSecretConfig) Reset()
- func (m *SdsSecretConfig) Size() (n int)
- func (m *SdsSecretConfig) String() string
- func (m *SdsSecretConfig) Unmarshal(dAtA []byte) error
- func (m *SdsSecretConfig) Validate() error
- func (m *SdsSecretConfig) XXX_DiscardUnknown()
- func (m *SdsSecretConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SdsSecretConfig) XXX_Merge(src proto.Message)
- func (m *SdsSecretConfig) XXX_Size() int
- func (m *SdsSecretConfig) XXX_Unmarshal(b []byte) error
- type SdsSecretConfigValidationError
- type Secret
- func (*Secret) Descriptor() ([]byte, []int)
- func (this *Secret) Equal(that interface{}) bool
- func (m *Secret) GetName() string
- func (m *Secret) GetSessionTicketKeys() *TlsSessionTicketKeys
- func (m *Secret) GetTlsCertificate() *TlsCertificate
- func (m *Secret) GetType() isSecret_Type
- func (m *Secret) GetValidationContext() *CertificateValidationContext
- func (m *Secret) Marshal() (dAtA []byte, err error)
- func (m *Secret) MarshalTo(dAtA []byte) (int, error)
- func (*Secret) ProtoMessage()
- func (m *Secret) Reset()
- func (m *Secret) Size() (n int)
- func (m *Secret) String() string
- func (m *Secret) Unmarshal(dAtA []byte) error
- func (m *Secret) Validate() error
- func (m *Secret) XXX_DiscardUnknown()
- func (m *Secret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Secret) XXX_Merge(src proto.Message)
- func (*Secret) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Secret) XXX_Size() int
- func (m *Secret) XXX_Unmarshal(b []byte) error
- type SecretValidationError
- type Secret_SessionTicketKeys
- type Secret_TlsCertificate
- type Secret_ValidationContext
- type TlsCertificate
- func (*TlsCertificate) Descriptor() ([]byte, []int)
- func (this *TlsCertificate) Equal(that interface{}) bool
- func (m *TlsCertificate) GetCertificateChain() *core.DataSource
- func (m *TlsCertificate) GetOcspStaple() *core.DataSource
- func (m *TlsCertificate) GetPassword() *core.DataSource
- func (m *TlsCertificate) GetPrivateKey() *core.DataSource
- func (m *TlsCertificate) GetSignedCertificateTimestamp() []*core.DataSource
- func (m *TlsCertificate) Marshal() (dAtA []byte, err error)
- func (m *TlsCertificate) MarshalTo(dAtA []byte) (int, error)
- func (*TlsCertificate) ProtoMessage()
- func (m *TlsCertificate) Reset()
- func (m *TlsCertificate) Size() (n int)
- func (m *TlsCertificate) String() string
- func (m *TlsCertificate) Unmarshal(dAtA []byte) error
- func (m *TlsCertificate) Validate() error
- func (m *TlsCertificate) XXX_DiscardUnknown()
- func (m *TlsCertificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TlsCertificate) XXX_Merge(src proto.Message)
- func (m *TlsCertificate) XXX_Size() int
- func (m *TlsCertificate) XXX_Unmarshal(b []byte) error
- type TlsCertificateValidationError
- type TlsParameters
- func (*TlsParameters) Descriptor() ([]byte, []int)
- func (this *TlsParameters) Equal(that interface{}) bool
- func (m *TlsParameters) GetCipherSuites() []string
- func (m *TlsParameters) GetEcdhCurves() []string
- func (m *TlsParameters) GetTlsMaximumProtocolVersion() TlsParameters_TlsProtocol
- func (m *TlsParameters) GetTlsMinimumProtocolVersion() TlsParameters_TlsProtocol
- func (m *TlsParameters) Marshal() (dAtA []byte, err error)
- func (m *TlsParameters) MarshalTo(dAtA []byte) (int, error)
- func (*TlsParameters) ProtoMessage()
- func (m *TlsParameters) Reset()
- func (m *TlsParameters) Size() (n int)
- func (m *TlsParameters) String() string
- func (m *TlsParameters) Unmarshal(dAtA []byte) error
- func (m *TlsParameters) Validate() error
- func (m *TlsParameters) XXX_DiscardUnknown()
- func (m *TlsParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TlsParameters) XXX_Merge(src proto.Message)
- func (m *TlsParameters) XXX_Size() int
- func (m *TlsParameters) XXX_Unmarshal(b []byte) error
- type TlsParametersValidationError
- type TlsParameters_TlsProtocol
- type TlsSessionTicketKeys
- func (*TlsSessionTicketKeys) Descriptor() ([]byte, []int)
- func (this *TlsSessionTicketKeys) Equal(that interface{}) bool
- func (m *TlsSessionTicketKeys) GetKeys() []*core.DataSource
- func (m *TlsSessionTicketKeys) Marshal() (dAtA []byte, err error)
- func (m *TlsSessionTicketKeys) MarshalTo(dAtA []byte) (int, error)
- func (*TlsSessionTicketKeys) ProtoMessage()
- func (m *TlsSessionTicketKeys) Reset()
- func (m *TlsSessionTicketKeys) Size() (n int)
- func (m *TlsSessionTicketKeys) String() string
- func (m *TlsSessionTicketKeys) Unmarshal(dAtA []byte) error
- func (m *TlsSessionTicketKeys) Validate() error
- func (m *TlsSessionTicketKeys) XXX_DiscardUnknown()
- func (m *TlsSessionTicketKeys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TlsSessionTicketKeys) XXX_Merge(src proto.Message)
- func (m *TlsSessionTicketKeys) XXX_Size() int
- func (m *TlsSessionTicketKeys) XXX_Unmarshal(b []byte) error
- type TlsSessionTicketKeysValidationError
- type UpstreamTlsContext
- func (*UpstreamTlsContext) Descriptor() ([]byte, []int)
- func (this *UpstreamTlsContext) Equal(that interface{}) bool
- func (m *UpstreamTlsContext) GetAllowRenegotiation() bool
- func (m *UpstreamTlsContext) GetCommonTlsContext() *CommonTlsContext
- func (m *UpstreamTlsContext) GetSni() string
- func (m *UpstreamTlsContext) Marshal() (dAtA []byte, err error)
- func (m *UpstreamTlsContext) MarshalTo(dAtA []byte) (int, error)
- func (*UpstreamTlsContext) ProtoMessage()
- func (m *UpstreamTlsContext) Reset()
- func (m *UpstreamTlsContext) Size() (n int)
- func (m *UpstreamTlsContext) String() string
- func (m *UpstreamTlsContext) Unmarshal(dAtA []byte) error
- func (m *UpstreamTlsContext) Validate() error
- func (m *UpstreamTlsContext) XXX_DiscardUnknown()
- func (m *UpstreamTlsContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UpstreamTlsContext) XXX_Merge(src proto.Message)
- func (m *UpstreamTlsContext) XXX_Size() int
- func (m *UpstreamTlsContext) XXX_Unmarshal(b []byte) error
- type UpstreamTlsContextValidationError
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthCert = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCert = fmt.Errorf("proto: integer overflow") )
var TlsParameters_TlsProtocol_name = map[int32]string{
0: "TLS_AUTO",
1: "TLSv1_0",
2: "TLSv1_1",
3: "TLSv1_2",
4: "TLSv1_3",
}
var TlsParameters_TlsProtocol_value = map[string]int32{
"TLS_AUTO": 0,
"TLSv1_0": 1,
"TLSv1_1": 2,
"TLSv1_2": 3,
"TLSv1_3": 4,
}
Functions ¶
This section is empty.
Types ¶
type CertificateValidationContext ¶
type CertificateValidationContext struct { // TLS certificate data containing certificate authority certificates to use in verifying // a presented peer certificate (e.g. server certificate for clusters or client certificate // for listeners). If not specified and a peer certificate is presented it will not be // verified. By default, a client certificate is optional, unless one of the additional // options (:ref:`require_client_certificate // <envoy_api_field_auth.DownstreamTlsContext.require_client_certificate>`, // :ref:`verify_certificate_spki // <envoy_api_field_auth.CertificateValidationContext.verify_certificate_spki>`, // :ref:`verify_certificate_hash // <envoy_api_field_auth.CertificateValidationContext.verify_certificate_hash>`, or // :ref:`verify_subject_alt_name // <envoy_api_field_auth.CertificateValidationContext.verify_subject_alt_name>`) is also // specified. // // See :ref:`the TLS overview <arch_overview_ssl_enabling_verification>` for a list of common // system CA locations. TrustedCa *core.DataSource `protobuf:"bytes,1,opt,name=trusted_ca,json=trustedCa" json:"trusted_ca,omitempty"` // An optional list of base64-encoded SHA-256 hashes. If specified, Envoy will verify that the // SHA-256 of the DER-encoded Subject Public Key Information (SPKI) of the presented certificate // matches one of the specified values. // // A base64-encoded SHA-256 of the Subject Public Key Information (SPKI) of the certificate // can be generated with the following command: // // .. code-block:: bash // // $ openssl x509 -in path/to/client.crt -noout -pubkey \ // | openssl pkey -pubin -outform DER \ // | openssl dgst -sha256 -binary \ // | openssl enc -base64 // NvqYIYSbgK2vCJpQhObf77vv+bQWtc5ek5RIOwPiC9A= // // This is the format used in HTTP Public Key Pinning. // // When both: // :ref:`verify_certificate_hash // <envoy_api_field_auth.CertificateValidationContext.verify_certificate_hash>` and // :ref:`verify_certificate_spki // <envoy_api_field_auth.CertificateValidationContext.verify_certificate_spki>` are specified, // a hash matching value from either of the lists will result in the certificate being accepted. // // .. attention:: // // This option is preferred over :ref:`verify_certificate_hash // <envoy_api_field_auth.CertificateValidationContext.verify_certificate_hash>`, // because SPKI is tied to a private key, so it doesn't change when the certificate // is renewed using the same private key. VerifyCertificateSpki []string `protobuf:"bytes,3,rep,name=verify_certificate_spki,json=verifyCertificateSpki" json:"verify_certificate_spki,omitempty"` // An optional list of hex-encoded SHA-256 hashes. If specified, Envoy will verify that // the SHA-256 of the DER-encoded presented certificate matches one of the specified values. // // A hex-encoded SHA-256 of the certificate can be generated with the following command: // // .. code-block:: bash // // $ openssl x509 -in path/to/client.crt -outform DER | openssl dgst -sha256 | cut -d" " -f2 // df6ff72fe9116521268f6f2dd4966f51df479883fe7037b39f75916ac3049d1a // // A long hex-encoded and colon-separated SHA-256 (a.k.a. "fingerprint") of the certificate // can be generated with the following command: // // .. code-block:: bash // // $ openssl x509 -in path/to/client.crt -noout -fingerprint -sha256 | cut -d"=" -f2 // DF:6F:F7:2F:E9:11:65:21:26:8F:6F:2D:D4:96:6F:51:DF:47:98:83:FE:70:37:B3:9F:75:91:6A:C3:04:9D:1A // // Both of those formats are acceptable. // // When both: // :ref:`verify_certificate_hash // <envoy_api_field_auth.CertificateValidationContext.verify_certificate_hash>` and // :ref:`verify_certificate_spki // <envoy_api_field_auth.CertificateValidationContext.verify_certificate_spki>` are specified, // a hash matching value from either of the lists will result in the certificate being accepted. VerifyCertificateHash []string `protobuf:"bytes,2,rep,name=verify_certificate_hash,json=verifyCertificateHash" json:"verify_certificate_hash,omitempty"` // An optional list of Subject Alternative Names. If specified, Envoy will verify that the // Subject Alternative Name of the presented certificate matches one of the specified values. // // .. attention:: // // Subject Alternative Names are easily spoofable and verifying only them is insecure, // therefore this option must be used together with :ref:`trusted_ca // <envoy_api_field_auth.CertificateValidationContext.trusted_ca>`. VerifySubjectAltName []string `protobuf:"bytes,4,rep,name=verify_subject_alt_name,json=verifySubjectAltName" json:"verify_subject_alt_name,omitempty"` // [#not-implemented-hide:] Must present a signed time-stamped OCSP response. RequireOcspStaple *types.BoolValue `protobuf:"bytes,5,opt,name=require_ocsp_staple,json=requireOcspStaple" json:"require_ocsp_staple,omitempty"` // [#not-implemented-hide:] Must present signed certificate time-stamp. RequireSignedCertificateTimestamp *types.BoolValue `` /* 157-byte string literal not displayed */ // An optional `certificate revocation list // <http://https://en.wikipedia.org/wiki/Certificate_revocation_list>`_ // (in PEM format). If specified, Envoy will verify that the presented peer // certificate has not been revoked by this CRL. If this DataSource contains // multiple CRLs, all of them will be used. Crl *core.DataSource `protobuf:"bytes,7,opt,name=crl" json:"crl,omitempty"` // If specified, Envoy will not reject expired certificates. AllowExpiredCertificate bool `` /* 133-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CertificateValidationContext) Descriptor ¶
func (*CertificateValidationContext) Descriptor() ([]byte, []int)
func (*CertificateValidationContext) Equal ¶ added in v0.5.0
func (this *CertificateValidationContext) Equal(that interface{}) bool
func (*CertificateValidationContext) GetAllowExpiredCertificate ¶
func (m *CertificateValidationContext) GetAllowExpiredCertificate() bool
func (*CertificateValidationContext) GetCrl ¶
func (m *CertificateValidationContext) GetCrl() *core.DataSource
func (*CertificateValidationContext) GetRequireOcspStaple ¶
func (m *CertificateValidationContext) GetRequireOcspStaple() *types.BoolValue
func (*CertificateValidationContext) GetRequireSignedCertificateTimestamp ¶
func (m *CertificateValidationContext) GetRequireSignedCertificateTimestamp() *types.BoolValue
func (*CertificateValidationContext) GetTrustedCa ¶
func (m *CertificateValidationContext) GetTrustedCa() *core.DataSource
func (*CertificateValidationContext) GetVerifyCertificateHash ¶
func (m *CertificateValidationContext) GetVerifyCertificateHash() []string
func (*CertificateValidationContext) GetVerifyCertificateSpki ¶
func (m *CertificateValidationContext) GetVerifyCertificateSpki() []string
func (*CertificateValidationContext) GetVerifySubjectAltName ¶
func (m *CertificateValidationContext) GetVerifySubjectAltName() []string
func (*CertificateValidationContext) Marshal ¶ added in v0.5.0
func (m *CertificateValidationContext) Marshal() (dAtA []byte, err error)
func (*CertificateValidationContext) MarshalTo ¶ added in v0.5.0
func (m *CertificateValidationContext) MarshalTo(dAtA []byte) (int, error)
func (*CertificateValidationContext) ProtoMessage ¶
func (*CertificateValidationContext) ProtoMessage()
func (*CertificateValidationContext) Reset ¶
func (m *CertificateValidationContext) Reset()
func (*CertificateValidationContext) Size ¶ added in v0.5.0
func (m *CertificateValidationContext) Size() (n int)
func (*CertificateValidationContext) String ¶
func (m *CertificateValidationContext) String() string
func (*CertificateValidationContext) Unmarshal ¶ added in v0.5.0
func (m *CertificateValidationContext) Unmarshal(dAtA []byte) error
func (*CertificateValidationContext) Validate ¶
func (m *CertificateValidationContext) Validate() error
Validate checks the field values on CertificateValidationContext with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*CertificateValidationContext) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *CertificateValidationContext) XXX_DiscardUnknown()
func (*CertificateValidationContext) XXX_Marshal ¶ added in v0.5.0
func (m *CertificateValidationContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CertificateValidationContext) XXX_Merge ¶ added in v0.5.0
func (dst *CertificateValidationContext) XXX_Merge(src proto.Message)
func (*CertificateValidationContext) XXX_Size ¶ added in v0.5.0
func (m *CertificateValidationContext) XXX_Size() int
func (*CertificateValidationContext) XXX_Unmarshal ¶ added in v0.5.0
func (m *CertificateValidationContext) XXX_Unmarshal(b []byte) error
type CertificateValidationContextValidationError ¶
type CertificateValidationContextValidationError struct { Field string Reason string Cause error Key bool }
CertificateValidationContextValidationError is the validation error returned by CertificateValidationContext.Validate if the designated constraints aren't met.
func (CertificateValidationContextValidationError) Error ¶
func (e CertificateValidationContextValidationError) Error() string
Error satisfies the builtin error interface
type CommonTlsContext ¶
type CommonTlsContext struct { // TLS protocol versions, cipher suites etc. TlsParams *TlsParameters `protobuf:"bytes,1,opt,name=tls_params,json=tlsParams" json:"tls_params,omitempty"` // Multiple TLS certificates can be associated with the same context. // E.g. to allow both RSA and ECDSA certificates, two TLS certificates can be configured. // // .. attention:: // // Although this is a list, currently only a single certificate is supported. This will be // relaxed in the future. TlsCertificates []*TlsCertificate `protobuf:"bytes,2,rep,name=tls_certificates,json=tlsCertificates" json:"tls_certificates,omitempty"` // Configs for fetching TLS certificates via SDS API. TlsCertificateSdsSecretConfigs []*SdsSecretConfig `` /* 150-byte string literal not displayed */ // Types that are valid to be assigned to ValidationContextType: // *CommonTlsContext_ValidationContext // *CommonTlsContext_ValidationContextSdsSecretConfig ValidationContextType isCommonTlsContext_ValidationContextType `protobuf_oneof:"validation_context_type"` // Supplies the list of ALPN protocols that the listener should expose. In // practice this is likely to be set to one of two values (see the // :ref:`codec_type // <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.codec_type>` // parameter in the HTTP connection manager for more information): // // * "h2,http/1.1" If the listener is going to support both HTTP/2 and HTTP/1.1. // * "http/1.1" If the listener is only going to support HTTP/1.1. // // There is no default for this parameter. If empty, Envoy will not expose ALPN. AlpnProtocols []string `protobuf:"bytes,4,rep,name=alpn_protocols,json=alpnProtocols" json:"alpn_protocols,omitempty"` // [#not-implemented-hide:] DeprecatedV1 *CommonTlsContext_DeprecatedV1 `protobuf:"bytes,5,opt,name=deprecated_v1,json=deprecatedV1" json:"deprecated_v1,omitempty"` // Deprecated: Do not use. XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
TLS context shared by both client and server TLS contexts.
func (*CommonTlsContext) Descriptor ¶
func (*CommonTlsContext) Descriptor() ([]byte, []int)
func (*CommonTlsContext) Equal ¶ added in v0.5.0
func (this *CommonTlsContext) Equal(that interface{}) bool
func (*CommonTlsContext) GetAlpnProtocols ¶
func (m *CommonTlsContext) GetAlpnProtocols() []string
func (*CommonTlsContext) GetDeprecatedV1
deprecated
added in
v0.5.0
func (m *CommonTlsContext) GetDeprecatedV1() *CommonTlsContext_DeprecatedV1
Deprecated: Do not use.
func (*CommonTlsContext) GetTlsCertificateSdsSecretConfigs ¶
func (m *CommonTlsContext) GetTlsCertificateSdsSecretConfigs() []*SdsSecretConfig
func (*CommonTlsContext) GetTlsCertificates ¶
func (m *CommonTlsContext) GetTlsCertificates() []*TlsCertificate
func (*CommonTlsContext) GetTlsParams ¶
func (m *CommonTlsContext) GetTlsParams() *TlsParameters
func (*CommonTlsContext) GetValidationContext ¶
func (m *CommonTlsContext) GetValidationContext() *CertificateValidationContext
func (*CommonTlsContext) GetValidationContextSdsSecretConfig ¶
func (m *CommonTlsContext) GetValidationContextSdsSecretConfig() *SdsSecretConfig
func (*CommonTlsContext) GetValidationContextType ¶
func (m *CommonTlsContext) GetValidationContextType() isCommonTlsContext_ValidationContextType
func (*CommonTlsContext) Marshal ¶ added in v0.5.0
func (m *CommonTlsContext) Marshal() (dAtA []byte, err error)
func (*CommonTlsContext) MarshalTo ¶ added in v0.5.0
func (m *CommonTlsContext) MarshalTo(dAtA []byte) (int, error)
func (*CommonTlsContext) ProtoMessage ¶
func (*CommonTlsContext) ProtoMessage()
func (*CommonTlsContext) Reset ¶
func (m *CommonTlsContext) Reset()
func (*CommonTlsContext) Size ¶ added in v0.5.0
func (m *CommonTlsContext) Size() (n int)
func (*CommonTlsContext) String ¶
func (m *CommonTlsContext) String() string
func (*CommonTlsContext) Unmarshal ¶ added in v0.5.0
func (m *CommonTlsContext) Unmarshal(dAtA []byte) error
func (*CommonTlsContext) Validate ¶
func (m *CommonTlsContext) Validate() error
Validate checks the field values on CommonTlsContext with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*CommonTlsContext) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *CommonTlsContext) XXX_DiscardUnknown()
func (*CommonTlsContext) XXX_Marshal ¶ added in v0.5.0
func (m *CommonTlsContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommonTlsContext) XXX_Merge ¶ added in v0.5.0
func (dst *CommonTlsContext) XXX_Merge(src proto.Message)
func (*CommonTlsContext) XXX_OneofFuncs ¶ added in v0.5.0
func (*CommonTlsContext) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*CommonTlsContext) XXX_Size ¶ added in v0.5.0
func (m *CommonTlsContext) XXX_Size() int
func (*CommonTlsContext) XXX_Unmarshal ¶ added in v0.5.0
func (m *CommonTlsContext) XXX_Unmarshal(b []byte) error
type CommonTlsContextValidationError ¶
CommonTlsContextValidationError is the validation error returned by CommonTlsContext.Validate if the designated constraints aren't met.
func (CommonTlsContextValidationError) Error ¶
func (e CommonTlsContextValidationError) Error() string
Error satisfies the builtin error interface
type CommonTlsContext_DeprecatedV1 ¶ added in v0.5.0
type CommonTlsContext_DeprecatedV1 struct { AltAlpnProtocols string `protobuf:"bytes,1,opt,name=alt_alpn_protocols,json=altAlpnProtocols,proto3" json:"alt_alpn_protocols,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
These fields are deprecated and only are used during the interim v1 -> v2 transition period for internal purposes. They should not be used outside of the Envoy binary. [#not-implemented-hide:]
func (*CommonTlsContext_DeprecatedV1) Descriptor ¶ added in v0.5.0
func (*CommonTlsContext_DeprecatedV1) Descriptor() ([]byte, []int)
func (*CommonTlsContext_DeprecatedV1) Equal ¶ added in v0.5.0
func (this *CommonTlsContext_DeprecatedV1) Equal(that interface{}) bool
func (*CommonTlsContext_DeprecatedV1) GetAltAlpnProtocols ¶ added in v0.5.0
func (m *CommonTlsContext_DeprecatedV1) GetAltAlpnProtocols() string
func (*CommonTlsContext_DeprecatedV1) Marshal ¶ added in v0.5.0
func (m *CommonTlsContext_DeprecatedV1) Marshal() (dAtA []byte, err error)
func (*CommonTlsContext_DeprecatedV1) MarshalTo ¶ added in v0.5.0
func (m *CommonTlsContext_DeprecatedV1) MarshalTo(dAtA []byte) (int, error)
func (*CommonTlsContext_DeprecatedV1) ProtoMessage ¶ added in v0.5.0
func (*CommonTlsContext_DeprecatedV1) ProtoMessage()
func (*CommonTlsContext_DeprecatedV1) Reset ¶ added in v0.5.0
func (m *CommonTlsContext_DeprecatedV1) Reset()
func (*CommonTlsContext_DeprecatedV1) Size ¶ added in v0.5.0
func (m *CommonTlsContext_DeprecatedV1) Size() (n int)
func (*CommonTlsContext_DeprecatedV1) String ¶ added in v0.5.0
func (m *CommonTlsContext_DeprecatedV1) String() string
func (*CommonTlsContext_DeprecatedV1) Unmarshal ¶ added in v0.5.0
func (m *CommonTlsContext_DeprecatedV1) Unmarshal(dAtA []byte) error
func (*CommonTlsContext_DeprecatedV1) Validate ¶ added in v0.5.0
func (m *CommonTlsContext_DeprecatedV1) Validate() error
Validate checks the field values on CommonTlsContext_DeprecatedV1 with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*CommonTlsContext_DeprecatedV1) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *CommonTlsContext_DeprecatedV1) XXX_DiscardUnknown()
func (*CommonTlsContext_DeprecatedV1) XXX_Marshal ¶ added in v0.5.0
func (m *CommonTlsContext_DeprecatedV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommonTlsContext_DeprecatedV1) XXX_Merge ¶ added in v0.5.0
func (dst *CommonTlsContext_DeprecatedV1) XXX_Merge(src proto.Message)
func (*CommonTlsContext_DeprecatedV1) XXX_Size ¶ added in v0.5.0
func (m *CommonTlsContext_DeprecatedV1) XXX_Size() int
func (*CommonTlsContext_DeprecatedV1) XXX_Unmarshal ¶ added in v0.5.0
func (m *CommonTlsContext_DeprecatedV1) XXX_Unmarshal(b []byte) error
type CommonTlsContext_DeprecatedV1ValidationError ¶ added in v0.5.0
type CommonTlsContext_DeprecatedV1ValidationError struct { Field string Reason string Cause error Key bool }
CommonTlsContext_DeprecatedV1ValidationError is the validation error returned by CommonTlsContext_DeprecatedV1.Validate if the designated constraints aren't met.
func (CommonTlsContext_DeprecatedV1ValidationError) Error ¶ added in v0.5.0
func (e CommonTlsContext_DeprecatedV1ValidationError) Error() string
Error satisfies the builtin error interface
type CommonTlsContext_ValidationContext ¶
type CommonTlsContext_ValidationContext struct {
ValidationContext *CertificateValidationContext `protobuf:"bytes,3,opt,name=validation_context,json=validationContext,oneof"`
}
func (*CommonTlsContext_ValidationContext) Equal ¶ added in v0.5.0
func (this *CommonTlsContext_ValidationContext) Equal(that interface{}) bool
func (*CommonTlsContext_ValidationContext) MarshalTo ¶ added in v0.5.0
func (m *CommonTlsContext_ValidationContext) MarshalTo(dAtA []byte) (int, error)
func (*CommonTlsContext_ValidationContext) Size ¶ added in v0.5.0
func (m *CommonTlsContext_ValidationContext) Size() (n int)
type CommonTlsContext_ValidationContextSdsSecretConfig ¶
type CommonTlsContext_ValidationContextSdsSecretConfig struct {
ValidationContextSdsSecretConfig *SdsSecretConfig `protobuf:"bytes,7,opt,name=validation_context_sds_secret_config,json=validationContextSdsSecretConfig,oneof"`
}
func (*CommonTlsContext_ValidationContextSdsSecretConfig) Equal ¶ added in v0.5.0
func (this *CommonTlsContext_ValidationContextSdsSecretConfig) Equal(that interface{}) bool
func (*CommonTlsContext_ValidationContextSdsSecretConfig) MarshalTo ¶ added in v0.5.0
func (m *CommonTlsContext_ValidationContextSdsSecretConfig) MarshalTo(dAtA []byte) (int, error)
func (*CommonTlsContext_ValidationContextSdsSecretConfig) Size ¶ added in v0.5.0
func (m *CommonTlsContext_ValidationContextSdsSecretConfig) Size() (n int)
type DownstreamTlsContext ¶
type DownstreamTlsContext struct { // Common TLS context settings. CommonTlsContext *CommonTlsContext `protobuf:"bytes,1,opt,name=common_tls_context,json=commonTlsContext" json:"common_tls_context,omitempty"` // If specified, Envoy will reject connections without a valid client // certificate. RequireClientCertificate *types.BoolValue `` /* 128-byte string literal not displayed */ // If specified, Envoy will reject connections without a valid and matching SNI. // [#not-implemented-hide:] RequireSni *types.BoolValue `protobuf:"bytes,3,opt,name=require_sni,json=requireSni" json:"require_sni,omitempty"` // Types that are valid to be assigned to SessionTicketKeysType: // *DownstreamTlsContext_SessionTicketKeys // *DownstreamTlsContext_SessionTicketKeysSdsSecretConfig SessionTicketKeysType isDownstreamTlsContext_SessionTicketKeysType `protobuf_oneof:"session_ticket_keys_type"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DownstreamTlsContext) Descriptor ¶
func (*DownstreamTlsContext) Descriptor() ([]byte, []int)
func (*DownstreamTlsContext) Equal ¶ added in v0.5.0
func (this *DownstreamTlsContext) Equal(that interface{}) bool
func (*DownstreamTlsContext) GetCommonTlsContext ¶
func (m *DownstreamTlsContext) GetCommonTlsContext() *CommonTlsContext
func (*DownstreamTlsContext) GetRequireClientCertificate ¶
func (m *DownstreamTlsContext) GetRequireClientCertificate() *types.BoolValue
func (*DownstreamTlsContext) GetRequireSni ¶
func (m *DownstreamTlsContext) GetRequireSni() *types.BoolValue
func (*DownstreamTlsContext) GetSessionTicketKeys ¶
func (m *DownstreamTlsContext) GetSessionTicketKeys() *TlsSessionTicketKeys
func (*DownstreamTlsContext) GetSessionTicketKeysSdsSecretConfig ¶
func (m *DownstreamTlsContext) GetSessionTicketKeysSdsSecretConfig() *SdsSecretConfig
func (*DownstreamTlsContext) GetSessionTicketKeysType ¶
func (m *DownstreamTlsContext) GetSessionTicketKeysType() isDownstreamTlsContext_SessionTicketKeysType
func (*DownstreamTlsContext) Marshal ¶ added in v0.5.0
func (m *DownstreamTlsContext) Marshal() (dAtA []byte, err error)
func (*DownstreamTlsContext) MarshalTo ¶ added in v0.5.0
func (m *DownstreamTlsContext) MarshalTo(dAtA []byte) (int, error)
func (*DownstreamTlsContext) ProtoMessage ¶
func (*DownstreamTlsContext) ProtoMessage()
func (*DownstreamTlsContext) Reset ¶
func (m *DownstreamTlsContext) Reset()
func (*DownstreamTlsContext) Size ¶ added in v0.5.0
func (m *DownstreamTlsContext) Size() (n int)
func (*DownstreamTlsContext) String ¶
func (m *DownstreamTlsContext) String() string
func (*DownstreamTlsContext) Unmarshal ¶ added in v0.5.0
func (m *DownstreamTlsContext) Unmarshal(dAtA []byte) error
func (*DownstreamTlsContext) Validate ¶
func (m *DownstreamTlsContext) Validate() error
Validate checks the field values on DownstreamTlsContext with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*DownstreamTlsContext) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *DownstreamTlsContext) XXX_DiscardUnknown()
func (*DownstreamTlsContext) XXX_Marshal ¶ added in v0.5.0
func (m *DownstreamTlsContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DownstreamTlsContext) XXX_Merge ¶ added in v0.5.0
func (dst *DownstreamTlsContext) XXX_Merge(src proto.Message)
func (*DownstreamTlsContext) XXX_OneofFuncs ¶ added in v0.5.0
func (*DownstreamTlsContext) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*DownstreamTlsContext) XXX_Size ¶ added in v0.5.0
func (m *DownstreamTlsContext) XXX_Size() int
func (*DownstreamTlsContext) XXX_Unmarshal ¶ added in v0.5.0
func (m *DownstreamTlsContext) XXX_Unmarshal(b []byte) error
type DownstreamTlsContextValidationError ¶
DownstreamTlsContextValidationError is the validation error returned by DownstreamTlsContext.Validate if the designated constraints aren't met.
func (DownstreamTlsContextValidationError) Error ¶
func (e DownstreamTlsContextValidationError) Error() string
Error satisfies the builtin error interface
type DownstreamTlsContext_SessionTicketKeys ¶
type DownstreamTlsContext_SessionTicketKeys struct {
SessionTicketKeys *TlsSessionTicketKeys `protobuf:"bytes,4,opt,name=session_ticket_keys,json=sessionTicketKeys,oneof"`
}
func (*DownstreamTlsContext_SessionTicketKeys) Equal ¶ added in v0.5.0
func (this *DownstreamTlsContext_SessionTicketKeys) Equal(that interface{}) bool
func (*DownstreamTlsContext_SessionTicketKeys) MarshalTo ¶ added in v0.5.0
func (m *DownstreamTlsContext_SessionTicketKeys) MarshalTo(dAtA []byte) (int, error)
func (*DownstreamTlsContext_SessionTicketKeys) Size ¶ added in v0.5.0
func (m *DownstreamTlsContext_SessionTicketKeys) Size() (n int)
type DownstreamTlsContext_SessionTicketKeysSdsSecretConfig ¶
type DownstreamTlsContext_SessionTicketKeysSdsSecretConfig struct {
SessionTicketKeysSdsSecretConfig *SdsSecretConfig `protobuf:"bytes,5,opt,name=session_ticket_keys_sds_secret_config,json=sessionTicketKeysSdsSecretConfig,oneof"`
}
func (*DownstreamTlsContext_SessionTicketKeysSdsSecretConfig) Equal ¶ added in v0.5.0
func (this *DownstreamTlsContext_SessionTicketKeysSdsSecretConfig) Equal(that interface{}) bool
func (*DownstreamTlsContext_SessionTicketKeysSdsSecretConfig) MarshalTo ¶ added in v0.5.0
func (m *DownstreamTlsContext_SessionTicketKeysSdsSecretConfig) MarshalTo(dAtA []byte) (int, error)
func (*DownstreamTlsContext_SessionTicketKeysSdsSecretConfig) Size ¶ added in v0.5.0
func (m *DownstreamTlsContext_SessionTicketKeysSdsSecretConfig) Size() (n int)
type SdsSecretConfig ¶
type SdsSecretConfig struct { // Name (FQDN, UUID, SPKI, SHA256, etc.) by which the secret can be uniquely referred to. // When both name and config are specified, then secret can be fetched and/or reloaded via SDS. // When only name is specified, then secret will be loaded from static resources [V2-API-DIFF]. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` SdsConfig *core.ConfigSource `protobuf:"bytes,2,opt,name=sds_config,json=sdsConfig" json:"sds_config,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
[#proto-status: experimental]
func (*SdsSecretConfig) Descriptor ¶
func (*SdsSecretConfig) Descriptor() ([]byte, []int)
func (*SdsSecretConfig) Equal ¶ added in v0.5.0
func (this *SdsSecretConfig) Equal(that interface{}) bool
func (*SdsSecretConfig) GetName ¶
func (m *SdsSecretConfig) GetName() string
func (*SdsSecretConfig) GetSdsConfig ¶
func (m *SdsSecretConfig) GetSdsConfig() *core.ConfigSource
func (*SdsSecretConfig) Marshal ¶ added in v0.5.0
func (m *SdsSecretConfig) Marshal() (dAtA []byte, err error)
func (*SdsSecretConfig) MarshalTo ¶ added in v0.5.0
func (m *SdsSecretConfig) MarshalTo(dAtA []byte) (int, error)
func (*SdsSecretConfig) ProtoMessage ¶
func (*SdsSecretConfig) ProtoMessage()
func (*SdsSecretConfig) Reset ¶
func (m *SdsSecretConfig) Reset()
func (*SdsSecretConfig) Size ¶ added in v0.5.0
func (m *SdsSecretConfig) Size() (n int)
func (*SdsSecretConfig) String ¶
func (m *SdsSecretConfig) String() string
func (*SdsSecretConfig) Unmarshal ¶ added in v0.5.0
func (m *SdsSecretConfig) Unmarshal(dAtA []byte) error
func (*SdsSecretConfig) Validate ¶
func (m *SdsSecretConfig) Validate() error
Validate checks the field values on SdsSecretConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*SdsSecretConfig) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *SdsSecretConfig) XXX_DiscardUnknown()
func (*SdsSecretConfig) XXX_Marshal ¶ added in v0.5.0
func (m *SdsSecretConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SdsSecretConfig) XXX_Merge ¶ added in v0.5.0
func (dst *SdsSecretConfig) XXX_Merge(src proto.Message)
func (*SdsSecretConfig) XXX_Size ¶ added in v0.5.0
func (m *SdsSecretConfig) XXX_Size() int
func (*SdsSecretConfig) XXX_Unmarshal ¶ added in v0.5.0
func (m *SdsSecretConfig) XXX_Unmarshal(b []byte) error
type SdsSecretConfigValidationError ¶
SdsSecretConfigValidationError is the validation error returned by SdsSecretConfig.Validate if the designated constraints aren't met.
func (SdsSecretConfigValidationError) Error ¶
func (e SdsSecretConfigValidationError) Error() string
Error satisfies the builtin error interface
type Secret ¶
type Secret struct { // Name (FQDN, UUID, SPKI, SHA256, etc.) by which the secret can be uniquely referred to. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Types that are valid to be assigned to Type: // *Secret_TlsCertificate // *Secret_SessionTicketKeys // *Secret_ValidationContext Type isSecret_Type `protobuf_oneof:"type"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
[#proto-status: experimental]
func (*Secret) Descriptor ¶
func (*Secret) GetSessionTicketKeys ¶
func (m *Secret) GetSessionTicketKeys() *TlsSessionTicketKeys
func (*Secret) GetTlsCertificate ¶
func (m *Secret) GetTlsCertificate() *TlsCertificate
func (*Secret) GetValidationContext ¶
func (m *Secret) GetValidationContext() *CertificateValidationContext
func (*Secret) ProtoMessage ¶
func (*Secret) ProtoMessage()
func (*Secret) Validate ¶
Validate checks the field values on Secret with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Secret) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *Secret) XXX_DiscardUnknown()
func (*Secret) XXX_Marshal ¶ added in v0.5.0
func (*Secret) XXX_OneofFuncs ¶ added in v0.5.0
func (*Secret) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Secret) XXX_Unmarshal ¶ added in v0.5.0
type SecretValidationError ¶
SecretValidationError is the validation error returned by Secret.Validate if the designated constraints aren't met.
func (SecretValidationError) Error ¶
func (e SecretValidationError) Error() string
Error satisfies the builtin error interface
type Secret_SessionTicketKeys ¶
type Secret_SessionTicketKeys struct {
SessionTicketKeys *TlsSessionTicketKeys `protobuf:"bytes,3,opt,name=session_ticket_keys,json=sessionTicketKeys,oneof"`
}
func (*Secret_SessionTicketKeys) Equal ¶ added in v0.5.0
func (this *Secret_SessionTicketKeys) Equal(that interface{}) bool
func (*Secret_SessionTicketKeys) MarshalTo ¶ added in v0.5.0
func (m *Secret_SessionTicketKeys) MarshalTo(dAtA []byte) (int, error)
func (*Secret_SessionTicketKeys) Size ¶ added in v0.5.0
func (m *Secret_SessionTicketKeys) Size() (n int)
type Secret_TlsCertificate ¶
type Secret_TlsCertificate struct {
TlsCertificate *TlsCertificate `protobuf:"bytes,2,opt,name=tls_certificate,json=tlsCertificate,oneof"`
}
func (*Secret_TlsCertificate) Equal ¶ added in v0.5.0
func (this *Secret_TlsCertificate) Equal(that interface{}) bool
func (*Secret_TlsCertificate) MarshalTo ¶ added in v0.5.0
func (m *Secret_TlsCertificate) MarshalTo(dAtA []byte) (int, error)
func (*Secret_TlsCertificate) Size ¶ added in v0.5.0
func (m *Secret_TlsCertificate) Size() (n int)
type Secret_ValidationContext ¶
type Secret_ValidationContext struct {
ValidationContext *CertificateValidationContext `protobuf:"bytes,4,opt,name=validation_context,json=validationContext,oneof"`
}
func (*Secret_ValidationContext) Equal ¶ added in v0.5.0
func (this *Secret_ValidationContext) Equal(that interface{}) bool
func (*Secret_ValidationContext) MarshalTo ¶ added in v0.5.0
func (m *Secret_ValidationContext) MarshalTo(dAtA []byte) (int, error)
func (*Secret_ValidationContext) Size ¶ added in v0.5.0
func (m *Secret_ValidationContext) Size() (n int)
type TlsCertificate ¶
type TlsCertificate struct { // The TLS certificate chain. CertificateChain *core.DataSource `protobuf:"bytes,1,opt,name=certificate_chain,json=certificateChain" json:"certificate_chain,omitempty"` // The TLS private key. PrivateKey *core.DataSource `protobuf:"bytes,2,opt,name=private_key,json=privateKey" json:"private_key,omitempty"` // [#not-implemented-hide:] Password *core.DataSource `protobuf:"bytes,3,opt,name=password" json:"password,omitempty"` // [#not-implemented-hide:] OcspStaple *core.DataSource `protobuf:"bytes,4,opt,name=ocsp_staple,json=ocspStaple" json:"ocsp_staple,omitempty"` // [#not-implemented-hide:] SignedCertificateTimestamp []*core.DataSource `` /* 134-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TlsCertificate) Descriptor ¶
func (*TlsCertificate) Descriptor() ([]byte, []int)
func (*TlsCertificate) Equal ¶ added in v0.5.0
func (this *TlsCertificate) Equal(that interface{}) bool
func (*TlsCertificate) GetCertificateChain ¶
func (m *TlsCertificate) GetCertificateChain() *core.DataSource
func (*TlsCertificate) GetOcspStaple ¶
func (m *TlsCertificate) GetOcspStaple() *core.DataSource
func (*TlsCertificate) GetPassword ¶
func (m *TlsCertificate) GetPassword() *core.DataSource
func (*TlsCertificate) GetPrivateKey ¶
func (m *TlsCertificate) GetPrivateKey() *core.DataSource
func (*TlsCertificate) GetSignedCertificateTimestamp ¶
func (m *TlsCertificate) GetSignedCertificateTimestamp() []*core.DataSource
func (*TlsCertificate) Marshal ¶ added in v0.5.0
func (m *TlsCertificate) Marshal() (dAtA []byte, err error)
func (*TlsCertificate) MarshalTo ¶ added in v0.5.0
func (m *TlsCertificate) MarshalTo(dAtA []byte) (int, error)
func (*TlsCertificate) ProtoMessage ¶
func (*TlsCertificate) ProtoMessage()
func (*TlsCertificate) Reset ¶
func (m *TlsCertificate) Reset()
func (*TlsCertificate) Size ¶ added in v0.5.0
func (m *TlsCertificate) Size() (n int)
func (*TlsCertificate) String ¶
func (m *TlsCertificate) String() string
func (*TlsCertificate) Unmarshal ¶ added in v0.5.0
func (m *TlsCertificate) Unmarshal(dAtA []byte) error
func (*TlsCertificate) Validate ¶
func (m *TlsCertificate) Validate() error
Validate checks the field values on TlsCertificate with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*TlsCertificate) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *TlsCertificate) XXX_DiscardUnknown()
func (*TlsCertificate) XXX_Marshal ¶ added in v0.5.0
func (m *TlsCertificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TlsCertificate) XXX_Merge ¶ added in v0.5.0
func (dst *TlsCertificate) XXX_Merge(src proto.Message)
func (*TlsCertificate) XXX_Size ¶ added in v0.5.0
func (m *TlsCertificate) XXX_Size() int
func (*TlsCertificate) XXX_Unmarshal ¶ added in v0.5.0
func (m *TlsCertificate) XXX_Unmarshal(b []byte) error
type TlsCertificateValidationError ¶
TlsCertificateValidationError is the validation error returned by TlsCertificate.Validate if the designated constraints aren't met.
func (TlsCertificateValidationError) Error ¶
func (e TlsCertificateValidationError) Error() string
Error satisfies the builtin error interface
type TlsParameters ¶
type TlsParameters struct { // Minimum TLS protocol version. TlsMinimumProtocolVersion TlsParameters_TlsProtocol `` /* 190-byte string literal not displayed */ // Maximum TLS protocol version. TlsMaximumProtocolVersion TlsParameters_TlsProtocol `` /* 190-byte string literal not displayed */ // If specified, the TLS listener will only support the specified `cipher list // <https://commondatastorage.googleapis.com/chromium-boringssl-docs/ssl.h.html#Cipher-suite-configuration>`_. // If not specified, the default list: // // .. code-block:: none // // [ECDHE-ECDSA-AES128-GCM-SHA256|ECDHE-ECDSA-CHACHA20-POLY1305] // [ECDHE-RSA-AES128-GCM-SHA256|ECDHE-RSA-CHACHA20-POLY1305] // ECDHE-ECDSA-AES128-SHA // ECDHE-RSA-AES128-SHA // AES128-GCM-SHA256 // AES128-SHA // ECDHE-ECDSA-AES256-GCM-SHA384 // ECDHE-RSA-AES256-GCM-SHA384 // ECDHE-ECDSA-AES256-SHA // ECDHE-RSA-AES256-SHA // AES256-GCM-SHA384 // AES256-SHA // // will be used. CipherSuites []string `protobuf:"bytes,3,rep,name=cipher_suites,json=cipherSuites" json:"cipher_suites,omitempty"` // If specified, the TLS connection will only support the specified ECDH // curves. If not specified, the default curves (X25519, P-256) will be used. EcdhCurves []string `protobuf:"bytes,4,rep,name=ecdh_curves,json=ecdhCurves" json:"ecdh_curves,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TlsParameters) Descriptor ¶
func (*TlsParameters) Descriptor() ([]byte, []int)
func (*TlsParameters) Equal ¶ added in v0.5.0
func (this *TlsParameters) Equal(that interface{}) bool
func (*TlsParameters) GetCipherSuites ¶
func (m *TlsParameters) GetCipherSuites() []string
func (*TlsParameters) GetEcdhCurves ¶
func (m *TlsParameters) GetEcdhCurves() []string
func (*TlsParameters) GetTlsMaximumProtocolVersion ¶
func (m *TlsParameters) GetTlsMaximumProtocolVersion() TlsParameters_TlsProtocol
func (*TlsParameters) GetTlsMinimumProtocolVersion ¶
func (m *TlsParameters) GetTlsMinimumProtocolVersion() TlsParameters_TlsProtocol
func (*TlsParameters) Marshal ¶ added in v0.5.0
func (m *TlsParameters) Marshal() (dAtA []byte, err error)
func (*TlsParameters) MarshalTo ¶ added in v0.5.0
func (m *TlsParameters) MarshalTo(dAtA []byte) (int, error)
func (*TlsParameters) ProtoMessage ¶
func (*TlsParameters) ProtoMessage()
func (*TlsParameters) Reset ¶
func (m *TlsParameters) Reset()
func (*TlsParameters) Size ¶ added in v0.5.0
func (m *TlsParameters) Size() (n int)
func (*TlsParameters) String ¶
func (m *TlsParameters) String() string
func (*TlsParameters) Unmarshal ¶ added in v0.5.0
func (m *TlsParameters) Unmarshal(dAtA []byte) error
func (*TlsParameters) Validate ¶
func (m *TlsParameters) Validate() error
Validate checks the field values on TlsParameters with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*TlsParameters) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *TlsParameters) XXX_DiscardUnknown()
func (*TlsParameters) XXX_Marshal ¶ added in v0.5.0
func (m *TlsParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TlsParameters) XXX_Merge ¶ added in v0.5.0
func (dst *TlsParameters) XXX_Merge(src proto.Message)
func (*TlsParameters) XXX_Size ¶ added in v0.5.0
func (m *TlsParameters) XXX_Size() int
func (*TlsParameters) XXX_Unmarshal ¶ added in v0.5.0
func (m *TlsParameters) XXX_Unmarshal(b []byte) error
type TlsParametersValidationError ¶
TlsParametersValidationError is the validation error returned by TlsParameters.Validate if the designated constraints aren't met.
func (TlsParametersValidationError) Error ¶
func (e TlsParametersValidationError) Error() string
Error satisfies the builtin error interface
type TlsParameters_TlsProtocol ¶
type TlsParameters_TlsProtocol int32
const ( // Envoy will choose the optimal TLS version. TlsParameters_TLS_AUTO TlsParameters_TlsProtocol = 0 // TLS 1.0 TlsParameters_TLSv1_0 TlsParameters_TlsProtocol = 1 // TLS 1.1 TlsParameters_TLSv1_1 TlsParameters_TlsProtocol = 2 // TLS 1.2 TlsParameters_TLSv1_2 TlsParameters_TlsProtocol = 3 // TLS 1.3 TlsParameters_TLSv1_3 TlsParameters_TlsProtocol = 4 )
func (TlsParameters_TlsProtocol) EnumDescriptor ¶
func (TlsParameters_TlsProtocol) EnumDescriptor() ([]byte, []int)
func (TlsParameters_TlsProtocol) String ¶
func (x TlsParameters_TlsProtocol) String() string
type TlsSessionTicketKeys ¶
type TlsSessionTicketKeys struct { // Keys for encrypting and decrypting TLS session tickets. The // first key in the array contains the key to encrypt all new sessions created by this context. // All keys are candidates for decrypting received tickets. This allows for easy rotation of keys // by, for example, putting the new key first, and the previous key second. // // If :ref:`session_ticket_keys <envoy_api_field_auth.DownstreamTlsContext.session_ticket_keys>` // is not specified, the TLS library will still support resuming sessions via tickets, but it will // use an internally-generated and managed key, so sessions cannot be resumed across hot restarts // or on different hosts. // // Each key must contain exactly 80 bytes of cryptographically-secure random data. For // example, the output of “openssl rand 80“. // // .. attention:: // // Using this feature has serious security considerations and risks. Improper handling of keys // may result in loss of secrecy in connections, even if ciphers supporting perfect forward // secrecy are used. See https://www.imperialviolet.org/2013/06/27/botchingpfs.html for some // discussion. To minimize the risk, you must: // // * Keep the session ticket keys at least as secure as your TLS certificate private keys // * Rotate session ticket keys at least daily, and preferably hourly // * Always generate keys using a cryptographically-secure random data source Keys []*core.DataSource `protobuf:"bytes,1,rep,name=keys" json:"keys,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TlsSessionTicketKeys) Descriptor ¶
func (*TlsSessionTicketKeys) Descriptor() ([]byte, []int)
func (*TlsSessionTicketKeys) Equal ¶ added in v0.5.0
func (this *TlsSessionTicketKeys) Equal(that interface{}) bool
func (*TlsSessionTicketKeys) GetKeys ¶
func (m *TlsSessionTicketKeys) GetKeys() []*core.DataSource
func (*TlsSessionTicketKeys) Marshal ¶ added in v0.5.0
func (m *TlsSessionTicketKeys) Marshal() (dAtA []byte, err error)
func (*TlsSessionTicketKeys) MarshalTo ¶ added in v0.5.0
func (m *TlsSessionTicketKeys) MarshalTo(dAtA []byte) (int, error)
func (*TlsSessionTicketKeys) ProtoMessage ¶
func (*TlsSessionTicketKeys) ProtoMessage()
func (*TlsSessionTicketKeys) Reset ¶
func (m *TlsSessionTicketKeys) Reset()
func (*TlsSessionTicketKeys) Size ¶ added in v0.5.0
func (m *TlsSessionTicketKeys) Size() (n int)
func (*TlsSessionTicketKeys) String ¶
func (m *TlsSessionTicketKeys) String() string
func (*TlsSessionTicketKeys) Unmarshal ¶ added in v0.5.0
func (m *TlsSessionTicketKeys) Unmarshal(dAtA []byte) error
func (*TlsSessionTicketKeys) Validate ¶
func (m *TlsSessionTicketKeys) Validate() error
Validate checks the field values on TlsSessionTicketKeys with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*TlsSessionTicketKeys) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *TlsSessionTicketKeys) XXX_DiscardUnknown()
func (*TlsSessionTicketKeys) XXX_Marshal ¶ added in v0.5.0
func (m *TlsSessionTicketKeys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TlsSessionTicketKeys) XXX_Merge ¶ added in v0.5.0
func (dst *TlsSessionTicketKeys) XXX_Merge(src proto.Message)
func (*TlsSessionTicketKeys) XXX_Size ¶ added in v0.5.0
func (m *TlsSessionTicketKeys) XXX_Size() int
func (*TlsSessionTicketKeys) XXX_Unmarshal ¶ added in v0.5.0
func (m *TlsSessionTicketKeys) XXX_Unmarshal(b []byte) error
type TlsSessionTicketKeysValidationError ¶
TlsSessionTicketKeysValidationError is the validation error returned by TlsSessionTicketKeys.Validate if the designated constraints aren't met.
func (TlsSessionTicketKeysValidationError) Error ¶
func (e TlsSessionTicketKeysValidationError) Error() string
Error satisfies the builtin error interface
type UpstreamTlsContext ¶
type UpstreamTlsContext struct { // Common TLS context settings. CommonTlsContext *CommonTlsContext `protobuf:"bytes,1,opt,name=common_tls_context,json=commonTlsContext" json:"common_tls_context,omitempty"` // SNI string to use when creating TLS backend connections. Sni string `protobuf:"bytes,2,opt,name=sni,proto3" json:"sni,omitempty"` // If true, server-initiated TLS renegotiation will be allowed. // // .. attention:: // // TLS renegotiation is considered insecure and shouldn't be used unless absolutely necessary. AllowRenegotiation bool `protobuf:"varint,3,opt,name=allow_renegotiation,json=allowRenegotiation,proto3" json:"allow_renegotiation,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpstreamTlsContext) Descriptor ¶
func (*UpstreamTlsContext) Descriptor() ([]byte, []int)
func (*UpstreamTlsContext) Equal ¶ added in v0.5.0
func (this *UpstreamTlsContext) Equal(that interface{}) bool
func (*UpstreamTlsContext) GetAllowRenegotiation ¶
func (m *UpstreamTlsContext) GetAllowRenegotiation() bool
func (*UpstreamTlsContext) GetCommonTlsContext ¶
func (m *UpstreamTlsContext) GetCommonTlsContext() *CommonTlsContext
func (*UpstreamTlsContext) GetSni ¶
func (m *UpstreamTlsContext) GetSni() string
func (*UpstreamTlsContext) Marshal ¶ added in v0.5.0
func (m *UpstreamTlsContext) Marshal() (dAtA []byte, err error)
func (*UpstreamTlsContext) MarshalTo ¶ added in v0.5.0
func (m *UpstreamTlsContext) MarshalTo(dAtA []byte) (int, error)
func (*UpstreamTlsContext) ProtoMessage ¶
func (*UpstreamTlsContext) ProtoMessage()
func (*UpstreamTlsContext) Reset ¶
func (m *UpstreamTlsContext) Reset()
func (*UpstreamTlsContext) Size ¶ added in v0.5.0
func (m *UpstreamTlsContext) Size() (n int)
func (*UpstreamTlsContext) String ¶
func (m *UpstreamTlsContext) String() string
func (*UpstreamTlsContext) Unmarshal ¶ added in v0.5.0
func (m *UpstreamTlsContext) Unmarshal(dAtA []byte) error
func (*UpstreamTlsContext) Validate ¶
func (m *UpstreamTlsContext) Validate() error
Validate checks the field values on UpstreamTlsContext with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*UpstreamTlsContext) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *UpstreamTlsContext) XXX_DiscardUnknown()
func (*UpstreamTlsContext) XXX_Marshal ¶ added in v0.5.0
func (m *UpstreamTlsContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpstreamTlsContext) XXX_Merge ¶ added in v0.5.0
func (dst *UpstreamTlsContext) XXX_Merge(src proto.Message)
func (*UpstreamTlsContext) XXX_Size ¶ added in v0.5.0
func (m *UpstreamTlsContext) XXX_Size() int
func (*UpstreamTlsContext) XXX_Unmarshal ¶ added in v0.5.0
func (m *UpstreamTlsContext) XXX_Unmarshal(b []byte) error
type UpstreamTlsContextValidationError ¶
UpstreamTlsContextValidationError is the validation error returned by UpstreamTlsContext.Validate if the designated constraints aren't met.
func (UpstreamTlsContextValidationError) Error ¶
func (e UpstreamTlsContextValidationError) Error() string
Error satisfies the builtin error interface