Debian Codegraph @

internal/proto/v2/s2a_go_proto/s2a.pb.go

raw
1 // Copyright 2022 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // https://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.34.2
18 // protoc v3.21.12
19 // source: internal/proto/v2/s2a/s2a.proto
20
21 package s2a_go_proto
22
23 import (
24 common_go_proto "github.com/google/s2a-go/internal/proto/v2/common_go_proto"
25 s2a_context_go_proto "github.com/google/s2a-go/internal/proto/v2/s2a_context_go_proto"
26 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
27 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
28 reflect "reflect"
29 sync "sync"
30 )
31
32 const (
33 // Verify that this generated code is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35 // Verify that runtime/protoimpl is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39 type SignatureAlgorithm int32
40
41 const (
42 SignatureAlgorithm_S2A_SSL_SIGN_UNSPECIFIED SignatureAlgorithm = 0
43 // RSA Public-Key Cryptography Standards #1.
44 SignatureAlgorithm_S2A_SSL_SIGN_RSA_PKCS1_SHA256 SignatureAlgorithm = 1
45 SignatureAlgorithm_S2A_SSL_SIGN_RSA_PKCS1_SHA384 SignatureAlgorithm = 2
46 SignatureAlgorithm_S2A_SSL_SIGN_RSA_PKCS1_SHA512 SignatureAlgorithm = 3
47 // ECDSA.
48 SignatureAlgorithm_S2A_SSL_SIGN_ECDSA_SECP256R1_SHA256 SignatureAlgorithm = 4
49 SignatureAlgorithm_S2A_SSL_SIGN_ECDSA_SECP384R1_SHA384 SignatureAlgorithm = 5
50 SignatureAlgorithm_S2A_SSL_SIGN_ECDSA_SECP521R1_SHA512 SignatureAlgorithm = 6
51 // RSA Probabilistic Signature Scheme.
52 SignatureAlgorithm_S2A_SSL_SIGN_RSA_PSS_RSAE_SHA256 SignatureAlgorithm = 7
53 SignatureAlgorithm_S2A_SSL_SIGN_RSA_PSS_RSAE_SHA384 SignatureAlgorithm = 8
54 SignatureAlgorithm_S2A_SSL_SIGN_RSA_PSS_RSAE_SHA512 SignatureAlgorithm = 9
55 // ED25519.
56 SignatureAlgorithm_S2A_SSL_SIGN_ED25519 SignatureAlgorithm = 10
57 )
58
59 // Enum value maps for SignatureAlgorithm.
60 var (
61 SignatureAlgorithm_name = map[int32]string{
62 0: "S2A_SSL_SIGN_UNSPECIFIED",
63 1: "S2A_SSL_SIGN_RSA_PKCS1_SHA256",
64 2: "S2A_SSL_SIGN_RSA_PKCS1_SHA384",
65 3: "S2A_SSL_SIGN_RSA_PKCS1_SHA512",
66 4: "S2A_SSL_SIGN_ECDSA_SECP256R1_SHA256",
67 5: "S2A_SSL_SIGN_ECDSA_SECP384R1_SHA384",
68 6: "S2A_SSL_SIGN_ECDSA_SECP521R1_SHA512",
69 7: "S2A_SSL_SIGN_RSA_PSS_RSAE_SHA256",
70 8: "S2A_SSL_SIGN_RSA_PSS_RSAE_SHA384",
71 9: "S2A_SSL_SIGN_RSA_PSS_RSAE_SHA512",
72 10: "S2A_SSL_SIGN_ED25519",
73 }
74 SignatureAlgorithm_value = map[string]int32{
75 "S2A_SSL_SIGN_UNSPECIFIED": 0,
76 "S2A_SSL_SIGN_RSA_PKCS1_SHA256": 1,
77 "S2A_SSL_SIGN_RSA_PKCS1_SHA384": 2,
78 "S2A_SSL_SIGN_RSA_PKCS1_SHA512": 3,
79 "S2A_SSL_SIGN_ECDSA_SECP256R1_SHA256": 4,
80 "S2A_SSL_SIGN_ECDSA_SECP384R1_SHA384": 5,
81 "S2A_SSL_SIGN_ECDSA_SECP521R1_SHA512": 6,
82 "S2A_SSL_SIGN_RSA_PSS_RSAE_SHA256": 7,
83 "S2A_SSL_SIGN_RSA_PSS_RSAE_SHA384": 8,
84 "S2A_SSL_SIGN_RSA_PSS_RSAE_SHA512": 9,
85 "S2A_SSL_SIGN_ED25519": 10,
86 }
87 )
88
89 func (x SignatureAlgorithm) Enum() *SignatureAlgorithm {
90 p := new(SignatureAlgorithm)
91 *p = x
92 return p
93 }
94
95 func (x SignatureAlgorithm) String() string {
96 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
97 }
98
99 func (SignatureAlgorithm) Descriptor() protoreflect.EnumDescriptor {
100 return file_internal_proto_v2_s2a_s2a_proto_enumTypes[0].Descriptor()
101 }
102
103 func (SignatureAlgorithm) Type() protoreflect.EnumType {
104 return &file_internal_proto_v2_s2a_s2a_proto_enumTypes[0]
105 }
106
107 func (x SignatureAlgorithm) Number() protoreflect.EnumNumber {
108 return protoreflect.EnumNumber(x)
109 }
110
111 // Deprecated: Use SignatureAlgorithm.Descriptor instead.
112 func (SignatureAlgorithm) EnumDescriptor() ([]byte, []int) {
113 return file_internal_proto_v2_s2a_s2a_proto_rawDescGZIP(), []int{0}
114 }
115
116 type GetTlsConfigurationResp_ServerTlsConfiguration_RequestClientCertificate int32
117
118 const (
119 GetTlsConfigurationResp_ServerTlsConfiguration_UNSPECIFIED GetTlsConfigurationResp_ServerTlsConfiguration_RequestClientCertificate = 0
120 GetTlsConfigurationResp_ServerTlsConfiguration_DONT_REQUEST_CLIENT_CERTIFICATE GetTlsConfigurationResp_ServerTlsConfiguration_RequestClientCertificate = 1
121 GetTlsConfigurationResp_ServerTlsConfiguration_REQUEST_CLIENT_CERTIFICATE_BUT_DONT_VERIFY GetTlsConfigurationResp_ServerTlsConfiguration_RequestClientCertificate = 2
122 GetTlsConfigurationResp_ServerTlsConfiguration_REQUEST_CLIENT_CERTIFICATE_AND_VERIFY GetTlsConfigurationResp_ServerTlsConfiguration_RequestClientCertificate = 3
123 GetTlsConfigurationResp_ServerTlsConfiguration_REQUEST_AND_REQUIRE_CLIENT_CERTIFICATE_BUT_DONT_VERIFY GetTlsConfigurationResp_ServerTlsConfiguration_RequestClientCertificate = 4
124 GetTlsConfigurationResp_ServerTlsConfiguration_REQUEST_AND_REQUIRE_CLIENT_CERTIFICATE_AND_VERIFY GetTlsConfigurationResp_ServerTlsConfiguration_RequestClientCertificate = 5
125 )
126
127 // Enum value maps for GetTlsConfigurationResp_ServerTlsConfiguration_RequestClientCertificate.
128 var (
129 GetTlsConfigurationResp_ServerTlsConfiguration_RequestClientCertificate_name = map[int32]string{
130 0: "UNSPECIFIED",
131 1: "DONT_REQUEST_CLIENT_CERTIFICATE",
132 2: "REQUEST_CLIENT_CERTIFICATE_BUT_DONT_VERIFY",
133 3: "REQUEST_CLIENT_CERTIFICATE_AND_VERIFY",
134 4: "REQUEST_AND_REQUIRE_CLIENT_CERTIFICATE_BUT_DONT_VERIFY",
135 5: "REQUEST_AND_REQUIRE_CLIENT_CERTIFICATE_AND_VERIFY",
136 }
137 GetTlsConfigurationResp_ServerTlsConfiguration_RequestClientCertificate_value = map[string]int32{
138 "UNSPECIFIED": 0,
139 "DONT_REQUEST_CLIENT_CERTIFICATE": 1,
140 "REQUEST_CLIENT_CERTIFICATE_BUT_DONT_VERIFY": 2,
141 "REQUEST_CLIENT_CERTIFICATE_AND_VERIFY": 3,
142 "REQUEST_AND_REQUIRE_CLIENT_CERTIFICATE_BUT_DONT_VERIFY": 4,
143 "REQUEST_AND_REQUIRE_CLIENT_CERTIFICATE_AND_VERIFY": 5,
144 }
145 )
146
147 func (x GetTlsConfigurationResp_ServerTlsConfiguration_RequestClientCertificate) Enum() *GetTlsConfigurationResp_ServerTlsConfiguration_RequestClientCertificate {
148 p := new(GetTlsConfigurationResp_ServerTlsConfiguration_RequestClientCertificate)
149 *p = x
150 return p
151 }
152
153 func (x GetTlsConfigurationResp_ServerTlsConfiguration_RequestClientCertificate) String() string {
154 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
155 }
156
157 func (GetTlsConfigurationResp_ServerTlsConfiguration_RequestClientCertificate) Descriptor() protoreflect.EnumDescriptor {
158 return file_internal_proto_v2_s2a_s2a_proto_enumTypes[1].Descriptor()
159 }
160
161 func (GetTlsConfigurationResp_ServerTlsConfiguration_RequestClientCertificate) Type() protoreflect.EnumType {
162 return &file_internal_proto_v2_s2a_s2a_proto_enumTypes[1]
163 }
164
165 func (x GetTlsConfigurationResp_ServerTlsConfiguration_RequestClientCertificate) Number() protoreflect.EnumNumber {
166 return protoreflect.EnumNumber(x)
167 }
168
169 // Deprecated: Use GetTlsConfigurationResp_ServerTlsConfiguration_RequestClientCertificate.Descriptor instead.
170 func (GetTlsConfigurationResp_ServerTlsConfiguration_RequestClientCertificate) EnumDescriptor() ([]byte, []int) {
171 return file_internal_proto_v2_s2a_s2a_proto_rawDescGZIP(), []int{4, 1, 0}
172 }
173
174 type OffloadPrivateKeyOperationReq_PrivateKeyOperation int32
175
176 const (
177 OffloadPrivateKeyOperationReq_UNSPECIFIED OffloadPrivateKeyOperationReq_PrivateKeyOperation = 0
178 // When performing a TLS 1.2 or 1.3 handshake, the (partial) transcript of
179 // the TLS handshake must be signed to prove possession of the private key.
180 //
181 // See https://www.rfc-editor.org/rfc/rfc8446.html#section-4.4.3.
182 OffloadPrivateKeyOperationReq_SIGN OffloadPrivateKeyOperationReq_PrivateKeyOperation = 1
183 // When performing a TLS 1.2 handshake using an RSA algorithm, the key
184 // exchange algorithm involves the client generating a premaster secret,
185 // encrypting it using the server's public key, and sending this encrypted
186 // blob to the server in a ClientKeyExchange message.
187 //
188 // See https://www.rfc-editor.org/rfc/rfc4346#section-7.4.7.1.
189 OffloadPrivateKeyOperationReq_DECRYPT OffloadPrivateKeyOperationReq_PrivateKeyOperation = 2
190 )
191
192 // Enum value maps for OffloadPrivateKeyOperationReq_PrivateKeyOperation.
193 var (
194 OffloadPrivateKeyOperationReq_PrivateKeyOperation_name = map[int32]string{
195 0: "UNSPECIFIED",
196 1: "SIGN",
197 2: "DECRYPT",
198 }
199 OffloadPrivateKeyOperationReq_PrivateKeyOperation_value = map[string]int32{
200 "UNSPECIFIED": 0,
201 "SIGN": 1,
202 "DECRYPT": 2,
203 }
204 )
205
206 func (x OffloadPrivateKeyOperationReq_PrivateKeyOperation) Enum() *OffloadPrivateKeyOperationReq_PrivateKeyOperation {
207 p := new(OffloadPrivateKeyOperationReq_PrivateKeyOperation)
208 *p = x
209 return p
210 }
211
212 func (x OffloadPrivateKeyOperationReq_PrivateKeyOperation) String() string {
213 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
214 }
215
216 func (OffloadPrivateKeyOperationReq_PrivateKeyOperation) Descriptor() protoreflect.EnumDescriptor {
217 return file_internal_proto_v2_s2a_s2a_proto_enumTypes[2].Descriptor()
218 }
219
220 func (OffloadPrivateKeyOperationReq_PrivateKeyOperation) Type() protoreflect.EnumType {
221 return &file_internal_proto_v2_s2a_s2a_proto_enumTypes[2]
222 }
223
224 func (x OffloadPrivateKeyOperationReq_PrivateKeyOperation) Number() protoreflect.EnumNumber {
225 return protoreflect.EnumNumber(x)
226 }
227
228 // Deprecated: Use OffloadPrivateKeyOperationReq_PrivateKeyOperation.Descriptor instead.
229 func (OffloadPrivateKeyOperationReq_PrivateKeyOperation) EnumDescriptor() ([]byte, []int) {
230 return file_internal_proto_v2_s2a_s2a_proto_rawDescGZIP(), []int{5, 0}
231 }
232
233 type OffloadResumptionKeyOperationReq_ResumptionKeyOperation int32
234
235 const (
236 OffloadResumptionKeyOperationReq_UNSPECIFIED OffloadResumptionKeyOperationReq_ResumptionKeyOperation = 0
237 OffloadResumptionKeyOperationReq_ENCRYPT OffloadResumptionKeyOperationReq_ResumptionKeyOperation = 1
238 OffloadResumptionKeyOperationReq_DECRYPT OffloadResumptionKeyOperationReq_ResumptionKeyOperation = 2
239 )
240
241 // Enum value maps for OffloadResumptionKeyOperationReq_ResumptionKeyOperation.
242 var (
243 OffloadResumptionKeyOperationReq_ResumptionKeyOperation_name = map[int32]string{
244 0: "UNSPECIFIED",
245 1: "ENCRYPT",
246 2: "DECRYPT",
247 }
248 OffloadResumptionKeyOperationReq_ResumptionKeyOperation_value = map[string]int32{
249 "UNSPECIFIED": 0,
250 "ENCRYPT": 1,
251 "DECRYPT": 2,
252 }
253 )
254
255 func (x OffloadResumptionKeyOperationReq_ResumptionKeyOperation) Enum() *OffloadResumptionKeyOperationReq_ResumptionKeyOperation {
256 p := new(OffloadResumptionKeyOperationReq_ResumptionKeyOperation)
257 *p = x
258 return p
259 }
260
261 func (x OffloadResumptionKeyOperationReq_ResumptionKeyOperation) String() string {
262 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
263 }
264
265 func (OffloadResumptionKeyOperationReq_ResumptionKeyOperation) Descriptor() protoreflect.EnumDescriptor {
266 return file_internal_proto_v2_s2a_s2a_proto_enumTypes[3].Descriptor()
267 }
268
269 func (OffloadResumptionKeyOperationReq_ResumptionKeyOperation) Type() protoreflect.EnumType {
270 return &file_internal_proto_v2_s2a_s2a_proto_enumTypes[3]
271 }
272
273 func (x OffloadResumptionKeyOperationReq_ResumptionKeyOperation) Number() protoreflect.EnumNumber {
274 return protoreflect.EnumNumber(x)
275 }
276
277 // Deprecated: Use OffloadResumptionKeyOperationReq_ResumptionKeyOperation.Descriptor instead.
278 func (OffloadResumptionKeyOperationReq_ResumptionKeyOperation) EnumDescriptor() ([]byte, []int) {
279 return file_internal_proto_v2_s2a_s2a_proto_rawDescGZIP(), []int{7, 0}
280 }
281
282 type ValidatePeerCertificateChainReq_VerificationMode int32
283
284 const (
285 // The default verification mode supported by S2A.
286 ValidatePeerCertificateChainReq_UNSPECIFIED ValidatePeerCertificateChainReq_VerificationMode = 0
287 // The SPIFFE verification mode selects the set of trusted certificates to
288 // use for path building based on the SPIFFE trust domain in the peer's leaf
289 // certificate.
290 ValidatePeerCertificateChainReq_SPIFFE ValidatePeerCertificateChainReq_VerificationMode = 1
291 // The connect-to-Google verification mode uses the trust bundle for
292 // connecting to Google, e.g. *.mtls.googleapis.com endpoints.
293 ValidatePeerCertificateChainReq_CONNECT_TO_GOOGLE ValidatePeerCertificateChainReq_VerificationMode = 2
294 // Internal use only.
295 ValidatePeerCertificateChainReq_RESERVED_CUSTOM_VERIFICATION_MODE_3 ValidatePeerCertificateChainReq_VerificationMode = 3
296 // Internal use only.
297 ValidatePeerCertificateChainReq_RESERVED_CUSTOM_VERIFICATION_MODE_4 ValidatePeerCertificateChainReq_VerificationMode = 4
298 // Internal use only.
299 ValidatePeerCertificateChainReq_RESERVED_CUSTOM_VERIFICATION_MODE_5 ValidatePeerCertificateChainReq_VerificationMode = 5
300 )
301
302 // Enum value maps for ValidatePeerCertificateChainReq_VerificationMode.
303 var (
304 ValidatePeerCertificateChainReq_VerificationMode_name = map[int32]string{
305 0: "UNSPECIFIED",
306 1: "SPIFFE",
307 2: "CONNECT_TO_GOOGLE",
308 3: "RESERVED_CUSTOM_VERIFICATION_MODE_3",
309 4: "RESERVED_CUSTOM_VERIFICATION_MODE_4",
310 5: "RESERVED_CUSTOM_VERIFICATION_MODE_5",
311 }
312 ValidatePeerCertificateChainReq_VerificationMode_value = map[string]int32{
313 "UNSPECIFIED": 0,
314 "SPIFFE": 1,
315 "CONNECT_TO_GOOGLE": 2,
316 "RESERVED_CUSTOM_VERIFICATION_MODE_3": 3,
317 "RESERVED_CUSTOM_VERIFICATION_MODE_4": 4,
318 "RESERVED_CUSTOM_VERIFICATION_MODE_5": 5,
319 }
320 )
321
322 func (x ValidatePeerCertificateChainReq_VerificationMode) Enum() *ValidatePeerCertificateChainReq_VerificationMode {
323 p := new(ValidatePeerCertificateChainReq_VerificationMode)
324 *p = x
325 return p
326 }
327
328 func (x ValidatePeerCertificateChainReq_VerificationMode) String() string {
329 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
330 }
331
332 func (ValidatePeerCertificateChainReq_VerificationMode) Descriptor() protoreflect.EnumDescriptor {
333 return file_internal_proto_v2_s2a_s2a_proto_enumTypes[4].Descriptor()
334 }
335
336 func (ValidatePeerCertificateChainReq_VerificationMode) Type() protoreflect.EnumType {
337 return &file_internal_proto_v2_s2a_s2a_proto_enumTypes[4]
338 }
339
340 func (x ValidatePeerCertificateChainReq_VerificationMode) Number() protoreflect.EnumNumber {
341 return protoreflect.EnumNumber(x)
342 }
343
344 // Deprecated: Use ValidatePeerCertificateChainReq_VerificationMode.Descriptor instead.
345 func (ValidatePeerCertificateChainReq_VerificationMode) EnumDescriptor() ([]byte, []int) {
346 return file_internal_proto_v2_s2a_s2a_proto_rawDescGZIP(), []int{9, 0}
347 }
348
349 type ValidatePeerCertificateChainResp_ValidationResult int32
350
351 const (
352 ValidatePeerCertificateChainResp_UNSPECIFIED ValidatePeerCertificateChainResp_ValidationResult = 0
353 ValidatePeerCertificateChainResp_SUCCESS ValidatePeerCertificateChainResp_ValidationResult = 1
354 ValidatePeerCertificateChainResp_FAILURE ValidatePeerCertificateChainResp_ValidationResult = 2
355 )
356
357 // Enum value maps for ValidatePeerCertificateChainResp_ValidationResult.
358 var (
359 ValidatePeerCertificateChainResp_ValidationResult_name = map[int32]string{
360 0: "UNSPECIFIED",
361 1: "SUCCESS",
362 2: "FAILURE",
363 }
364 ValidatePeerCertificateChainResp_ValidationResult_value = map[string]int32{
365 "UNSPECIFIED": 0,
366 "SUCCESS": 1,
367 "FAILURE": 2,
368 }
369 )
370
371 func (x ValidatePeerCertificateChainResp_ValidationResult) Enum() *ValidatePeerCertificateChainResp_ValidationResult {
372 p := new(ValidatePeerCertificateChainResp_ValidationResult)
373 *p = x
374 return p
375 }
376
377 func (x ValidatePeerCertificateChainResp_ValidationResult) String() string {
378 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
379 }
380
381 func (ValidatePeerCertificateChainResp_ValidationResult) Descriptor() protoreflect.EnumDescriptor {
382 return file_internal_proto_v2_s2a_s2a_proto_enumTypes[5].Descriptor()
383 }
384
385 func (ValidatePeerCertificateChainResp_ValidationResult) Type() protoreflect.EnumType {
386 return &file_internal_proto_v2_s2a_s2a_proto_enumTypes[5]
387 }
388
389 func (x ValidatePeerCertificateChainResp_ValidationResult) Number() protoreflect.EnumNumber {
390 return protoreflect.EnumNumber(x)
391 }
392
393 // Deprecated: Use ValidatePeerCertificateChainResp_ValidationResult.Descriptor instead.
394 func (ValidatePeerCertificateChainResp_ValidationResult) EnumDescriptor() ([]byte, []int) {
395 return file_internal_proto_v2_s2a_s2a_proto_rawDescGZIP(), []int{10, 0}
396 }
397
398 type AlpnPolicy struct {
399 state protoimpl.MessageState
400 sizeCache protoimpl.SizeCache
401 unknownFields protoimpl.UnknownFields
402
403 // If true, the application MUST perform ALPN negotiation.
404 EnableAlpnNegotiation bool `protobuf:"varint,1,opt,name=enable_alpn_negotiation,json=enableAlpnNegotiation,proto3" json:"enable_alpn_negotiation,omitempty"`
405 // The ordered list of ALPN protocols that specify how the application SHOULD
406 // negotiate ALPN during the TLS handshake.
407 //
408 // The application MAY ignore any ALPN protocols in this list that are not
409 // supported by the application.
410 AlpnProtocols []common_go_proto.AlpnProtocol `protobuf:"varint,2,rep,packed,name=alpn_protocols,json=alpnProtocols,proto3,enum=s2a.proto.v2.AlpnProtocol" json:"alpn_protocols,omitempty"`
411 }
412
413 func (x *AlpnPolicy) Reset() {
414 *x = AlpnPolicy{}
415 if protoimpl.UnsafeEnabled {
416 mi := &file_internal_proto_v2_s2a_s2a_proto_msgTypes[0]
417 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
418 ms.StoreMessageInfo(mi)
419 }
420 }
421
422 func (x *AlpnPolicy) String() string {
423 return protoimpl.X.MessageStringOf(x)
424 }
425
426 func (*AlpnPolicy) ProtoMessage() {}
427
428 func (x *AlpnPolicy) ProtoReflect() protoreflect.Message {
429 mi := &file_internal_proto_v2_s2a_s2a_proto_msgTypes[0]
430 if protoimpl.UnsafeEnabled && x != nil {
431 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
432 if ms.LoadMessageInfo() == nil {
433 ms.StoreMessageInfo(mi)
434 }
435 return ms
436 }
437 return mi.MessageOf(x)
438 }
439
440 // Deprecated: Use AlpnPolicy.ProtoReflect.Descriptor instead.
441 func (*AlpnPolicy) Descriptor() ([]byte, []int) {
442 return file_internal_proto_v2_s2a_s2a_proto_rawDescGZIP(), []int{0}
443 }
444
445 func (x *AlpnPolicy) GetEnableAlpnNegotiation() bool {
446 if x != nil {
447 return x.EnableAlpnNegotiation
448 }
449 return false
450 }
451
452 func (x *AlpnPolicy) GetAlpnProtocols() []common_go_proto.AlpnProtocol {
453 if x != nil {
454 return x.AlpnProtocols
455 }
456 return nil
457 }
458
459 type AuthenticationMechanism struct {
460 state protoimpl.MessageState
461 sizeCache protoimpl.SizeCache
462 unknownFields protoimpl.UnknownFields
463
464 // Applications may specify an identity associated to an authentication
465 // mechanism. Otherwise, S2A assumes that the authentication mechanism is
466 // associated with the default identity. If the default identity cannot be
467 // determined, the request is rejected.
468 Identity *common_go_proto.Identity `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"`
469 // Types that are assignable to MechanismOneof:
470 //
471 // *AuthenticationMechanism_Token
472 MechanismOneof isAuthenticationMechanism_MechanismOneof `protobuf_oneof:"mechanism_oneof"`
473 }
474
475 func (x *AuthenticationMechanism) Reset() {
476 *x = AuthenticationMechanism{}
477 if protoimpl.UnsafeEnabled {
478 mi := &file_internal_proto_v2_s2a_s2a_proto_msgTypes[1]
479 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
480 ms.StoreMessageInfo(mi)
481 }
482 }
483
484 func (x *AuthenticationMechanism) String() string {
485 return protoimpl.X.MessageStringOf(x)
486 }
487
488 func (*AuthenticationMechanism) ProtoMessage() {}
489
490 func (x *AuthenticationMechanism) ProtoReflect() protoreflect.Message {
491 mi := &file_internal_proto_v2_s2a_s2a_proto_msgTypes[1]
492 if protoimpl.UnsafeEnabled && x != nil {
493 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
494 if ms.LoadMessageInfo() == nil {
495 ms.StoreMessageInfo(mi)
496 }
497 return ms
498 }
499 return mi.MessageOf(x)
500 }
501
502 // Deprecated: Use AuthenticationMechanism.ProtoReflect.Descriptor instead.
503 func (*AuthenticationMechanism) Descriptor() ([]byte, []int) {
504 return file_internal_proto_v2_s2a_s2a_proto_rawDescGZIP(), []int{1}
505 }
506
507 func (x *AuthenticationMechanism) GetIdentity() *common_go_proto.Identity {
508 if x != nil {
509 return x.Identity
510 }
511 return nil
512 }
513
514 func (m *AuthenticationMechanism) GetMechanismOneof() isAuthenticationMechanism_MechanismOneof {
515 if m != nil {
516 return m.MechanismOneof
517 }
518 return nil
519 }
520
521 func (x *AuthenticationMechanism) GetToken() string {
522 if x, ok := x.GetMechanismOneof().(*AuthenticationMechanism_Token); ok {
523 return x.Token
524 }
525 return ""
526 }
527
528 type isAuthenticationMechanism_MechanismOneof interface {
529 isAuthenticationMechanism_MechanismOneof()
530 }
531
532 type AuthenticationMechanism_Token struct {
533 // A token that the application uses to authenticate itself to S2A.
534 Token string `protobuf:"bytes,2,opt,name=token,proto3,oneof"`
535 }
536
537 func (*AuthenticationMechanism_Token) isAuthenticationMechanism_MechanismOneof() {}
538
539 type Status struct {
540 state protoimpl.MessageState
541 sizeCache protoimpl.SizeCache
542 unknownFields protoimpl.UnknownFields
543
544 // The status code that is specific to the application and the implementation
545 // of S2A, e.g., gRPC status code.
546 Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
547 // The status details.
548 Details string `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"`
549 }
550
551 func (x *Status) Reset() {
552 *x = Status{}
553 if protoimpl.UnsafeEnabled {
554 mi := &file_internal_proto_v2_s2a_s2a_proto_msgTypes[2]
555 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
556 ms.StoreMessageInfo(mi)
557 }
558 }
559
560 func (x *Status) String() string {
561 return protoimpl.X.MessageStringOf(x)
562 }
563
564 func (*Status) ProtoMessage() {}
565
566 func (x *Status) ProtoReflect() protoreflect.Message {
567 mi := &file_internal_proto_v2_s2a_s2a_proto_msgTypes[2]
568 if protoimpl.UnsafeEnabled && x != nil {
569 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
570 if ms.LoadMessageInfo() == nil {
571 ms.StoreMessageInfo(mi)
572 }
573 return ms
574 }
575 return mi.MessageOf(x)
576 }
577
578 // Deprecated: Use Status.ProtoReflect.Descriptor instead.
579 func (*Status) Descriptor() ([]byte, []int) {
580 return file_internal_proto_v2_s2a_s2a_proto_rawDescGZIP(), []int{2}
581 }
582
583 func (x *Status) GetCode() uint32 {
584 if x != nil {
585 return x.Code
586 }
587 return 0
588 }
589
590 func (x *Status) GetDetails() string {
591 if x != nil {
592 return x.Details
593 }
594 return ""
595 }
596
597 type GetTlsConfigurationReq struct {
598 state protoimpl.MessageState
599 sizeCache protoimpl.SizeCache
600 unknownFields protoimpl.UnknownFields
601
602 // The role of the application in the TLS connection.
603 ConnectionSide common_go_proto.ConnectionSide `protobuf:"varint,1,opt,name=connection_side,json=connectionSide,proto3,enum=s2a.proto.v2.ConnectionSide" json:"connection_side,omitempty"`
604 // The server name indication (SNI) extension, which MAY be populated when a
605 // server is offloading to S2A. The SNI is used to determine the server
606 // identity if the local identity in the request is empty.
607 Sni string `protobuf:"bytes,2,opt,name=sni,proto3" json:"sni,omitempty"`
608 }
609
610 func (x *GetTlsConfigurationReq) Reset() {
611 *x = GetTlsConfigurationReq{}
612 if protoimpl.UnsafeEnabled {
613 mi := &file_internal_proto_v2_s2a_s2a_proto_msgTypes[3]
614 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
615 ms.StoreMessageInfo(mi)
616 }
617 }
618
619 func (x *GetTlsConfigurationReq) String() string {
620 return protoimpl.X.MessageStringOf(x)
621 }
622
623 func (*GetTlsConfigurationReq) ProtoMessage() {}
624
625 func (x *GetTlsConfigurationReq) ProtoReflect() protoreflect.Message {
626 mi := &file_internal_proto_v2_s2a_s2a_proto_msgTypes[3]
627 if protoimpl.UnsafeEnabled && x != nil {
628 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
629 if ms.LoadMessageInfo() == nil {
630 ms.StoreMessageInfo(mi)
631 }
632 return ms
633 }
634 return mi.MessageOf(x)
635 }
636
637 // Deprecated: Use GetTlsConfigurationReq.ProtoReflect.Descriptor instead.
638 func (*GetTlsConfigurationReq) Descriptor() ([]byte, []int) {
639 return file_internal_proto_v2_s2a_s2a_proto_rawDescGZIP(), []int{3}
640 }
641
642 func (x *GetTlsConfigurationReq) GetConnectionSide() common_go_proto.ConnectionSide {
643 if x != nil {
644 return x.ConnectionSide
645 }
646 return common_go_proto.ConnectionSide(0)
647 }
648
649 func (x *GetTlsConfigurationReq) GetSni() string {
650 if x != nil {
651 return x.Sni
652 }
653 return ""
654 }
655
656 type GetTlsConfigurationResp struct {
657 state protoimpl.MessageState
658 sizeCache protoimpl.SizeCache
659 unknownFields protoimpl.UnknownFields
660
661 // Types that are assignable to TlsConfiguration:
662 //
663 // *GetTlsConfigurationResp_ClientTlsConfiguration_
664 // *GetTlsConfigurationResp_ServerTlsConfiguration_
665 TlsConfiguration isGetTlsConfigurationResp_TlsConfiguration `protobuf_oneof:"tls_configuration"`
666 }
667
668 func (x *GetTlsConfigurationResp) Reset() {
669 *x = GetTlsConfigurationResp{}
670 if protoimpl.UnsafeEnabled {
671 mi := &file_internal_proto_v2_s2a_s2a_proto_msgTypes[4]
672 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
673 ms.StoreMessageInfo(mi)
674 }
675 }
676
677 func (x *GetTlsConfigurationResp) String() string {
678 return protoimpl.X.MessageStringOf(x)
679 }
680
681 func (*GetTlsConfigurationResp) ProtoMessage() {}
682
683 func (x *GetTlsConfigurationResp) ProtoReflect() protoreflect.Message {
684 mi := &file_internal_proto_v2_s2a_s2a_proto_msgTypes[4]
685 if protoimpl.UnsafeEnabled && x != nil {
686 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
687 if ms.LoadMessageInfo() == nil {
688 ms.StoreMessageInfo(mi)
689 }
690 return ms
691 }
692 return mi.MessageOf(x)
693 }
694
695 // Deprecated: Use GetTlsConfigurationResp.ProtoReflect.Descriptor instead.
696 func (*GetTlsConfigurationResp) Descriptor() ([]byte, []int) {
697 return file_internal_proto_v2_s2a_s2a_proto_rawDescGZIP(), []int{4}
698 }
699
700 func (m *GetTlsConfigurationResp) GetTlsConfiguration() isGetTlsConfigurationResp_TlsConfiguration {
701 if m != nil {
702 return m.TlsConfiguration
703 }
704 return nil
705 }
706
707 func (x *GetTlsConfigurationResp) GetClientTlsConfiguration() *GetTlsConfigurationResp_ClientTlsConfiguration {
708 if x, ok := x.GetTlsConfiguration().(*GetTlsConfigurationResp_ClientTlsConfiguration_); ok {
709 return x.ClientTlsConfiguration
710 }
711 return nil
712 }
713
714 func (x *GetTlsConfigurationResp) GetServerTlsConfiguration() *GetTlsConfigurationResp_ServerTlsConfiguration {
715 if x, ok := x.GetTlsConfiguration().(*GetTlsConfigurationResp_ServerTlsConfiguration_); ok {
716 return x.ServerTlsConfiguration
717 }
718 return nil
719 }
720
721 type isGetTlsConfigurationResp_TlsConfiguration interface {
722 isGetTlsConfigurationResp_TlsConfiguration()
723 }
724
725 type GetTlsConfigurationResp_ClientTlsConfiguration_ struct {
726 ClientTlsConfiguration *GetTlsConfigurationResp_ClientTlsConfiguration `protobuf:"bytes,1,opt,name=client_tls_configuration,json=clientTlsConfiguration,proto3,oneof"`
727 }
728
729 type GetTlsConfigurationResp_ServerTlsConfiguration_ struct {
730 ServerTlsConfiguration *GetTlsConfigurationResp_ServerTlsConfiguration `protobuf:"bytes,2,opt,name=server_tls_configuration,json=serverTlsConfiguration,proto3,oneof"`
731 }
732
733 func (*GetTlsConfigurationResp_ClientTlsConfiguration_) isGetTlsConfigurationResp_TlsConfiguration() {
734 }
735
736 func (*GetTlsConfigurationResp_ServerTlsConfiguration_) isGetTlsConfigurationResp_TlsConfiguration() {
737 }
738
739 type OffloadPrivateKeyOperationReq struct {
740 state protoimpl.MessageState
741 sizeCache protoimpl.SizeCache
742 unknownFields protoimpl.UnknownFields
743
744 // The operation the private key is used for.
745 Operation OffloadPrivateKeyOperationReq_PrivateKeyOperation `protobuf:"varint,1,opt,name=operation,proto3,enum=s2a.proto.v2.OffloadPrivateKeyOperationReq_PrivateKeyOperation" json:"operation,omitempty"`
746 // The signature algorithm to be used for signing operations.
747 SignatureAlgorithm SignatureAlgorithm `protobuf:"varint,2,opt,name=signature_algorithm,json=signatureAlgorithm,proto3,enum=s2a.proto.v2.SignatureAlgorithm" json:"signature_algorithm,omitempty"`
748 // The input bytes to be signed or decrypted.
749 //
750 // Types that are assignable to InBytes:
751 //
752 // *OffloadPrivateKeyOperationReq_RawBytes
753 // *OffloadPrivateKeyOperationReq_Sha256Digest
754 // *OffloadPrivateKeyOperationReq_Sha384Digest
755 // *OffloadPrivateKeyOperationReq_Sha512Digest
756 InBytes isOffloadPrivateKeyOperationReq_InBytes `protobuf_oneof:"in_bytes"`
757 }
758
759 func (x *OffloadPrivateKeyOperationReq) Reset() {
760 *x = OffloadPrivateKeyOperationReq{}
761 if protoimpl.UnsafeEnabled {
762 mi := &file_internal_proto_v2_s2a_s2a_proto_msgTypes[5]
763 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
764 ms.StoreMessageInfo(mi)
765 }
766 }
767
768 func (x *OffloadPrivateKeyOperationReq) String() string {
769 return protoimpl.X.MessageStringOf(x)
770 }
771
772 func (*OffloadPrivateKeyOperationReq) ProtoMessage() {}
773
774 func (x *OffloadPrivateKeyOperationReq) ProtoReflect() protoreflect.Message {
775 mi := &file_internal_proto_v2_s2a_s2a_proto_msgTypes[5]
776 if protoimpl.UnsafeEnabled && x != nil {
777 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
778 if ms.LoadMessageInfo() == nil {
779 ms.StoreMessageInfo(mi)
780 }
781 return ms
782 }
783 return mi.MessageOf(x)
784 }
785
786 // Deprecated: Use OffloadPrivateKeyOperationReq.ProtoReflect.Descriptor instead.
787 func (*OffloadPrivateKeyOperationReq) Descriptor() ([]byte, []int) {
788 return file_internal_proto_v2_s2a_s2a_proto_rawDescGZIP(), []int{5}
789 }
790
791 func (x *OffloadPrivateKeyOperationReq) GetOperation() OffloadPrivateKeyOperationReq_PrivateKeyOperation {
792 if x != nil {
793 return x.Operation
794 }
795 return OffloadPrivateKeyOperationReq_UNSPECIFIED
796 }
797
798 func (x *OffloadPrivateKeyOperationReq) GetSignatureAlgorithm() SignatureAlgorithm {
799 if x != nil {
800 return x.SignatureAlgorithm
801 }
802 return SignatureAlgorithm_S2A_SSL_SIGN_UNSPECIFIED
803 }
804
805 func (m *OffloadPrivateKeyOperationReq) GetInBytes() isOffloadPrivateKeyOperationReq_InBytes {
806 if m != nil {
807 return m.InBytes
808 }
809 return nil
810 }
811
812 func (x *OffloadPrivateKeyOperationReq) GetRawBytes() []byte {
813 if x, ok := x.GetInBytes().(*OffloadPrivateKeyOperationReq_RawBytes); ok {
814 return x.RawBytes
815 }
816 return nil
817 }
818
819 func (x *OffloadPrivateKeyOperationReq) GetSha256Digest() []byte {
820 if x, ok := x.GetInBytes().(*OffloadPrivateKeyOperationReq_Sha256Digest); ok {
821 return x.Sha256Digest
822 }
823 return nil
824 }
825
826 func (x *OffloadPrivateKeyOperationReq) GetSha384Digest() []byte {
827 if x, ok := x.GetInBytes().(*OffloadPrivateKeyOperationReq_Sha384Digest); ok {
828 return x.Sha384Digest
829 }
830 return nil
831 }
832
833 func (x *OffloadPrivateKeyOperationReq) GetSha512Digest() []byte {
834 if x, ok := x.GetInBytes().(*OffloadPrivateKeyOperationReq_Sha512Digest); ok {
835 return x.Sha512Digest
836 }
837 return nil
838 }
839
840 type isOffloadPrivateKeyOperationReq_InBytes interface {
841 isOffloadPrivateKeyOperationReq_InBytes()
842 }
843
844 type OffloadPrivateKeyOperationReq_RawBytes struct {
845 // Raw bytes to be hashed and signed, or decrypted.
846 RawBytes []byte `protobuf:"bytes,4,opt,name=raw_bytes,json=rawBytes,proto3,oneof"`
847 }
848
849 type OffloadPrivateKeyOperationReq_Sha256Digest struct {
850 // A SHA256 hash to be signed. Must be 32 bytes.
851 Sha256Digest []byte `protobuf:"bytes,5,opt,name=sha256_digest,json=sha256Digest,proto3,oneof"`
852 }
853
854 type OffloadPrivateKeyOperationReq_Sha384Digest struct {
855 // A SHA384 hash to be signed. Must be 48 bytes.
856 Sha384Digest []byte `protobuf:"bytes,6,opt,name=sha384_digest,json=sha384Digest,proto3,oneof"`
857 }
858
859 type OffloadPrivateKeyOperationReq_Sha512Digest struct {
860 // A SHA512 hash to be signed. Must be 64 bytes.
861 Sha512Digest []byte `protobuf:"bytes,7,opt,name=sha512_digest,json=sha512Digest,proto3,oneof"`
862 }
863
864 func (*OffloadPrivateKeyOperationReq_RawBytes) isOffloadPrivateKeyOperationReq_InBytes() {}
865
866 func (*OffloadPrivateKeyOperationReq_Sha256Digest) isOffloadPrivateKeyOperationReq_InBytes() {}
867
868 func (*OffloadPrivateKeyOperationReq_Sha384Digest) isOffloadPrivateKeyOperationReq_InBytes() {}
869
870 func (*OffloadPrivateKeyOperationReq_Sha512Digest) isOffloadPrivateKeyOperationReq_InBytes() {}
871
872 type OffloadPrivateKeyOperationResp struct {
873 state protoimpl.MessageState
874 sizeCache protoimpl.SizeCache
875 unknownFields protoimpl.UnknownFields
876
877 // The signed or decrypted output bytes.
878 OutBytes []byte `protobuf:"bytes,1,opt,name=out_bytes,json=outBytes,proto3" json:"out_bytes,omitempty"`
879 }
880
881 func (x *OffloadPrivateKeyOperationResp) Reset() {
882 *x = OffloadPrivateKeyOperationResp{}
883 if protoimpl.UnsafeEnabled {
884 mi := &file_internal_proto_v2_s2a_s2a_proto_msgTypes[6]
885 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
886 ms.StoreMessageInfo(mi)
887 }
888 }
889
890 func (x *OffloadPrivateKeyOperationResp) String() string {
891 return protoimpl.X.MessageStringOf(x)
892 }
893
894 func (*OffloadPrivateKeyOperationResp) ProtoMessage() {}
895
896 func (x *OffloadPrivateKeyOperationResp) ProtoReflect() protoreflect.Message {
897 mi := &file_internal_proto_v2_s2a_s2a_proto_msgTypes[6]
898 if protoimpl.UnsafeEnabled && x != nil {
899 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
900 if ms.LoadMessageInfo() == nil {
901 ms.StoreMessageInfo(mi)
902 }
903 return ms
904 }
905 return mi.MessageOf(x)
906 }
907
908 // Deprecated: Use OffloadPrivateKeyOperationResp.ProtoReflect.Descriptor instead.
909 func (*OffloadPrivateKeyOperationResp) Descriptor() ([]byte, []int) {
910 return file_internal_proto_v2_s2a_s2a_proto_rawDescGZIP(), []int{6}
911 }
912
913 func (x *OffloadPrivateKeyOperationResp) GetOutBytes() []byte {
914 if x != nil {
915 return x.OutBytes
916 }
917 return nil
918 }
919
920 type OffloadResumptionKeyOperationReq struct {
921 state protoimpl.MessageState
922 sizeCache protoimpl.SizeCache
923 unknownFields protoimpl.UnknownFields
924
925 // The operation the resumption key is used for.
926 Operation OffloadResumptionKeyOperationReq_ResumptionKeyOperation `protobuf:"varint,1,opt,name=operation,proto3,enum=s2a.proto.v2.OffloadResumptionKeyOperationReq_ResumptionKeyOperation" json:"operation,omitempty"`
927 // The bytes to be encrypted or decrypted.
928 InBytes []byte `protobuf:"bytes,2,opt,name=in_bytes,json=inBytes,proto3" json:"in_bytes,omitempty"`
929 }
930
931 func (x *OffloadResumptionKeyOperationReq) Reset() {
932 *x = OffloadResumptionKeyOperationReq{}
933 if protoimpl.UnsafeEnabled {
934 mi := &file_internal_proto_v2_s2a_s2a_proto_msgTypes[7]
935 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
936 ms.StoreMessageInfo(mi)
937 }
938 }
939
940 func (x *OffloadResumptionKeyOperationReq) String() string {
941 return protoimpl.X.MessageStringOf(x)
942 }
943
944 func (*OffloadResumptionKeyOperationReq) ProtoMessage() {}
945
946 func (x *OffloadResumptionKeyOperationReq) ProtoReflect() protoreflect.Message {
947 mi := &file_internal_proto_v2_s2a_s2a_proto_msgTypes[7]
948 if protoimpl.UnsafeEnabled && x != nil {
949 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
950 if ms.LoadMessageInfo() == nil {
951 ms.StoreMessageInfo(mi)
952 }
953 return ms
954 }
955 return mi.MessageOf(x)
956 }
957
958 // Deprecated: Use OffloadResumptionKeyOperationReq.ProtoReflect.Descriptor instead.
959 func (*OffloadResumptionKeyOperationReq) Descriptor() ([]byte, []int) {
960 return file_internal_proto_v2_s2a_s2a_proto_rawDescGZIP(), []int{7}
961 }
962
963 func (x *OffloadResumptionKeyOperationReq) GetOperation() OffloadResumptionKeyOperationReq_ResumptionKeyOperation {
964 if x != nil {
965 return x.Operation
966 }
967 return OffloadResumptionKeyOperationReq_UNSPECIFIED
968 }
969
970 func (x *OffloadResumptionKeyOperationReq) GetInBytes() []byte {
971 if x != nil {
972 return x.InBytes
973 }
974 return nil
975 }
976
977 type OffloadResumptionKeyOperationResp struct {
978 state protoimpl.MessageState
979 sizeCache protoimpl.SizeCache
980 unknownFields protoimpl.UnknownFields
981
982 // The encrypted or decrypted bytes.
983 OutBytes []byte `protobuf:"bytes,1,opt,name=out_bytes,json=outBytes,proto3" json:"out_bytes,omitempty"`
984 }
985
986 func (x *OffloadResumptionKeyOperationResp) Reset() {
987 *x = OffloadResumptionKeyOperationResp{}
988 if protoimpl.UnsafeEnabled {
989 mi := &file_internal_proto_v2_s2a_s2a_proto_msgTypes[8]
990 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
991 ms.StoreMessageInfo(mi)
992 }
993 }
994
995 func (x *OffloadResumptionKeyOperationResp) String() string {
996 return protoimpl.X.MessageStringOf(x)
997 }
998
999 func (*OffloadResumptionKeyOperationResp) ProtoMessage() {}
1000
1001 func (x *OffloadResumptionKeyOperationResp) ProtoReflect() protoreflect.Message {
1002 mi := &file_internal_proto_v2_s2a_s2a_proto_msgTypes[8]
1003 if protoimpl.UnsafeEnabled && x != nil {
1004 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1005 if ms.LoadMessageInfo() == nil {
1006 ms.StoreMessageInfo(mi)
1007 }
1008 return ms
1009 }
1010 return mi.MessageOf(x)
1011 }
1012
1013 // Deprecated: Use OffloadResumptionKeyOperationResp.ProtoReflect.Descriptor instead.
1014 func (*OffloadResumptionKeyOperationResp) Descriptor() ([]byte, []int) {
1015 return file_internal_proto_v2_s2a_s2a_proto_rawDescGZIP(), []int{8}
1016 }
1017
1018 func (x *OffloadResumptionKeyOperationResp) GetOutBytes() []byte {
1019 if x != nil {
1020 return x.OutBytes
1021 }
1022 return nil
1023 }
1024
1025 type ValidatePeerCertificateChainReq struct {
1026 state protoimpl.MessageState
1027 sizeCache protoimpl.SizeCache
1028 unknownFields protoimpl.UnknownFields
1029
1030 // The verification mode that S2A MUST use to validate the peer certificate
1031 // chain.
1032 Mode ValidatePeerCertificateChainReq_VerificationMode `protobuf:"varint,1,opt,name=mode,proto3,enum=s2a.proto.v2.ValidatePeerCertificateChainReq_VerificationMode" json:"mode,omitempty"`
1033 // Types that are assignable to PeerOneof:
1034 //
1035 // *ValidatePeerCertificateChainReq_ClientPeer_
1036 // *ValidatePeerCertificateChainReq_ServerPeer_
1037 PeerOneof isValidatePeerCertificateChainReq_PeerOneof `protobuf_oneof:"peer_oneof"`
1038 }
1039
1040 func (x *ValidatePeerCertificateChainReq) Reset() {
1041 *x = ValidatePeerCertificateChainReq{}
1042 if protoimpl.UnsafeEnabled {
1043 mi := &file_internal_proto_v2_s2a_s2a_proto_msgTypes[9]
1044 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1045 ms.StoreMessageInfo(mi)
1046 }
1047 }
1048
1049 func (x *ValidatePeerCertificateChainReq) String() string {
1050 return protoimpl.X.MessageStringOf(x)
1051 }
1052
1053 func (*ValidatePeerCertificateChainReq) ProtoMessage() {}
1054
1055 func (x *ValidatePeerCertificateChainReq) ProtoReflect() protoreflect.Message {
1056 mi := &file_internal_proto_v2_s2a_s2a_proto_msgTypes[9]
1057 if protoimpl.UnsafeEnabled && x != nil {
1058 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1059 if ms.LoadMessageInfo() == nil {
1060 ms.StoreMessageInfo(mi)
1061 }
1062 return ms
1063 }
1064 return mi.MessageOf(x)
1065 }
1066
1067 // Deprecated: Use ValidatePeerCertificateChainReq.ProtoReflect.Descriptor instead.
1068 func (*ValidatePeerCertificateChainReq) Descriptor() ([]byte, []int) {
1069 return file_internal_proto_v2_s2a_s2a_proto_rawDescGZIP(), []int{9}
1070 }
1071
1072 func (x *ValidatePeerCertificateChainReq) GetMode() ValidatePeerCertificateChainReq_VerificationMode {
1073 if x != nil {
1074 return x.Mode
1075 }
1076 return ValidatePeerCertificateChainReq_UNSPECIFIED
1077 }
1078
1079 func (m *ValidatePeerCertificateChainReq) GetPeerOneof() isValidatePeerCertificateChainReq_PeerOneof {
1080 if m != nil {
1081 return m.PeerOneof
1082 }
1083 return nil
1084 }
1085
1086 func (x *ValidatePeerCertificateChainReq) GetClientPeer() *ValidatePeerCertificateChainReq_ClientPeer {
1087 if x, ok := x.GetPeerOneof().(*ValidatePeerCertificateChainReq_ClientPeer_); ok {
1088 return x.ClientPeer
1089 }
1090 return nil
1091 }
1092
1093 func (x *ValidatePeerCertificateChainReq) GetServerPeer() *ValidatePeerCertificateChainReq_ServerPeer {
1094 if x, ok := x.GetPeerOneof().(*ValidatePeerCertificateChainReq_ServerPeer_); ok {
1095 return x.ServerPeer
1096 }
1097 return nil
1098 }
1099
1100 type isValidatePeerCertificateChainReq_PeerOneof interface {
1101 isValidatePeerCertificateChainReq_PeerOneof()
1102 }
1103
1104 type ValidatePeerCertificateChainReq_ClientPeer_ struct {
1105 ClientPeer *ValidatePeerCertificateChainReq_ClientPeer `protobuf:"bytes,2,opt,name=client_peer,json=clientPeer,proto3,oneof"`
1106 }
1107
1108 type ValidatePeerCertificateChainReq_ServerPeer_ struct {
1109 ServerPeer *ValidatePeerCertificateChainReq_ServerPeer `protobuf:"bytes,3,opt,name=server_peer,json=serverPeer,proto3,oneof"`
1110 }
1111
1112 func (*ValidatePeerCertificateChainReq_ClientPeer_) isValidatePeerCertificateChainReq_PeerOneof() {}
1113
1114 func (*ValidatePeerCertificateChainReq_ServerPeer_) isValidatePeerCertificateChainReq_PeerOneof() {}
1115
1116 type ValidatePeerCertificateChainResp struct {
1117 state protoimpl.MessageState
1118 sizeCache protoimpl.SizeCache
1119 unknownFields protoimpl.UnknownFields
1120
1121 // The result of validating the peer certificate chain.
1122 ValidationResult ValidatePeerCertificateChainResp_ValidationResult `protobuf:"varint,1,opt,name=validation_result,json=validationResult,proto3,enum=s2a.proto.v2.ValidatePeerCertificateChainResp_ValidationResult" json:"validation_result,omitempty"`
1123 // The validation details. This field is only populated when the validation
1124 // result is NOT SUCCESS.
1125 ValidationDetails string `protobuf:"bytes,2,opt,name=validation_details,json=validationDetails,proto3" json:"validation_details,omitempty"`
1126 // The S2A context contains information from the peer certificate chain.
1127 //
1128 // The S2A context MAY be populated even if validation of the peer certificate
1129 // chain fails.
1130 Context *s2a_context_go_proto.S2AContext `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"`
1131 }
1132
1133 func (x *ValidatePeerCertificateChainResp) Reset() {
1134 *x = ValidatePeerCertificateChainResp{}
1135 if protoimpl.UnsafeEnabled {
1136 mi := &file_internal_proto_v2_s2a_s2a_proto_msgTypes[10]
1137 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1138 ms.StoreMessageInfo(mi)
1139 }
1140 }
1141
1142 func (x *ValidatePeerCertificateChainResp) String() string {
1143 return protoimpl.X.MessageStringOf(x)
1144 }
1145
1146 func (*ValidatePeerCertificateChainResp) ProtoMessage() {}
1147
1148 func (x *ValidatePeerCertificateChainResp) ProtoReflect() protoreflect.Message {
1149 mi := &file_internal_proto_v2_s2a_s2a_proto_msgTypes[10]
1150 if protoimpl.UnsafeEnabled && x != nil {
1151 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1152 if ms.LoadMessageInfo() == nil {
1153 ms.StoreMessageInfo(mi)
1154 }
1155 return ms
1156 }
1157 return mi.MessageOf(x)
1158 }
1159
1160 // Deprecated: Use ValidatePeerCertificateChainResp.ProtoReflect.Descriptor instead.
1161 func (*ValidatePeerCertificateChainResp) Descriptor() ([]byte, []int) {
1162 return file_internal_proto_v2_s2a_s2a_proto_rawDescGZIP(), []int{10}
1163 }
1164
1165 func (x *ValidatePeerCertificateChainResp) GetValidationResult() ValidatePeerCertificateChainResp_ValidationResult {
1166 if x != nil {
1167 return x.ValidationResult
1168 }
1169 return ValidatePeerCertificateChainResp_UNSPECIFIED
1170 }
1171
1172 func (x *ValidatePeerCertificateChainResp) GetValidationDetails() string {
1173 if x != nil {
1174 return x.ValidationDetails
1175 }
1176 return ""
1177 }
1178
1179 func (x *ValidatePeerCertificateChainResp) GetContext() *s2a_context_go_proto.S2AContext {
1180 if x != nil {
1181 return x.Context
1182 }
1183 return nil
1184 }
1185
1186 type SessionReq struct {
1187 state protoimpl.MessageState
1188 sizeCache protoimpl.SizeCache
1189 unknownFields protoimpl.UnknownFields
1190
1191 // The identity corresponding to the TLS configurations that MUST be used for
1192 // the TLS handshake.
1193 //
1194 // If a managed identity already exists, the local identity and authentication
1195 // mechanisms are ignored. If a managed identity doesn't exist and the local
1196 // identity is not populated, S2A will try to deduce the managed identity to
1197 // use from the SNI extension. If that also fails, S2A uses the default
1198 // identity (if one exists).
1199 LocalIdentity *common_go_proto.Identity `protobuf:"bytes,7,opt,name=local_identity,json=localIdentity,proto3" json:"local_identity,omitempty"`
1200 // The authentication mechanisms that the application wishes to use to
1201 // authenticate to S2A, ordered by preference. S2A will always use the first
1202 // authentication mechanism that matches the managed identity.
1203 AuthenticationMechanisms []*AuthenticationMechanism `protobuf:"bytes,2,rep,name=authentication_mechanisms,json=authenticationMechanisms,proto3" json:"authentication_mechanisms,omitempty"`
1204 // Types that are assignable to ReqOneof:
1205 //
1206 // *SessionReq_GetTlsConfigurationReq
1207 // *SessionReq_OffloadPrivateKeyOperationReq
1208 // *SessionReq_OffloadResumptionKeyOperationReq
1209 // *SessionReq_ValidatePeerCertificateChainReq
1210 ReqOneof isSessionReq_ReqOneof `protobuf_oneof:"req_oneof"`
1211 }
1212
1213 func (x *SessionReq) Reset() {
1214 *x = SessionReq{}
1215 if protoimpl.UnsafeEnabled {
1216 mi := &file_internal_proto_v2_s2a_s2a_proto_msgTypes[11]
1217 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1218 ms.StoreMessageInfo(mi)
1219 }
1220 }
1221
1222 func (x *SessionReq) String() string {
1223 return protoimpl.X.MessageStringOf(x)
1224 }
1225
1226 func (*SessionReq) ProtoMessage() {}
1227
1228 func (x *SessionReq) ProtoReflect() protoreflect.Message {
1229 mi := &file_internal_proto_v2_s2a_s2a_proto_msgTypes[11]
1230 if protoimpl.UnsafeEnabled && x != nil {
1231 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1232 if ms.LoadMessageInfo() == nil {
1233 ms.StoreMessageInfo(mi)
1234 }
1235 return ms
1236 }
1237 return mi.MessageOf(x)
1238 }
1239
1240 // Deprecated: Use SessionReq.ProtoReflect.Descriptor instead.
1241 func (*SessionReq) Descriptor() ([]byte, []int) {
1242 return file_internal_proto_v2_s2a_s2a_proto_rawDescGZIP(), []int{11}
1243 }
1244
1245 func (x *SessionReq) GetLocalIdentity() *common_go_proto.Identity {
1246 if x != nil {
1247 return x.LocalIdentity
1248 }
1249 return nil
1250 }
1251
1252 func (x *SessionReq) GetAuthenticationMechanisms() []*AuthenticationMechanism {
1253 if x != nil {
1254 return x.AuthenticationMechanisms
1255 }
1256 return nil
1257 }
1258
1259 func (m *SessionReq) GetReqOneof() isSessionReq_ReqOneof {
1260 if m != nil {
1261 return m.ReqOneof
1262 }
1263 return nil
1264 }
1265
1266 func (x *SessionReq) GetGetTlsConfigurationReq() *GetTlsConfigurationReq {
1267 if x, ok := x.GetReqOneof().(*SessionReq_GetTlsConfigurationReq); ok {
1268 return x.GetTlsConfigurationReq
1269 }
1270 return nil
1271 }
1272
1273 func (x *SessionReq) GetOffloadPrivateKeyOperationReq() *OffloadPrivateKeyOperationReq {
1274 if x, ok := x.GetReqOneof().(*SessionReq_OffloadPrivateKeyOperationReq); ok {
1275 return x.OffloadPrivateKeyOperationReq
1276 }
1277 return nil
1278 }
1279
1280 func (x *SessionReq) GetOffloadResumptionKeyOperationReq() *OffloadResumptionKeyOperationReq {
1281 if x, ok := x.GetReqOneof().(*SessionReq_OffloadResumptionKeyOperationReq); ok {
1282 return x.OffloadResumptionKeyOperationReq
1283 }
1284 return nil
1285 }
1286
1287 func (x *SessionReq) GetValidatePeerCertificateChainReq() *ValidatePeerCertificateChainReq {
1288 if x, ok := x.GetReqOneof().(*SessionReq_ValidatePeerCertificateChainReq); ok {
1289 return x.ValidatePeerCertificateChainReq
1290 }
1291 return nil
1292 }
1293
1294 type isSessionReq_ReqOneof interface {
1295 isSessionReq_ReqOneof()
1296 }
1297
1298 type SessionReq_GetTlsConfigurationReq struct {
1299 // Requests the certificate chain and TLS configuration corresponding to the
1300 // local identity, which the application MUST use to negotiate the TLS
1301 // handshake.
1302 GetTlsConfigurationReq *GetTlsConfigurationReq `protobuf:"bytes,3,opt,name=get_tls_configuration_req,json=getTlsConfigurationReq,proto3,oneof"`
1303 }
1304
1305 type SessionReq_OffloadPrivateKeyOperationReq struct {
1306 // Signs or decrypts the input bytes using a private key corresponding to
1307 // the local identity in the request.
1308 //
1309 // WARNING: More than one OffloadPrivateKeyOperationReq may be sent to the
1310 // S2Av2 by a server during a TLS 1.2 handshake.
1311 OffloadPrivateKeyOperationReq *OffloadPrivateKeyOperationReq `protobuf:"bytes,4,opt,name=offload_private_key_operation_req,json=offloadPrivateKeyOperationReq,proto3,oneof"`
1312 }
1313
1314 type SessionReq_OffloadResumptionKeyOperationReq struct {
1315 // Encrypts or decrypts the input bytes using a resumption key corresponding
1316 // to the local identity in the request.
1317 OffloadResumptionKeyOperationReq *OffloadResumptionKeyOperationReq `protobuf:"bytes,5,opt,name=offload_resumption_key_operation_req,json=offloadResumptionKeyOperationReq,proto3,oneof"`
1318 }
1319
1320 type SessionReq_ValidatePeerCertificateChainReq struct {
1321 // Verifies the peer's certificate chain using
1322 // (a) trust bundles corresponding to the local identity in the request, and
1323 // (b) the verification mode in the request.
1324 ValidatePeerCertificateChainReq *ValidatePeerCertificateChainReq `protobuf:"bytes,6,opt,name=validate_peer_certificate_chain_req,json=validatePeerCertificateChainReq,proto3,oneof"`
1325 }
1326
1327 func (*SessionReq_GetTlsConfigurationReq) isSessionReq_ReqOneof() {}
1328
1329 func (*SessionReq_OffloadPrivateKeyOperationReq) isSessionReq_ReqOneof() {}
1330
1331 func (*SessionReq_OffloadResumptionKeyOperationReq) isSessionReq_ReqOneof() {}
1332
1333 func (*SessionReq_ValidatePeerCertificateChainReq) isSessionReq_ReqOneof() {}
1334
1335 type SessionResp struct {
1336 state protoimpl.MessageState
1337 sizeCache protoimpl.SizeCache
1338 unknownFields protoimpl.UnknownFields
1339
1340 // Status of the session response.
1341 //
1342 // The status field is populated so that if an error occurs when making an
1343 // individual request, then communication with the S2A may continue. If an
1344 // error is returned directly (e.g. at the gRPC layer), then it may result
1345 // that the bidirectional stream being closed.
1346 Status *Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
1347 // Types that are assignable to RespOneof:
1348 //
1349 // *SessionResp_GetTlsConfigurationResp
1350 // *SessionResp_OffloadPrivateKeyOperationResp
1351 // *SessionResp_OffloadResumptionKeyOperationResp
1352 // *SessionResp_ValidatePeerCertificateChainResp
1353 RespOneof isSessionResp_RespOneof `protobuf_oneof:"resp_oneof"`
1354 }
1355
1356 func (x *SessionResp) Reset() {
1357 *x = SessionResp{}
1358 if protoimpl.UnsafeEnabled {
1359 mi := &file_internal_proto_v2_s2a_s2a_proto_msgTypes[12]
1360 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1361 ms.StoreMessageInfo(mi)
1362 }
1363 }
1364
1365 func (x *SessionResp) String() string {
1366 return protoimpl.X.MessageStringOf(x)
1367 }
1368
1369 func (*SessionResp) ProtoMessage() {}
1370
1371 func (x *SessionResp) ProtoReflect() protoreflect.Message {
1372 mi := &file_internal_proto_v2_s2a_s2a_proto_msgTypes[12]
1373 if protoimpl.UnsafeEnabled && x != nil {
1374 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1375 if ms.LoadMessageInfo() == nil {
1376 ms.StoreMessageInfo(mi)
1377 }
1378 return ms
1379 }
1380 return mi.MessageOf(x)
1381 }
1382
1383 // Deprecated: Use SessionResp.ProtoReflect.Descriptor instead.
1384 func (*SessionResp) Descriptor() ([]byte, []int) {
1385 return file_internal_proto_v2_s2a_s2a_proto_rawDescGZIP(), []int{12}
1386 }
1387
1388 func (x *SessionResp) GetStatus() *Status {
1389 if x != nil {
1390 return x.Status
1391 }
1392 return nil
1393 }
1394
1395 func (m *SessionResp) GetRespOneof() isSessionResp_RespOneof {
1396 if m != nil {
1397 return m.RespOneof
1398 }
1399 return nil
1400 }
1401
1402 func (x *SessionResp) GetGetTlsConfigurationResp() *GetTlsConfigurationResp {
1403 if x, ok := x.GetRespOneof().(*SessionResp_GetTlsConfigurationResp); ok {
1404 return x.GetTlsConfigurationResp
1405 }
1406 return nil
1407 }
1408
1409 func (x *SessionResp) GetOffloadPrivateKeyOperationResp() *OffloadPrivateKeyOperationResp {
1410 if x, ok := x.GetRespOneof().(*SessionResp_OffloadPrivateKeyOperationResp); ok {
1411 return x.OffloadPrivateKeyOperationResp
1412 }
1413 return nil
1414 }
1415
1416 func (x *SessionResp) GetOffloadResumptionKeyOperationResp() *OffloadResumptionKeyOperationResp {
1417 if x, ok := x.GetRespOneof().(*SessionResp_OffloadResumptionKeyOperationResp); ok {
1418 return x.OffloadResumptionKeyOperationResp
1419 }
1420 return nil
1421 }
1422
1423 func (x *SessionResp) GetValidatePeerCertificateChainResp() *ValidatePeerCertificateChainResp {
1424 if x, ok := x.GetRespOneof().(*SessionResp_ValidatePeerCertificateChainResp); ok {
1425 return x.ValidatePeerCertificateChainResp
1426 }
1427 return nil
1428 }
1429
1430 type isSessionResp_RespOneof interface {
1431 isSessionResp_RespOneof()
1432 }
1433
1434 type SessionResp_GetTlsConfigurationResp struct {
1435 // Contains the certificate chain and TLS configurations corresponding to
1436 // the local identity.
1437 GetTlsConfigurationResp *GetTlsConfigurationResp `protobuf:"bytes,2,opt,name=get_tls_configuration_resp,json=getTlsConfigurationResp,proto3,oneof"`
1438 }
1439
1440 type SessionResp_OffloadPrivateKeyOperationResp struct {
1441 // Contains the signed or encrypted output bytes using the private key
1442 // corresponding to the local identity.
1443 OffloadPrivateKeyOperationResp *OffloadPrivateKeyOperationResp `protobuf:"bytes,3,opt,name=offload_private_key_operation_resp,json=offloadPrivateKeyOperationResp,proto3,oneof"`
1444 }
1445
1446 type SessionResp_OffloadResumptionKeyOperationResp struct {
1447 // Contains the encrypted or decrypted output bytes using the resumption key
1448 // corresponding to the local identity.
1449 OffloadResumptionKeyOperationResp *OffloadResumptionKeyOperationResp `protobuf:"bytes,4,opt,name=offload_resumption_key_operation_resp,json=offloadResumptionKeyOperationResp,proto3,oneof"`
1450 }
1451
1452 type SessionResp_ValidatePeerCertificateChainResp struct {
1453 // Contains the validation result, peer identity and fingerprints of peer
1454 // certificates.
1455 ValidatePeerCertificateChainResp *ValidatePeerCertificateChainResp `protobuf:"bytes,5,opt,name=validate_peer_certificate_chain_resp,json=validatePeerCertificateChainResp,proto3,oneof"`
1456 }
1457
1458 func (*SessionResp_GetTlsConfigurationResp) isSessionResp_RespOneof() {}
1459
1460 func (*SessionResp_OffloadPrivateKeyOperationResp) isSessionResp_RespOneof() {}
1461
1462 func (*SessionResp_OffloadResumptionKeyOperationResp) isSessionResp_RespOneof() {}
1463
1464 func (*SessionResp_ValidatePeerCertificateChainResp) isSessionResp_RespOneof() {}
1465
1466 // Next ID: 8
1467 type GetTlsConfigurationResp_ClientTlsConfiguration struct {
1468 state protoimpl.MessageState
1469 sizeCache protoimpl.SizeCache
1470 unknownFields protoimpl.UnknownFields
1471
1472 // The certificate chain that the client MUST use for the TLS handshake.
1473 // It's a list of PEM-encoded certificates, ordered from leaf to root,
1474 // excluding the root.
1475 CertificateChain []string `protobuf:"bytes,1,rep,name=certificate_chain,json=certificateChain,proto3" json:"certificate_chain,omitempty"`
1476 // The minimum TLS version number that the client MUST use for the TLS
1477 // handshake. If this field is not provided, the client MUST use the default
1478 // minimum version of the client's TLS library.
1479 MinTlsVersion common_go_proto.TLSVersion `protobuf:"varint,2,opt,name=min_tls_version,json=minTlsVersion,proto3,enum=s2a.proto.v2.TLSVersion" json:"min_tls_version,omitempty"`
1480 // The maximum TLS version number that the client MUST use for the TLS
1481 // handshake. If this field is not provided, the client MUST use the default
1482 // maximum version of the client's TLS library.
1483 MaxTlsVersion common_go_proto.TLSVersion `protobuf:"varint,3,opt,name=max_tls_version,json=maxTlsVersion,proto3,enum=s2a.proto.v2.TLSVersion" json:"max_tls_version,omitempty"`
1484 // The ordered list of TLS 1.0-1.2 ciphersuites that the client MAY offer to
1485 // negotiate in the TLS handshake.
1486 Ciphersuites []common_go_proto.Ciphersuite `protobuf:"varint,6,rep,packed,name=ciphersuites,proto3,enum=s2a.proto.v2.Ciphersuite" json:"ciphersuites,omitempty"`
1487 // The policy that dictates how the client negotiates ALPN during the TLS
1488 // handshake.
1489 AlpnPolicy *AlpnPolicy `protobuf:"bytes,7,opt,name=alpn_policy,json=alpnPolicy,proto3" json:"alpn_policy,omitempty"`
1490 }
1491
1492 func (x *GetTlsConfigurationResp_ClientTlsConfiguration) Reset() {
1493 *x = GetTlsConfigurationResp_ClientTlsConfiguration{}
1494 if protoimpl.UnsafeEnabled {
1495 mi := &file_internal_proto_v2_s2a_s2a_proto_msgTypes[13]
1496 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1497 ms.StoreMessageInfo(mi)
1498 }
1499 }
1500
1501 func (x *GetTlsConfigurationResp_ClientTlsConfiguration) String() string {
1502 return protoimpl.X.MessageStringOf(x)
1503 }
1504
1505 func (*GetTlsConfigurationResp_ClientTlsConfiguration) ProtoMessage() {}
1506
1507 func (x *GetTlsConfigurationResp_ClientTlsConfiguration) ProtoReflect() protoreflect.Message {
1508 mi := &file_internal_proto_v2_s2a_s2a_proto_msgTypes[13]
1509 if protoimpl.UnsafeEnabled && x != nil {
1510 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1511 if ms.LoadMessageInfo() == nil {
1512 ms.StoreMessageInfo(mi)
1513 }
1514 return ms
1515 }
1516 return mi.MessageOf(x)
1517 }
1518
1519 // Deprecated: Use GetTlsConfigurationResp_ClientTlsConfiguration.ProtoReflect.Descriptor instead.
1520 func (*GetTlsConfigurationResp_ClientTlsConfiguration) Descriptor() ([]byte, []int) {
1521 return file_internal_proto_v2_s2a_s2a_proto_rawDescGZIP(), []int{4, 0}
1522 }
1523
1524 func (x *GetTlsConfigurationResp_ClientTlsConfiguration) GetCertificateChain() []string {
1525 if x != nil {
1526 return x.CertificateChain
1527 }
1528 return nil
1529 }
1530
1531 func (x *GetTlsConfigurationResp_ClientTlsConfiguration) GetMinTlsVersion() common_go_proto.TLSVersion {
1532 if x != nil {
1533 return x.MinTlsVersion
1534 }
1535 return common_go_proto.TLSVersion(0)
1536 }
1537
1538 func (x *GetTlsConfigurationResp_ClientTlsConfiguration) GetMaxTlsVersion() common_go_proto.TLSVersion {
1539 if x != nil {
1540 return x.MaxTlsVersion
1541 }
1542 return common_go_proto.TLSVersion(0)
1543 }
1544
1545 func (x *GetTlsConfigurationResp_ClientTlsConfiguration) GetCiphersuites() []common_go_proto.Ciphersuite {
1546 if x != nil {
1547 return x.Ciphersuites
1548 }
1549 return nil
1550 }
1551
1552 func (x *GetTlsConfigurationResp_ClientTlsConfiguration) GetAlpnPolicy() *AlpnPolicy {
1553 if x != nil {
1554 return x.AlpnPolicy
1555 }
1556 return nil
1557 }
1558
1559 // Next ID: 12
1560 type GetTlsConfigurationResp_ServerTlsConfiguration struct {
1561 state protoimpl.MessageState
1562 sizeCache protoimpl.SizeCache
1563 unknownFields protoimpl.UnknownFields
1564
1565 // The certificate chain that the server MUST use for the TLS handshake.
1566 // It's a list of PEM-encoded certificates, ordered from leaf to root,
1567 // excluding the root.
1568 CertificateChain []string `protobuf:"bytes,1,rep,name=certificate_chain,json=certificateChain,proto3" json:"certificate_chain,omitempty"`
1569 // The minimum TLS version number that the server MUST use for the TLS
1570 // handshake. If this field is not provided, the server MUST use the default
1571 // minimum version of the server's TLS library.
1572 MinTlsVersion common_go_proto.TLSVersion `protobuf:"varint,2,opt,name=min_tls_version,json=minTlsVersion,proto3,enum=s2a.proto.v2.TLSVersion" json:"min_tls_version,omitempty"`
1573 // The maximum TLS version number that the server MUST use for the TLS
1574 // handshake. If this field is not provided, the server MUST use the default
1575 // maximum version of the server's TLS library.
1576 MaxTlsVersion common_go_proto.TLSVersion `protobuf:"varint,3,opt,name=max_tls_version,json=maxTlsVersion,proto3,enum=s2a.proto.v2.TLSVersion" json:"max_tls_version,omitempty"`
1577 // The ordered list of TLS 1.0-1.2 ciphersuites that the server MAY offer to
1578 // negotiate in the TLS handshake.
1579 Ciphersuites []common_go_proto.Ciphersuite `protobuf:"varint,10,rep,packed,name=ciphersuites,proto3,enum=s2a.proto.v2.Ciphersuite" json:"ciphersuites,omitempty"`
1580 // Whether to enable TLS resumption.
1581 TlsResumptionEnabled bool `protobuf:"varint,6,opt,name=tls_resumption_enabled,json=tlsResumptionEnabled,proto3" json:"tls_resumption_enabled,omitempty"`
1582 // Whether the server MUST request a client certificate (i.e. to negotiate
1583 // TLS vs. mTLS).
1584 RequestClientCertificate GetTlsConfigurationResp_ServerTlsConfiguration_RequestClientCertificate `protobuf:"varint,7,opt,name=request_client_certificate,json=requestClientCertificate,proto3,enum=s2a.proto.v2.GetTlsConfigurationResp_ServerTlsConfiguration_RequestClientCertificate" json:"request_client_certificate,omitempty"`
1585 // Returns the maximum number of extra bytes that
1586 // |OffloadResumptionKeyOperation| can add to the number of unencrypted
1587 // bytes to form the encrypted bytes.
1588 MaxOverheadOfTicketAead uint32 `protobuf:"varint,9,opt,name=max_overhead_of_ticket_aead,json=maxOverheadOfTicketAead,proto3" json:"max_overhead_of_ticket_aead,omitempty"`
1589 // The policy that dictates how the server negotiates ALPN during the TLS
1590 // handshake.
1591 AlpnPolicy *AlpnPolicy `protobuf:"bytes,11,opt,name=alpn_policy,json=alpnPolicy,proto3" json:"alpn_policy,omitempty"`
1592 }
1593
1594 func (x *GetTlsConfigurationResp_ServerTlsConfiguration) Reset() {
1595 *x = GetTlsConfigurationResp_ServerTlsConfiguration{}
1596 if protoimpl.UnsafeEnabled {
1597 mi := &file_internal_proto_v2_s2a_s2a_proto_msgTypes[14]
1598 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1599 ms.StoreMessageInfo(mi)
1600 }
1601 }
1602
1603 func (x *GetTlsConfigurationResp_ServerTlsConfiguration) String() string {
1604 return protoimpl.X.MessageStringOf(x)
1605 }
1606
1607 func (*GetTlsConfigurationResp_ServerTlsConfiguration) ProtoMessage() {}
1608
1609 func (x *GetTlsConfigurationResp_ServerTlsConfiguration) ProtoReflect() protoreflect.Message {
1610 mi := &file_internal_proto_v2_s2a_s2a_proto_msgTypes[14]
1611 if protoimpl.UnsafeEnabled && x != nil {
1612 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1613 if ms.LoadMessageInfo() == nil {
1614 ms.StoreMessageInfo(mi)
1615 }
1616 return ms
1617 }
1618 return mi.MessageOf(x)
1619 }
1620
1621 // Deprecated: Use GetTlsConfigurationResp_ServerTlsConfiguration.ProtoReflect.Descriptor instead.
1622 func (*GetTlsConfigurationResp_ServerTlsConfiguration) Descriptor() ([]byte, []int) {
1623 return file_internal_proto_v2_s2a_s2a_proto_rawDescGZIP(), []int{4, 1}
1624 }
1625
1626 func (x *GetTlsConfigurationResp_ServerTlsConfiguration) GetCertificateChain() []string {
1627 if x != nil {
1628 return x.CertificateChain
1629 }
1630 return nil
1631 }
1632
1633 func (x *GetTlsConfigurationResp_ServerTlsConfiguration) GetMinTlsVersion() common_go_proto.TLSVersion {
1634 if x != nil {
1635 return x.MinTlsVersion
1636 }
1637 return common_go_proto.TLSVersion(0)
1638 }
1639
1640 func (x *GetTlsConfigurationResp_ServerTlsConfiguration) GetMaxTlsVersion() common_go_proto.TLSVersion {
1641 if x != nil {
1642 return x.MaxTlsVersion
1643 }
1644 return common_go_proto.TLSVersion(0)
1645 }
1646
1647 func (x *GetTlsConfigurationResp_ServerTlsConfiguration) GetCiphersuites() []common_go_proto.Ciphersuite {
1648 if x != nil {
1649 return x.Ciphersuites
1650 }
1651 return nil
1652 }
1653
1654 func (x *GetTlsConfigurationResp_ServerTlsConfiguration) GetTlsResumptionEnabled() bool {
1655 if x != nil {
1656 return x.TlsResumptionEnabled
1657 }
1658 return false
1659 }
1660
1661 func (x *GetTlsConfigurationResp_ServerTlsConfiguration) GetRequestClientCertificate() GetTlsConfigurationResp_ServerTlsConfiguration_RequestClientCertificate {
1662 if x != nil {
1663 return x.RequestClientCertificate
1664 }
1665 return GetTlsConfigurationResp_ServerTlsConfiguration_UNSPECIFIED
1666 }
1667
1668 func (x *GetTlsConfigurationResp_ServerTlsConfiguration) GetMaxOverheadOfTicketAead() uint32 {
1669 if x != nil {
1670 return x.MaxOverheadOfTicketAead
1671 }
1672 return 0
1673 }
1674
1675 func (x *GetTlsConfigurationResp_ServerTlsConfiguration) GetAlpnPolicy() *AlpnPolicy {
1676 if x != nil {
1677 return x.AlpnPolicy
1678 }
1679 return nil
1680 }
1681
1682 type ValidatePeerCertificateChainReq_ClientPeer struct {
1683 state protoimpl.MessageState
1684 sizeCache protoimpl.SizeCache
1685 unknownFields protoimpl.UnknownFields
1686
1687 // The certificate chain to be verified. The chain MUST be a list of
1688 // DER-encoded certificates, ordered from leaf to root, excluding the root.
1689 CertificateChain [][]byte `protobuf:"bytes,1,rep,name=certificate_chain,json=certificateChain,proto3" json:"certificate_chain,omitempty"`
1690 }
1691
1692 func (x *ValidatePeerCertificateChainReq_ClientPeer) Reset() {
1693 *x = ValidatePeerCertificateChainReq_ClientPeer{}
1694 if protoimpl.UnsafeEnabled {
1695 mi := &file_internal_proto_v2_s2a_s2a_proto_msgTypes[15]
1696 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1697 ms.StoreMessageInfo(mi)
1698 }
1699 }
1700
1701 func (x *ValidatePeerCertificateChainReq_ClientPeer) String() string {
1702 return protoimpl.X.MessageStringOf(x)
1703 }
1704
1705 func (*ValidatePeerCertificateChainReq_ClientPeer) ProtoMessage() {}
1706
1707 func (x *ValidatePeerCertificateChainReq_ClientPeer) ProtoReflect() protoreflect.Message {
1708 mi := &file_internal_proto_v2_s2a_s2a_proto_msgTypes[15]
1709 if protoimpl.UnsafeEnabled && x != nil {
1710 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1711 if ms.LoadMessageInfo() == nil {
1712 ms.StoreMessageInfo(mi)
1713 }
1714 return ms
1715 }
1716 return mi.MessageOf(x)
1717 }
1718
1719 // Deprecated: Use ValidatePeerCertificateChainReq_ClientPeer.ProtoReflect.Descriptor instead.
1720 func (*ValidatePeerCertificateChainReq_ClientPeer) Descriptor() ([]byte, []int) {
1721 return file_internal_proto_v2_s2a_s2a_proto_rawDescGZIP(), []int{9, 0}
1722 }
1723
1724 func (x *ValidatePeerCertificateChainReq_ClientPeer) GetCertificateChain() [][]byte {
1725 if x != nil {
1726 return x.CertificateChain
1727 }
1728 return nil
1729 }
1730
1731 type ValidatePeerCertificateChainReq_ServerPeer struct {
1732 state protoimpl.MessageState
1733 sizeCache protoimpl.SizeCache
1734 unknownFields protoimpl.UnknownFields
1735
1736 // The certificate chain to be verified. The chain MUST be a list of
1737 // DER-encoded certificates, ordered from leaf to root, excluding the root.
1738 CertificateChain [][]byte `protobuf:"bytes,1,rep,name=certificate_chain,json=certificateChain,proto3" json:"certificate_chain,omitempty"`
1739 // The expected hostname of the server.
1740 ServerHostname string `protobuf:"bytes,2,opt,name=server_hostname,json=serverHostname,proto3" json:"server_hostname,omitempty"`
1741 // The UnrestrictedClientPolicy specified by the user.
1742 SerializedUnrestrictedClientPolicy []byte `protobuf:"bytes,3,opt,name=serialized_unrestricted_client_policy,json=serializedUnrestrictedClientPolicy,proto3" json:"serialized_unrestricted_client_policy,omitempty"`
1743 }
1744
1745 func (x *ValidatePeerCertificateChainReq_ServerPeer) Reset() {
1746 *x = ValidatePeerCertificateChainReq_ServerPeer{}
1747 if protoimpl.UnsafeEnabled {
1748 mi := &file_internal_proto_v2_s2a_s2a_proto_msgTypes[16]
1749 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1750 ms.StoreMessageInfo(mi)
1751 }
1752 }
1753
1754 func (x *ValidatePeerCertificateChainReq_ServerPeer) String() string {
1755 return protoimpl.X.MessageStringOf(x)
1756 }
1757
1758 func (*ValidatePeerCertificateChainReq_ServerPeer) ProtoMessage() {}
1759
1760 func (x *ValidatePeerCertificateChainReq_ServerPeer) ProtoReflect() protoreflect.Message {
1761 mi := &file_internal_proto_v2_s2a_s2a_proto_msgTypes[16]
1762 if protoimpl.UnsafeEnabled && x != nil {
1763 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1764 if ms.LoadMessageInfo() == nil {
1765 ms.StoreMessageInfo(mi)
1766 }
1767 return ms
1768 }
1769 return mi.MessageOf(x)
1770 }
1771
1772 // Deprecated: Use ValidatePeerCertificateChainReq_ServerPeer.ProtoReflect.Descriptor instead.
1773 func (*ValidatePeerCertificateChainReq_ServerPeer) Descriptor() ([]byte, []int) {
1774 return file_internal_proto_v2_s2a_s2a_proto_rawDescGZIP(), []int{9, 1}
1775 }
1776
1777 func (x *ValidatePeerCertificateChainReq_ServerPeer) GetCertificateChain() [][]byte {
1778 if x != nil {
1779 return x.CertificateChain
1780 }
1781 return nil
1782 }
1783
1784 func (x *ValidatePeerCertificateChainReq_ServerPeer) GetServerHostname() string {
1785 if x != nil {
1786 return x.ServerHostname
1787 }
1788 return ""
1789 }
1790
1791 func (x *ValidatePeerCertificateChainReq_ServerPeer) GetSerializedUnrestrictedClientPolicy() []byte {
1792 if x != nil {
1793 return x.SerializedUnrestrictedClientPolicy
1794 }
1795 return nil
1796 }
1797
1798 var File_internal_proto_v2_s2a_s2a_proto protoreflect.FileDescriptor
1799
1800 var file_internal_proto_v2_s2a_s2a_proto_rawDesc = []byte{
1801 0x0a, 0x1f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1802 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x32, 0x61, 0x2f, 0x73, 0x32, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74,
1803 0x6f, 0x12, 0x0c, 0x73, 0x32, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x76, 0x32, 0x1a,
1804 0x25, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f,
1805 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
1806 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,
1807 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x32, 0x61, 0x5f, 0x63, 0x6f,
1808 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2f, 0x73, 0x32, 0x61, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78,
1809 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x87, 0x01, 0x0a, 0x0a, 0x41, 0x6c, 0x70, 0x6e,
1810 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x36, 0x0a, 0x17, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65,
1811 0x5f, 0x61, 0x6c, 0x70, 0x6e, 0x5f, 0x6e, 0x65, 0x67, 0x6f, 0x74, 0x69, 0x61, 0x74, 0x69, 0x6f,
1812 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x41,
1813 0x6c, 0x70, 0x6e, 0x4e, 0x65, 0x67, 0x6f, 0x74, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41,
1814 0x0a, 0x0e, 0x61, 0x6c, 0x70, 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x73,
1815 0x18, 0x02, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x73, 0x32, 0x61, 0x2e, 0x70, 0x72, 0x6f,
1816 0x74, 0x6f, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x6c, 0x70, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63,
1817 0x6f, 0x6c, 0x52, 0x0d, 0x61, 0x6c, 0x70, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
1818 0x73, 0x22, 0x7e, 0x0a, 0x17, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74,
1819 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x73, 0x6d, 0x12, 0x32, 0x0a, 0x08,
1820 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16,
1821 0x2e, 0x73, 0x32, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x76, 0x32, 0x2e, 0x49, 0x64,
1822 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x08, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
1823 0x12, 0x16, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48,
1824 0x00, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x11, 0x0a, 0x0f, 0x6d, 0x65, 0x63, 0x68,
1825 0x61, 0x6e, 0x69, 0x73, 0x6d, 0x5f, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x4a, 0x04, 0x08, 0x01, 0x10,
1826 0x02, 0x22, 0x36, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63,
1827 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12,
1828 0x18, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
1829 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0x71, 0x0a, 0x16, 0x47, 0x65, 0x74,
1830 0x54, 0x6c, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
1831 0x52, 0x65, 0x71, 0x12, 0x45, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f,
1832 0x6e, 0x5f, 0x73, 0x69, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x73,
1833 0x32, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x6e,
1834 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x64, 0x65, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x6e,
1835 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x6e,
1836 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x6e, 0x69, 0x22, 0xf1, 0x0b, 0x0a,
1837 0x17, 0x47, 0x65, 0x74, 0x54, 0x6c, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61,
1838 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x78, 0x0a, 0x18, 0x63, 0x6c, 0x69, 0x65,
1839 0x6e, 0x74, 0x5f, 0x74, 0x6c, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61,
1840 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x73, 0x32, 0x61,
1841 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x6c, 0x73,
1842 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73,
1843 0x70, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x6c, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69,
1844 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x16, 0x63, 0x6c, 0x69, 0x65,
1845 0x6e, 0x74, 0x54, 0x6c, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69,
1846 0x6f, 0x6e, 0x12, 0x78, 0x0a, 0x18, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x74, 0x6c, 0x73,
1847 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02,
1848 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x73, 0x32, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1849 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x6c, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
1850 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x2e, 0x53, 0x65, 0x72, 0x76,
1851 0x65, 0x72, 0x54, 0x6c, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69,
1852 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x16, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x6c, 0x73, 0x43,
1853 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xcf, 0x02, 0x0a,
1854 0x16, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x6c, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
1855 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x65, 0x72, 0x74, 0x69,
1856 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x03,
1857 0x28, 0x09, 0x52, 0x10, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x43,
1858 0x68, 0x61, 0x69, 0x6e, 0x12, 0x40, 0x0a, 0x0f, 0x6d, 0x69, 0x6e, 0x5f, 0x74, 0x6c, 0x73, 0x5f,
1859 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e,
1860 0x73, 0x32, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x4c, 0x53,
1861 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x6d, 0x69, 0x6e, 0x54, 0x6c, 0x73, 0x56,
1862 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x5f, 0x74, 0x6c,
1863 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32,
1864 0x18, 0x2e, 0x73, 0x32, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x76, 0x32, 0x2e, 0x54,
1865 0x4c, 0x53, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x6d, 0x61, 0x78, 0x54, 0x6c,
1866 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3d, 0x0a, 0x0c, 0x63, 0x69, 0x70, 0x68,
1867 0x65, 0x72, 0x73, 0x75, 0x69, 0x74, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x19,
1868 0x2e, 0x73, 0x32, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x69,
1869 0x70, 0x68, 0x65, 0x72, 0x73, 0x75, 0x69, 0x74, 0x65, 0x52, 0x0c, 0x63, 0x69, 0x70, 0x68, 0x65,
1870 0x72, 0x73, 0x75, 0x69, 0x74, 0x65, 0x73, 0x12, 0x39, 0x0a, 0x0b, 0x61, 0x6c, 0x70, 0x6e, 0x5f,
1871 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x73,
1872 0x32, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x6c, 0x70, 0x6e,
1873 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0a, 0x61, 0x6c, 0x70, 0x6e, 0x50, 0x6f, 0x6c, 0x69,
1874 0x63, 0x79, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x1a, 0xfa,
1875 0x06, 0x0a, 0x16, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x6c, 0x73, 0x43, 0x6f, 0x6e, 0x66,
1876 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x65, 0x72,
1877 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x18, 0x01,
1878 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
1879 0x65, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x12, 0x40, 0x0a, 0x0f, 0x6d, 0x69, 0x6e, 0x5f, 0x74, 0x6c,
1880 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32,
1881 0x18, 0x2e, 0x73, 0x32, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x76, 0x32, 0x2e, 0x54,
1882 0x4c, 0x53, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x6d, 0x69, 0x6e, 0x54, 0x6c,
1883 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x5f,
1884 0x74, 0x6c, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
1885 0x0e, 0x32, 0x18, 0x2e, 0x73, 0x32, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x76, 0x32,
1886 0x2e, 0x54, 0x4c, 0x53, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x6d, 0x61, 0x78,
1887 0x54, 0x6c, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3d, 0x0a, 0x0c, 0x63, 0x69,
1888 0x70, 0x68, 0x65, 0x72, 0x73, 0x75, 0x69, 0x74, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0e,
1889 0x32, 0x19, 0x2e, 0x73, 0x32, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x76, 0x32, 0x2e,
1890 0x43, 0x69, 0x70, 0x68, 0x65, 0x72, 0x73, 0x75, 0x69, 0x74, 0x65, 0x52, 0x0c, 0x63, 0x69, 0x70,
1891 0x68, 0x65, 0x72, 0x73, 0x75, 0x69, 0x74, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x74, 0x6c, 0x73,
1892 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6d, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x61, 0x62,
1893 0x6c, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x74, 0x6c, 0x73, 0x52, 0x65,
1894 0x73, 0x75, 0x6d, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12,
1895 0x93, 0x01, 0x0a, 0x1a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x63, 0x6c, 0x69, 0x65,
1896 0x6e, 0x74, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x07,
1897 0x20, 0x01, 0x28, 0x0e, 0x32, 0x55, 0x2e, 0x73, 0x32, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1898 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x6c, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
1899 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x2e, 0x53, 0x65, 0x72, 0x76,
1900 0x65, 0x72, 0x54, 0x6c, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69,
1901 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74,
1902 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x18, 0x72, 0x65, 0x71,
1903 0x75, 0x65, 0x73, 0x74, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66,
1904 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x3c, 0x0a, 0x1b, 0x6d, 0x61, 0x78, 0x5f, 0x6f, 0x76, 0x65,
1905 0x72, 0x68, 0x65, 0x61, 0x64, 0x5f, 0x6f, 0x66, 0x5f, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x5f,
1906 0x61, 0x65, 0x61, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x17, 0x6d, 0x61, 0x78, 0x4f,
1907 0x76, 0x65, 0x72, 0x68, 0x65, 0x61, 0x64, 0x4f, 0x66, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x41,
1908 0x65, 0x61, 0x64, 0x12, 0x39, 0x0a, 0x0b, 0x61, 0x6c, 0x70, 0x6e, 0x5f, 0x70, 0x6f, 0x6c, 0x69,
1909 0x63, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x73, 0x32, 0x61, 0x2e, 0x70,
1910 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x6c, 0x70, 0x6e, 0x50, 0x6f, 0x6c, 0x69,
1911 0x63, 0x79, 0x52, 0x0a, 0x61, 0x6c, 0x70, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x9e,
1912 0x02, 0x0a, 0x18, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74,
1913 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55,
1914 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x23, 0x0a, 0x1f,
1915 0x44, 0x4f, 0x4e, 0x54, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x43, 0x4c, 0x49,
1916 0x45, 0x4e, 0x54, 0x5f, 0x43, 0x45, 0x52, 0x54, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x45, 0x10,
1917 0x01, 0x12, 0x2e, 0x0a, 0x2a, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x43, 0x4c, 0x49,
1918 0x45, 0x4e, 0x54, 0x5f, 0x43, 0x45, 0x52, 0x54, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x45, 0x5f,
1919 0x42, 0x55, 0x54, 0x5f, 0x44, 0x4f, 0x4e, 0x54, 0x5f, 0x56, 0x45, 0x52, 0x49, 0x46, 0x59, 0x10,
1920 0x02, 0x12, 0x29, 0x0a, 0x25, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x43, 0x4c, 0x49,
1921 0x45, 0x4e, 0x54, 0x5f, 0x43, 0x45, 0x52, 0x54, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x45, 0x5f,
1922 0x41, 0x4e, 0x44, 0x5f, 0x56, 0x45, 0x52, 0x49, 0x46, 0x59, 0x10, 0x03, 0x12, 0x3a, 0x0a, 0x36,
1923 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x52, 0x45, 0x51, 0x55,
1924 0x49, 0x52, 0x45, 0x5f, 0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, 0x5f, 0x43, 0x45, 0x52, 0x54, 0x49,
1925 0x46, 0x49, 0x43, 0x41, 0x54, 0x45, 0x5f, 0x42, 0x55, 0x54, 0x5f, 0x44, 0x4f, 0x4e, 0x54, 0x5f,
1926 0x56, 0x45, 0x52, 0x49, 0x46, 0x59, 0x10, 0x04, 0x12, 0x35, 0x0a, 0x31, 0x52, 0x45, 0x51, 0x55,
1927 0x45, 0x53, 0x54, 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x49, 0x52, 0x45, 0x5f,
1928 0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, 0x5f, 0x43, 0x45, 0x52, 0x54, 0x49, 0x46, 0x49, 0x43, 0x41,
1929 0x54, 0x45, 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x56, 0x45, 0x52, 0x49, 0x46, 0x59, 0x10, 0x05, 0x4a,
1930 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x42, 0x13, 0x0a, 0x11, 0x74,
1931 0x6c, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
1932 0x22, 0xb0, 0x03, 0x0a, 0x1d, 0x4f, 0x66, 0x66, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x72, 0x69, 0x76,
1933 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
1934 0x65, 0x71, 0x12, 0x5d, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18,
1935 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3f, 0x2e, 0x73, 0x32, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74,
1936 0x6f, 0x2e, 0x76, 0x32, 0x2e, 0x4f, 0x66, 0x66, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x72, 0x69, 0x76,
1937 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
1938 0x65, 0x71, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x4f, 0x70, 0x65,
1939 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
1940 0x6e, 0x12, 0x51, 0x0a, 0x13, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x61,
1941 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20,
1942 0x2e, 0x73, 0x32, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x69,
1943 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d,
1944 0x52, 0x12, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x41, 0x6c, 0x67, 0x6f, 0x72,
1945 0x69, 0x74, 0x68, 0x6d, 0x12, 0x1d, 0x0a, 0x09, 0x72, 0x61, 0x77, 0x5f, 0x62, 0x79, 0x74, 0x65,
1946 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x08, 0x72, 0x61, 0x77, 0x42, 0x79,
1947 0x74, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0d, 0x73, 0x68, 0x61, 0x32, 0x35, 0x36, 0x5f, 0x64, 0x69,
1948 0x67, 0x65, 0x73, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0c, 0x73, 0x68,
1949 0x61, 0x32, 0x35, 0x36, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0d, 0x73, 0x68,
1950 0x61, 0x33, 0x38, 0x34, 0x5f, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28,
1951 0x0c, 0x48, 0x00, 0x52, 0x0c, 0x73, 0x68, 0x61, 0x33, 0x38, 0x34, 0x44, 0x69, 0x67, 0x65, 0x73,
1952 0x74, 0x12, 0x25, 0x0a, 0x0d, 0x73, 0x68, 0x61, 0x35, 0x31, 0x32, 0x5f, 0x64, 0x69, 0x67, 0x65,
1953 0x73, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0c, 0x73, 0x68, 0x61, 0x35,
1954 0x31, 0x32, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x22, 0x3d, 0x0a, 0x13, 0x50, 0x72, 0x69, 0x76,
1955 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
1956 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
1957 0x12, 0x08, 0x0a, 0x04, 0x53, 0x49, 0x47, 0x4e, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45,
1958 0x43, 0x52, 0x59, 0x50, 0x54, 0x10, 0x02, 0x42, 0x0a, 0x0a, 0x08, 0x69, 0x6e, 0x5f, 0x62, 0x79,
1959 0x74, 0x65, 0x73, 0x22, 0x3d, 0x0a, 0x1e, 0x4f, 0x66, 0x66, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x72,
1960 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
1961 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x75, 0x74, 0x5f, 0x62, 0x79, 0x74,
1962 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6f, 0x75, 0x74, 0x42, 0x79, 0x74,
1963 0x65, 0x73, 0x22, 0xe7, 0x01, 0x0a, 0x20, 0x4f, 0x66, 0x66, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65,
1964 0x73, 0x75, 0x6d, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x4f, 0x70, 0x65, 0x72, 0x61,
1965 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x63, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61,
1966 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x45, 0x2e, 0x73, 0x32, 0x61,
1967 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x76, 0x32, 0x2e, 0x4f, 0x66, 0x66, 0x6c, 0x6f, 0x61,
1968 0x64, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x4f, 0x70,
1969 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6d,
1970 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
1971 0x6e, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x08,
1972 0x69, 0x6e, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07,
1973 0x69, 0x6e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x22, 0x43, 0x0a, 0x16, 0x52, 0x65, 0x73, 0x75, 0x6d,
1974 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
1975 0x6e, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,
1976 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x4e, 0x43, 0x52, 0x59, 0x50, 0x54, 0x10, 0x01, 0x12,
1977 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x43, 0x52, 0x59, 0x50, 0x54, 0x10, 0x02, 0x22, 0x40, 0x0a, 0x21,
1978 0x4f, 0x66, 0x66, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x70, 0x74, 0x69, 0x6f,
1979 0x6e, 0x4b, 0x65, 0x79, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73,
1980 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x75, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x01,
1981 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6f, 0x75, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x22, 0xf4,
1982 0x05, 0x0a, 0x1f, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x50, 0x65, 0x65, 0x72, 0x43,
1983 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x52,
1984 0x65, 0x71, 0x12, 0x52, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,
1985 0x32, 0x3e, 0x2e, 0x73, 0x32, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x76, 0x32, 0x2e,
1986 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x50, 0x65, 0x65, 0x72, 0x43, 0x65, 0x72, 0x74,
1987 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x2e,
1988 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65,
1989 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x5b, 0x0a, 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
1990 0x5f, 0x70, 0x65, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x73, 0x32,
1991 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x76, 0x32, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64,
1992 0x61, 0x74, 0x65, 0x50, 0x65, 0x65, 0x72, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61,
1993 0x74, 0x65, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e,
1994 0x74, 0x50, 0x65, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x50,
1995 0x65, 0x65, 0x72, 0x12, 0x5b, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x70, 0x65,
1996 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x73, 0x32, 0x61, 0x2e, 0x70,
1997 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x76, 0x32, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65,
1998 0x50, 0x65, 0x65, 0x72, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x43,
1999 0x68, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x50, 0x65,
2000 0x65, 0x72, 0x48, 0x00, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x50, 0x65, 0x65, 0x72,
2001 0x1a, 0x39, 0x0a, 0x0a, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x50, 0x65, 0x65, 0x72, 0x12, 0x2b,
2002 0x0a, 0x11, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x68,
2003 0x61, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x10, 0x63, 0x65, 0x72, 0x74, 0x69,
2004 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x1a, 0xb5, 0x01, 0x0a, 0x0a,
2005 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x50, 0x65, 0x65, 0x72, 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x65,
2006 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x18,
2007 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x10, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61,
2008 0x74, 0x65, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x65,
2009 0x72, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
2010 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x48, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65,
2011 0x12, 0x51, 0x0a, 0x25, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x75,
2012 0x6e, 0x72, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x6c, 0x69, 0x65,
2013 0x6e, 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52,
2014 0x22, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x6e, 0x72, 0x65, 0x73,
2015 0x74, 0x72, 0x69, 0x63, 0x74, 0x65, 0x64, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x50, 0x6f, 0x6c,
2016 0x69, 0x63, 0x79, 0x22, 0xc1, 0x01, 0x0a, 0x10, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61,
2017 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50,
2018 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x50, 0x49,
2019 0x46, 0x46, 0x45, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54,
2020 0x5f, 0x54, 0x4f, 0x5f, 0x47, 0x4f, 0x4f, 0x47, 0x4c, 0x45, 0x10, 0x02, 0x12, 0x27, 0x0a, 0x23,
2021 0x52, 0x45, 0x53, 0x45, 0x52, 0x56, 0x45, 0x44, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f,
2022 0x56, 0x45, 0x52, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, 0x4f, 0x44,
2023 0x45, 0x5f, 0x33, 0x10, 0x03, 0x12, 0x27, 0x0a, 0x23, 0x52, 0x45, 0x53, 0x45, 0x52, 0x56, 0x45,
2024 0x44, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x56, 0x45, 0x52, 0x49, 0x46, 0x49, 0x43,
2025 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x34, 0x10, 0x04, 0x12, 0x27,
2026 0x0a, 0x23, 0x52, 0x45, 0x53, 0x45, 0x52, 0x56, 0x45, 0x44, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f,
2027 0x4d, 0x5f, 0x56, 0x45, 0x52, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4d,
2028 0x4f, 0x44, 0x45, 0x5f, 0x35, 0x10, 0x05, 0x42, 0x0c, 0x0a, 0x0a, 0x70, 0x65, 0x65, 0x72, 0x5f,
2029 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x22, 0xb2, 0x02, 0x0a, 0x20, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61,
2030 0x74, 0x65, 0x50, 0x65, 0x65, 0x72, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
2031 0x65, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x6c, 0x0a, 0x11, 0x76, 0x61,
2032 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18,
2033 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3f, 0x2e, 0x73, 0x32, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74,
2034 0x6f, 0x2e, 0x76, 0x32, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x50, 0x65, 0x65,
2035 0x72, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x69,
2036 0x6e, 0x52, 0x65, 0x73, 0x70, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e,
2037 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x10, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69,
2038 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x2d, 0x0a, 0x12, 0x76, 0x61, 0x6c, 0x69,
2039 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x02,
2040 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e,
2041 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x32, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65,
2042 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x73, 0x32, 0x61, 0x2e, 0x70,
2043 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x32, 0x41, 0x43, 0x6f, 0x6e, 0x74, 0x65,
2044 0x78, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, 0x3d, 0x0a, 0x10, 0x56,
2045 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12,
2046 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
2047 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x01, 0x12, 0x0b, 0x0a,
2048 0x07, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x10, 0x02, 0x22, 0xa0, 0x05, 0x0a, 0x0a, 0x53,
2049 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x3d, 0x0a, 0x0e, 0x6c, 0x6f, 0x63,
2050 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28,
2051 0x0b, 0x32, 0x16, 0x2e, 0x73, 0x32, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x76, 0x32,
2052 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x0d, 0x6c, 0x6f, 0x63, 0x61, 0x6c,
2053 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x62, 0x0a, 0x19, 0x61, 0x75, 0x74, 0x68,
2054 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x63, 0x68, 0x61,
2055 0x6e, 0x69, 0x73, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x32,
2056 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x65,
2057 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69,
2058 0x73, 0x6d, 0x52, 0x18, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69,
2059 0x6f, 0x6e, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x73, 0x6d, 0x73, 0x12, 0x61, 0x0a, 0x19,
2060 0x67, 0x65, 0x74, 0x5f, 0x74, 0x6c, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72,
2061 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x71, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
2062 0x24, 0x2e, 0x73, 0x32, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x76, 0x32, 0x2e, 0x47,
2063 0x65, 0x74, 0x54, 0x6c, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69,
2064 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x48, 0x00, 0x52, 0x16, 0x67, 0x65, 0x74, 0x54, 0x6c, 0x73, 0x43,
2065 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12,
2066 0x77, 0x0a, 0x21, 0x6f, 0x66, 0x66, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x76, 0x61,
2067 0x74, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
2068 0x5f, 0x72, 0x65, 0x71, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, 0x32, 0x61,
2069 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x76, 0x32, 0x2e, 0x4f, 0x66, 0x66, 0x6c, 0x6f, 0x61,
2070 0x64, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x4f, 0x70, 0x65, 0x72, 0x61,
2071 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x48, 0x00, 0x52, 0x1d, 0x6f, 0x66, 0x66, 0x6c, 0x6f,
2072 0x61, 0x64, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x4f, 0x70, 0x65, 0x72,
2073 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x80, 0x01, 0x0a, 0x24, 0x6f, 0x66, 0x66,
2074 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6d, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
2075 0x6b, 0x65, 0x79, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65,
2076 0x71, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x73, 0x32, 0x61, 0x2e, 0x70, 0x72,
2077 0x6f, 0x74, 0x6f, 0x2e, 0x76, 0x32, 0x2e, 0x4f, 0x66, 0x66, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65,
2078 0x73, 0x75, 0x6d, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x4f, 0x70, 0x65, 0x72, 0x61,
2079 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x48, 0x00, 0x52, 0x20, 0x6f, 0x66, 0x66, 0x6c, 0x6f,
2080 0x61, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x4f,
2081 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x7d, 0x0a, 0x23, 0x76,
2082 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x63, 0x65, 0x72,
2083 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x72,
2084 0x65, 0x71, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x73, 0x32, 0x61, 0x2e, 0x70,
2085 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x76, 0x32, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65,
2086 0x50, 0x65, 0x65, 0x72, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x43,
2087 0x68, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x48, 0x00, 0x52, 0x1f, 0x76, 0x61, 0x6c, 0x69, 0x64,
2088 0x61, 0x74, 0x65, 0x50, 0x65, 0x65, 0x72, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61,
2089 0x74, 0x65, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x42, 0x0b, 0x0a, 0x09, 0x72, 0x65,
2090 0x71, 0x5f, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 0xb4, 0x04,
2091 0x0a, 0x0b, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2c, 0x0a,
2092 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e,
2093 0x73, 0x32, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x74, 0x61,
2094 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x64, 0x0a, 0x1a, 0x67,
2095 0x65, 0x74, 0x5f, 0x74, 0x6c, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61,
2096 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
2097 0x25, 0x2e, 0x73, 0x32, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x76, 0x32, 0x2e, 0x47,
2098 0x65, 0x74, 0x54, 0x6c, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69,
2099 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x48, 0x00, 0x52, 0x17, 0x67, 0x65, 0x74, 0x54, 0x6c, 0x73,
2100 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73,
2101 0x70, 0x12, 0x7a, 0x0a, 0x22, 0x6f, 0x66, 0x66, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x70, 0x72, 0x69,
2102 0x76, 0x61, 0x74, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
2103 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e,
2104 0x73, 0x32, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x76, 0x32, 0x2e, 0x4f, 0x66, 0x66,
2105 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x4f, 0x70,
2106 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x48, 0x00, 0x52, 0x1e, 0x6f,
2107 0x66, 0x66, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79,
2108 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x83, 0x01,
2109 0x0a, 0x25, 0x6f, 0x66, 0x66, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6d, 0x70,
2110 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
2111 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e,
2112 0x73, 0x32, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x76, 0x32, 0x2e, 0x4f, 0x66, 0x66,
2113 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65,
2114 0x79, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x48, 0x00,
2115 0x52, 0x21, 0x6f, 0x66, 0x66, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x70, 0x74,
2116 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
2117 0x65, 0x73, 0x70, 0x12, 0x80, 0x01, 0x0a, 0x24, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65,
2118 0x5f, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
2119 0x65, 0x5f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x18, 0x05, 0x20, 0x01,
2120 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x73, 0x32, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x76,
2121 0x32, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x50, 0x65, 0x65, 0x72, 0x43, 0x65,
2122 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x52, 0x65,
2123 0x73, 0x70, 0x48, 0x00, 0x52, 0x20, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x50, 0x65,
2124 0x65, 0x72, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61,
2125 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x42, 0x0c, 0x0a, 0x0a, 0x72, 0x65, 0x73, 0x70, 0x5f, 0x6f,
2126 0x6e, 0x65, 0x6f, 0x66, 0x2a, 0xa2, 0x03, 0x0a, 0x12, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75,
2127 0x72, 0x65, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x12, 0x1c, 0x0a, 0x18, 0x53,
2128 0x32, 0x41, 0x5f, 0x53, 0x53, 0x4c, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50,
2129 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x21, 0x0a, 0x1d, 0x53, 0x32, 0x41,
2130 0x5f, 0x53, 0x53, 0x4c, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x52, 0x53, 0x41, 0x5f, 0x50, 0x4b,
2131 0x43, 0x53, 0x31, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, 0x01, 0x12, 0x21, 0x0a, 0x1d,
2132 0x53, 0x32, 0x41, 0x5f, 0x53, 0x53, 0x4c, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x52, 0x53, 0x41,
2133 0x5f, 0x50, 0x4b, 0x43, 0x53, 0x31, 0x5f, 0x53, 0x48, 0x41, 0x33, 0x38, 0x34, 0x10, 0x02, 0x12,
2134 0x21, 0x0a, 0x1d, 0x53, 0x32, 0x41, 0x5f, 0x53, 0x53, 0x4c, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x5f,
2135 0x52, 0x53, 0x41, 0x5f, 0x50, 0x4b, 0x43, 0x53, 0x31, 0x5f, 0x53, 0x48, 0x41, 0x35, 0x31, 0x32,
2136 0x10, 0x03, 0x12, 0x27, 0x0a, 0x23, 0x53, 0x32, 0x41, 0x5f, 0x53, 0x53, 0x4c, 0x5f, 0x53, 0x49,
2137 0x47, 0x4e, 0x5f, 0x45, 0x43, 0x44, 0x53, 0x41, 0x5f, 0x53, 0x45, 0x43, 0x50, 0x32, 0x35, 0x36,
2138 0x52, 0x31, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, 0x04, 0x12, 0x27, 0x0a, 0x23, 0x53,
2139 0x32, 0x41, 0x5f, 0x53, 0x53, 0x4c, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x45, 0x43, 0x44, 0x53,
2140 0x41, 0x5f, 0x53, 0x45, 0x43, 0x50, 0x33, 0x38, 0x34, 0x52, 0x31, 0x5f, 0x53, 0x48, 0x41, 0x33,
2141 0x38, 0x34, 0x10, 0x05, 0x12, 0x27, 0x0a, 0x23, 0x53, 0x32, 0x41, 0x5f, 0x53, 0x53, 0x4c, 0x5f,
2142 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x45, 0x43, 0x44, 0x53, 0x41, 0x5f, 0x53, 0x45, 0x43, 0x50, 0x35,
2143 0x32, 0x31, 0x52, 0x31, 0x5f, 0x53, 0x48, 0x41, 0x35, 0x31, 0x32, 0x10, 0x06, 0x12, 0x24, 0x0a,
2144 0x20, 0x53, 0x32, 0x41, 0x5f, 0x53, 0x53, 0x4c, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x52, 0x53,
2145 0x41, 0x5f, 0x50, 0x53, 0x53, 0x5f, 0x52, 0x53, 0x41, 0x45, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x35,
2146 0x36, 0x10, 0x07, 0x12, 0x24, 0x0a, 0x20, 0x53, 0x32, 0x41, 0x5f, 0x53, 0x53, 0x4c, 0x5f, 0x53,
2147 0x49, 0x47, 0x4e, 0x5f, 0x52, 0x53, 0x41, 0x5f, 0x50, 0x53, 0x53, 0x5f, 0x52, 0x53, 0x41, 0x45,
2148 0x5f, 0x53, 0x48, 0x41, 0x33, 0x38, 0x34, 0x10, 0x08, 0x12, 0x24, 0x0a, 0x20, 0x53, 0x32, 0x41,
2149 0x5f, 0x53, 0x53, 0x4c, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x52, 0x53, 0x41, 0x5f, 0x50, 0x53,
2150 0x53, 0x5f, 0x52, 0x53, 0x41, 0x45, 0x5f, 0x53, 0x48, 0x41, 0x35, 0x31, 0x32, 0x10, 0x09, 0x12,
2151 0x18, 0x0a, 0x14, 0x53, 0x32, 0x41, 0x5f, 0x53, 0x53, 0x4c, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x5f,
2152 0x45, 0x44, 0x32, 0x35, 0x35, 0x31, 0x39, 0x10, 0x0a, 0x32, 0x57, 0x0a, 0x0a, 0x53, 0x32, 0x41,
2153 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x49, 0x0a, 0x0c, 0x53, 0x65, 0x74, 0x55, 0x70,
2154 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x2e, 0x73, 0x32, 0x61, 0x2e, 0x70, 0x72,
2155 0x6f, 0x74, 0x6f, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65,
2156 0x71, 0x1a, 0x19, 0x2e, 0x73, 0x32, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x76, 0x32,
2157 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x28, 0x01,
2158 0x30, 0x01, 0x42, 0x36, 0x5a, 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
2159 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x32, 0x61, 0x2f, 0x69, 0x6e, 0x74, 0x65,
2160 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x32,
2161 0x61, 0x5f, 0x67, 0x6f, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
2162 0x6f, 0x33,
2163 }
2164
2165 var (
2166 file_internal_proto_v2_s2a_s2a_proto_rawDescOnce sync.Once
2167 file_internal_proto_v2_s2a_s2a_proto_rawDescData = file_internal_proto_v2_s2a_s2a_proto_rawDesc
2168 )
2169
2170 func file_internal_proto_v2_s2a_s2a_proto_rawDescGZIP() []byte {
2171 file_internal_proto_v2_s2a_s2a_proto_rawDescOnce.Do(func() {
2172 file_internal_proto_v2_s2a_s2a_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_proto_v2_s2a_s2a_proto_rawDescData)
2173 })
2174 return file_internal_proto_v2_s2a_s2a_proto_rawDescData
2175 }
2176
2177 var file_internal_proto_v2_s2a_s2a_proto_enumTypes = make([]protoimpl.EnumInfo, 6)
2178 var file_internal_proto_v2_s2a_s2a_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
2179 var file_internal_proto_v2_s2a_s2a_proto_goTypes = []any{
2180 (SignatureAlgorithm)(0), // 0: s2a.proto.v2.SignatureAlgorithm
2181 (GetTlsConfigurationResp_ServerTlsConfiguration_RequestClientCertificate)(0), // 1: s2a.proto.v2.GetTlsConfigurationResp.ServerTlsConfiguration.RequestClientCertificate
2182 (OffloadPrivateKeyOperationReq_PrivateKeyOperation)(0), // 2: s2a.proto.v2.OffloadPrivateKeyOperationReq.PrivateKeyOperation
2183 (OffloadResumptionKeyOperationReq_ResumptionKeyOperation)(0), // 3: s2a.proto.v2.OffloadResumptionKeyOperationReq.ResumptionKeyOperation
2184 (ValidatePeerCertificateChainReq_VerificationMode)(0), // 4: s2a.proto.v2.ValidatePeerCertificateChainReq.VerificationMode
2185 (ValidatePeerCertificateChainResp_ValidationResult)(0), // 5: s2a.proto.v2.ValidatePeerCertificateChainResp.ValidationResult
2186 (*AlpnPolicy)(nil), // 6: s2a.proto.v2.AlpnPolicy
2187 (*AuthenticationMechanism)(nil), // 7: s2a.proto.v2.AuthenticationMechanism
2188 (*Status)(nil), // 8: s2a.proto.v2.Status
2189 (*GetTlsConfigurationReq)(nil), // 9: s2a.proto.v2.GetTlsConfigurationReq
2190 (*GetTlsConfigurationResp)(nil), // 10: s2a.proto.v2.GetTlsConfigurationResp
2191 (*OffloadPrivateKeyOperationReq)(nil), // 11: s2a.proto.v2.OffloadPrivateKeyOperationReq
2192 (*OffloadPrivateKeyOperationResp)(nil), // 12: s2a.proto.v2.OffloadPrivateKeyOperationResp
2193 (*OffloadResumptionKeyOperationReq)(nil), // 13: s2a.proto.v2.OffloadResumptionKeyOperationReq
2194 (*OffloadResumptionKeyOperationResp)(nil), // 14: s2a.proto.v2.OffloadResumptionKeyOperationResp
2195 (*ValidatePeerCertificateChainReq)(nil), // 15: s2a.proto.v2.ValidatePeerCertificateChainReq
2196 (*ValidatePeerCertificateChainResp)(nil), // 16: s2a.proto.v2.ValidatePeerCertificateChainResp
2197 (*SessionReq)(nil), // 17: s2a.proto.v2.SessionReq
2198 (*SessionResp)(nil), // 18: s2a.proto.v2.SessionResp
2199 (*GetTlsConfigurationResp_ClientTlsConfiguration)(nil), // 19: s2a.proto.v2.GetTlsConfigurationResp.ClientTlsConfiguration
2200 (*GetTlsConfigurationResp_ServerTlsConfiguration)(nil), // 20: s2a.proto.v2.GetTlsConfigurationResp.ServerTlsConfiguration
2201 (*ValidatePeerCertificateChainReq_ClientPeer)(nil), // 21: s2a.proto.v2.ValidatePeerCertificateChainReq.ClientPeer
2202 (*ValidatePeerCertificateChainReq_ServerPeer)(nil), // 22: s2a.proto.v2.ValidatePeerCertificateChainReq.ServerPeer
2203 (common_go_proto.AlpnProtocol)(0), // 23: s2a.proto.v2.AlpnProtocol
2204 (*common_go_proto.Identity)(nil), // 24: s2a.proto.v2.Identity
2205 (common_go_proto.ConnectionSide)(0), // 25: s2a.proto.v2.ConnectionSide
2206 (*s2a_context_go_proto.S2AContext)(nil), // 26: s2a.proto.v2.S2AContext
2207 (common_go_proto.TLSVersion)(0), // 27: s2a.proto.v2.TLSVersion
2208 (common_go_proto.Ciphersuite)(0), // 28: s2a.proto.v2.Ciphersuite
2209 }
2210 var file_internal_proto_v2_s2a_s2a_proto_depIdxs = []int32{
2211 23, // 0: s2a.proto.v2.AlpnPolicy.alpn_protocols:type_name -> s2a.proto.v2.AlpnProtocol
2212 24, // 1: s2a.proto.v2.AuthenticationMechanism.identity:type_name -> s2a.proto.v2.Identity
2213 25, // 2: s2a.proto.v2.GetTlsConfigurationReq.connection_side:type_name -> s2a.proto.v2.ConnectionSide
2214 19, // 3: s2a.proto.v2.GetTlsConfigurationResp.client_tls_configuration:type_name -> s2a.proto.v2.GetTlsConfigurationResp.ClientTlsConfiguration
2215 20, // 4: s2a.proto.v2.GetTlsConfigurationResp.server_tls_configuration:type_name -> s2a.proto.v2.GetTlsConfigurationResp.ServerTlsConfiguration
2216 2, // 5: s2a.proto.v2.OffloadPrivateKeyOperationReq.operation:type_name -> s2a.proto.v2.OffloadPrivateKeyOperationReq.PrivateKeyOperation
2217 0, // 6: s2a.proto.v2.OffloadPrivateKeyOperationReq.signature_algorithm:type_name -> s2a.proto.v2.SignatureAlgorithm
2218 3, // 7: s2a.proto.v2.OffloadResumptionKeyOperationReq.operation:type_name -> s2a.proto.v2.OffloadResumptionKeyOperationReq.ResumptionKeyOperation
2219 4, // 8: s2a.proto.v2.ValidatePeerCertificateChainReq.mode:type_name -> s2a.proto.v2.ValidatePeerCertificateChainReq.VerificationMode
2220 21, // 9: s2a.proto.v2.ValidatePeerCertificateChainReq.client_peer:type_name -> s2a.proto.v2.ValidatePeerCertificateChainReq.ClientPeer
2221 22, // 10: s2a.proto.v2.ValidatePeerCertificateChainReq.server_peer:type_name -> s2a.proto.v2.ValidatePeerCertificateChainReq.ServerPeer
2222 5, // 11: s2a.proto.v2.ValidatePeerCertificateChainResp.validation_result:type_name -> s2a.proto.v2.ValidatePeerCertificateChainResp.ValidationResult
2223 26, // 12: s2a.proto.v2.ValidatePeerCertificateChainResp.context:type_name -> s2a.proto.v2.S2AContext
2224 24, // 13: s2a.proto.v2.SessionReq.local_identity:type_name -> s2a.proto.v2.Identity
2225 7, // 14: s2a.proto.v2.SessionReq.authentication_mechanisms:type_name -> s2a.proto.v2.AuthenticationMechanism
2226 9, // 15: s2a.proto.v2.SessionReq.get_tls_configuration_req:type_name -> s2a.proto.v2.GetTlsConfigurationReq
2227 11, // 16: s2a.proto.v2.SessionReq.offload_private_key_operation_req:type_name -> s2a.proto.v2.OffloadPrivateKeyOperationReq
2228 13, // 17: s2a.proto.v2.SessionReq.offload_resumption_key_operation_req:type_name -> s2a.proto.v2.OffloadResumptionKeyOperationReq
2229 15, // 18: s2a.proto.v2.SessionReq.validate_peer_certificate_chain_req:type_name -> s2a.proto.v2.ValidatePeerCertificateChainReq
2230 8, // 19: s2a.proto.v2.SessionResp.status:type_name -> s2a.proto.v2.Status
2231 10, // 20: s2a.proto.v2.SessionResp.get_tls_configuration_resp:type_name -> s2a.proto.v2.GetTlsConfigurationResp
2232 12, // 21: s2a.proto.v2.SessionResp.offload_private_key_operation_resp:type_name -> s2a.proto.v2.OffloadPrivateKeyOperationResp
2233 14, // 22: s2a.proto.v2.SessionResp.offload_resumption_key_operation_resp:type_name -> s2a.proto.v2.OffloadResumptionKeyOperationResp
2234 16, // 23: s2a.proto.v2.SessionResp.validate_peer_certificate_chain_resp:type_name -> s2a.proto.v2.ValidatePeerCertificateChainResp
2235 27, // 24: s2a.proto.v2.GetTlsConfigurationResp.ClientTlsConfiguration.min_tls_version:type_name -> s2a.proto.v2.TLSVersion
2236 27, // 25: s2a.proto.v2.GetTlsConfigurationResp.ClientTlsConfiguration.max_tls_version:type_name -> s2a.proto.v2.TLSVersion
2237 28, // 26: s2a.proto.v2.GetTlsConfigurationResp.ClientTlsConfiguration.ciphersuites:type_name -> s2a.proto.v2.Ciphersuite
2238 6, // 27: s2a.proto.v2.GetTlsConfigurationResp.ClientTlsConfiguration.alpn_policy:type_name -> s2a.proto.v2.AlpnPolicy
2239 27, // 28: s2a.proto.v2.GetTlsConfigurationResp.ServerTlsConfiguration.min_tls_version:type_name -> s2a.proto.v2.TLSVersion
2240 27, // 29: s2a.proto.v2.GetTlsConfigurationResp.ServerTlsConfiguration.max_tls_version:type_name -> s2a.proto.v2.TLSVersion
2241 28, // 30: s2a.proto.v2.GetTlsConfigurationResp.ServerTlsConfiguration.ciphersuites:type_name -> s2a.proto.v2.Ciphersuite
2242 1, // 31: s2a.proto.v2.GetTlsConfigurationResp.ServerTlsConfiguration.request_client_certificate:type_name -> s2a.proto.v2.GetTlsConfigurationResp.ServerTlsConfiguration.RequestClientCertificate
2243 6, // 32: s2a.proto.v2.GetTlsConfigurationResp.ServerTlsConfiguration.alpn_policy:type_name -> s2a.proto.v2.AlpnPolicy
2244 17, // 33: s2a.proto.v2.S2AService.SetUpSession:input_type -> s2a.proto.v2.SessionReq
2245 18, // 34: s2a.proto.v2.S2AService.SetUpSession:output_type -> s2a.proto.v2.SessionResp
2246 34, // [34:35] is the sub-list for method output_type
2247 33, // [33:34] is the sub-list for method input_type
2248 33, // [33:33] is the sub-list for extension type_name
2249 33, // [33:33] is the sub-list for extension extendee
2250 0, // [0:33] is the sub-list for field type_name
2251 }
2252
2253 func init() { file_internal_proto_v2_s2a_s2a_proto_init() }
2254 func file_internal_proto_v2_s2a_s2a_proto_init() {
2255 if File_internal_proto_v2_s2a_s2a_proto != nil {
2256 return
2257 }
2258 if !protoimpl.UnsafeEnabled {
2259 file_internal_proto_v2_s2a_s2a_proto_msgTypes[0].Exporter = func(v any, i int) any {
2260 switch v := v.(*AlpnPolicy); i {
2261 case 0:
2262 return &v.state
2263 case 1:
2264 return &v.sizeCache
2265 case 2:
2266 return &v.unknownFields
2267 default:
2268 return nil
2269 }
2270 }
2271 file_internal_proto_v2_s2a_s2a_proto_msgTypes[1].Exporter = func(v any, i int) any {
2272 switch v := v.(*AuthenticationMechanism); i {
2273 case 0:
2274 return &v.state
2275 case 1:
2276 return &v.sizeCache
2277 case 2:
2278 return &v.unknownFields
2279 default:
2280 return nil
2281 }
2282 }
2283 file_internal_proto_v2_s2a_s2a_proto_msgTypes[2].Exporter = func(v any, i int) any {
2284 switch v := v.(*Status); i {
2285 case 0:
2286 return &v.state
2287 case 1:
2288 return &v.sizeCache
2289 case 2:
2290 return &v.unknownFields
2291 default:
2292 return nil
2293 }
2294 }
2295 file_internal_proto_v2_s2a_s2a_proto_msgTypes[3].Exporter = func(v any, i int) any {
2296 switch v := v.(*GetTlsConfigurationReq); i {
2297 case 0:
2298 return &v.state
2299 case 1:
2300 return &v.sizeCache
2301 case 2:
2302 return &v.unknownFields
2303 default:
2304 return nil
2305 }
2306 }
2307 file_internal_proto_v2_s2a_s2a_proto_msgTypes[4].Exporter = func(v any, i int) any {
2308 switch v := v.(*GetTlsConfigurationResp); i {
2309 case 0:
2310 return &v.state
2311 case 1:
2312 return &v.sizeCache
2313 case 2:
2314 return &v.unknownFields
2315 default:
2316 return nil
2317 }
2318 }
2319 file_internal_proto_v2_s2a_s2a_proto_msgTypes[5].Exporter = func(v any, i int) any {
2320 switch v := v.(*OffloadPrivateKeyOperationReq); i {
2321 case 0:
2322 return &v.state
2323 case 1:
2324 return &v.sizeCache
2325 case 2:
2326 return &v.unknownFields
2327 default:
2328 return nil
2329 }
2330 }
2331 file_internal_proto_v2_s2a_s2a_proto_msgTypes[6].Exporter = func(v any, i int) any {
2332 switch v := v.(*OffloadPrivateKeyOperationResp); i {
2333 case 0:
2334 return &v.state
2335 case 1:
2336 return &v.sizeCache
2337 case 2:
2338 return &v.unknownFields
2339 default:
2340 return nil
2341 }
2342 }
2343 file_internal_proto_v2_s2a_s2a_proto_msgTypes[7].Exporter = func(v any, i int) any {
2344 switch v := v.(*OffloadResumptionKeyOperationReq); i {
2345 case 0:
2346 return &v.state
2347 case 1:
2348 return &v.sizeCache
2349 case 2:
2350 return &v.unknownFields
2351 default:
2352 return nil
2353 }
2354 }
2355 file_internal_proto_v2_s2a_s2a_proto_msgTypes[8].Exporter = func(v any, i int) any {
2356 switch v := v.(*OffloadResumptionKeyOperationResp); i {
2357 case 0:
2358 return &v.state
2359 case 1:
2360 return &v.sizeCache
2361 case 2:
2362 return &v.unknownFields
2363 default:
2364 return nil
2365 }
2366 }
2367 file_internal_proto_v2_s2a_s2a_proto_msgTypes[9].Exporter = func(v any, i int) any {
2368 switch v := v.(*ValidatePeerCertificateChainReq); i {
2369 case 0:
2370 return &v.state
2371 case 1:
2372 return &v.sizeCache
2373 case 2:
2374 return &v.unknownFields
2375 default:
2376 return nil
2377 }
2378 }
2379 file_internal_proto_v2_s2a_s2a_proto_msgTypes[10].Exporter = func(v any, i int) any {
2380 switch v := v.(*ValidatePeerCertificateChainResp); i {
2381 case 0:
2382 return &v.state
2383 case 1:
2384 return &v.sizeCache
2385 case 2:
2386 return &v.unknownFields
2387 default:
2388 return nil
2389 }
2390 }
2391 file_internal_proto_v2_s2a_s2a_proto_msgTypes[11].Exporter = func(v any, i int) any {
2392 switch v := v.(*SessionReq); i {
2393 case 0:
2394 return &v.state
2395 case 1:
2396 return &v.sizeCache
2397 case 2:
2398 return &v.unknownFields
2399 default:
2400 return nil
2401 }
2402 }
2403 file_internal_proto_v2_s2a_s2a_proto_msgTypes[12].Exporter = func(v any, i int) any {
2404 switch v := v.(*SessionResp); i {
2405 case 0:
2406 return &v.state
2407 case 1:
2408 return &v.sizeCache
2409 case 2:
2410 return &v.unknownFields
2411 default:
2412 return nil
2413 }
2414 }
2415 file_internal_proto_v2_s2a_s2a_proto_msgTypes[13].Exporter = func(v any, i int) any {
2416 switch v := v.(*GetTlsConfigurationResp_ClientTlsConfiguration); i {
2417 case 0:
2418 return &v.state
2419 case 1:
2420 return &v.sizeCache
2421 case 2:
2422 return &v.unknownFields
2423 default:
2424 return nil
2425 }
2426 }
2427 file_internal_proto_v2_s2a_s2a_proto_msgTypes[14].Exporter = func(v any, i int) any {
2428 switch v := v.(*GetTlsConfigurationResp_ServerTlsConfiguration); i {
2429 case 0:
2430 return &v.state
2431 case 1:
2432 return &v.sizeCache
2433 case 2:
2434 return &v.unknownFields
2435 default:
2436 return nil
2437 }
2438 }
2439 file_internal_proto_v2_s2a_s2a_proto_msgTypes[15].Exporter = func(v any, i int) any {
2440 switch v := v.(*ValidatePeerCertificateChainReq_ClientPeer); i {
2441 case 0:
2442 return &v.state
2443 case 1:
2444 return &v.sizeCache
2445 case 2:
2446 return &v.unknownFields
2447 default:
2448 return nil
2449 }
2450 }
2451 file_internal_proto_v2_s2a_s2a_proto_msgTypes[16].Exporter = func(v any, i int) any {
2452 switch v := v.(*ValidatePeerCertificateChainReq_ServerPeer); i {
2453 case 0:
2454 return &v.state
2455 case 1:
2456 return &v.sizeCache
2457 case 2:
2458 return &v.unknownFields
2459 default:
2460 return nil
2461 }
2462 }
2463 }
2464 file_internal_proto_v2_s2a_s2a_proto_msgTypes[1].OneofWrappers = []any{
2465 (*AuthenticationMechanism_Token)(nil),
2466 }
2467 file_internal_proto_v2_s2a_s2a_proto_msgTypes[4].OneofWrappers = []any{
2468 (*GetTlsConfigurationResp_ClientTlsConfiguration_)(nil),
2469 (*GetTlsConfigurationResp_ServerTlsConfiguration_)(nil),
2470 }
2471 file_internal_proto_v2_s2a_s2a_proto_msgTypes[5].OneofWrappers = []any{
2472 (*OffloadPrivateKeyOperationReq_RawBytes)(nil),
2473 (*OffloadPrivateKeyOperationReq_Sha256Digest)(nil),
2474 (*OffloadPrivateKeyOperationReq_Sha384Digest)(nil),
2475 (*OffloadPrivateKeyOperationReq_Sha512Digest)(nil),
2476 }
2477 file_internal_proto_v2_s2a_s2a_proto_msgTypes[9].OneofWrappers = []any{
2478 (*ValidatePeerCertificateChainReq_ClientPeer_)(nil),
2479 (*ValidatePeerCertificateChainReq_ServerPeer_)(nil),
2480 }
2481 file_internal_proto_v2_s2a_s2a_proto_msgTypes[11].OneofWrappers = []any{
2482 (*SessionReq_GetTlsConfigurationReq)(nil),
2483 (*SessionReq_OffloadPrivateKeyOperationReq)(nil),
2484 (*SessionReq_OffloadResumptionKeyOperationReq)(nil),
2485 (*SessionReq_ValidatePeerCertificateChainReq)(nil),
2486 }
2487 file_internal_proto_v2_s2a_s2a_proto_msgTypes[12].OneofWrappers = []any{
2488 (*SessionResp_GetTlsConfigurationResp)(nil),
2489 (*SessionResp_OffloadPrivateKeyOperationResp)(nil),
2490 (*SessionResp_OffloadResumptionKeyOperationResp)(nil),
2491 (*SessionResp_ValidatePeerCertificateChainResp)(nil),
2492 }
2493 type x struct{}
2494 out := protoimpl.TypeBuilder{
2495 File: protoimpl.DescBuilder{
2496 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
2497 RawDescriptor: file_internal_proto_v2_s2a_s2a_proto_rawDesc,
2498 NumEnums: 6,
2499 NumMessages: 17,
2500 NumExtensions: 0,
2501 NumServices: 1,
2502 },
2503 GoTypes: file_internal_proto_v2_s2a_s2a_proto_goTypes,
2504 DependencyIndexes: file_internal_proto_v2_s2a_s2a_proto_depIdxs,
2505 EnumInfos: file_internal_proto_v2_s2a_s2a_proto_enumTypes,
2506 MessageInfos: file_internal_proto_v2_s2a_s2a_proto_msgTypes,
2507 }.Build()
2508 File_internal_proto_v2_s2a_s2a_proto = out.File
2509 file_internal_proto_v2_s2a_s2a_proto_rawDesc = nil
2510 file_internal_proto_v2_s2a_s2a_proto_goTypes = nil
2511 file_internal_proto_v2_s2a_s2a_proto_depIdxs = nil
2512 }