xref: /aosp_15_r20/external/tink/go/proto/jwt_ecdsa_go_proto/jwt_ecdsa.pb.go (revision e7b1675dde1b92d52ec075b0a92829627f2c52a5)
1// Copyright 2017 Google Inc.
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//      http://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////////////////////////////////////////////////////////////////////////////////
16
17// Code generated by protoc-gen-go. DO NOT EDIT.
18// versions:
19// 	protoc-gen-go v1.28.1
20// 	protoc        v3.21.12
21// source: third_party/tink/proto/jwt_ecdsa.proto
22
23package jwt_ecdsa_go_proto
24
25import (
26	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
27	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
28	reflect "reflect"
29	sync "sync"
30)
31
32const (
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// See https://datatracker.ietf.org/doc/html/rfc7518#section-3.4
40type JwtEcdsaAlgorithm int32
41
42const (
43	JwtEcdsaAlgorithm_ES_UNKNOWN JwtEcdsaAlgorithm = 0
44	JwtEcdsaAlgorithm_ES256      JwtEcdsaAlgorithm = 1 // ECDSA using P-256 and SHA-256
45	JwtEcdsaAlgorithm_ES384      JwtEcdsaAlgorithm = 2 // ECDSA using P-384 and SHA-384
46	JwtEcdsaAlgorithm_ES512      JwtEcdsaAlgorithm = 3 // ECDSA using P-521 and SHA-512
47)
48
49// Enum value maps for JwtEcdsaAlgorithm.
50var (
51	JwtEcdsaAlgorithm_name = map[int32]string{
52		0: "ES_UNKNOWN",
53		1: "ES256",
54		2: "ES384",
55		3: "ES512",
56	}
57	JwtEcdsaAlgorithm_value = map[string]int32{
58		"ES_UNKNOWN": 0,
59		"ES256":      1,
60		"ES384":      2,
61		"ES512":      3,
62	}
63)
64
65func (x JwtEcdsaAlgorithm) Enum() *JwtEcdsaAlgorithm {
66	p := new(JwtEcdsaAlgorithm)
67	*p = x
68	return p
69}
70
71func (x JwtEcdsaAlgorithm) String() string {
72	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
73}
74
75func (JwtEcdsaAlgorithm) Descriptor() protoreflect.EnumDescriptor {
76	return file_third_party_tink_proto_jwt_ecdsa_proto_enumTypes[0].Descriptor()
77}
78
79func (JwtEcdsaAlgorithm) Type() protoreflect.EnumType {
80	return &file_third_party_tink_proto_jwt_ecdsa_proto_enumTypes[0]
81}
82
83func (x JwtEcdsaAlgorithm) Number() protoreflect.EnumNumber {
84	return protoreflect.EnumNumber(x)
85}
86
87// Deprecated: Use JwtEcdsaAlgorithm.Descriptor instead.
88func (JwtEcdsaAlgorithm) EnumDescriptor() ([]byte, []int) {
89	return file_third_party_tink_proto_jwt_ecdsa_proto_rawDescGZIP(), []int{0}
90}
91
92// key_type: type.googleapis.com/google.crypto.tink.JwtEcdsaPublicKey
93type JwtEcdsaPublicKey struct {
94	state         protoimpl.MessageState
95	sizeCache     protoimpl.SizeCache
96	unknownFields protoimpl.UnknownFields
97
98	Version   uint32            `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
99	Algorithm JwtEcdsaAlgorithm `protobuf:"varint,2,opt,name=algorithm,proto3,enum=google.crypto.tink.JwtEcdsaAlgorithm" json:"algorithm,omitempty"`
100	// Affine coordinates of the public key in big-endian representation. The
101	// public key is a point (x, y) on the curve defined by algorithm.
102	X         []byte                       `protobuf:"bytes,3,opt,name=x,proto3" json:"x,omitempty"`
103	Y         []byte                       `protobuf:"bytes,4,opt,name=y,proto3" json:"y,omitempty"`
104	CustomKid *JwtEcdsaPublicKey_CustomKid `protobuf:"bytes,5,opt,name=custom_kid,json=customKid,proto3" json:"custom_kid,omitempty"`
105}
106
107func (x *JwtEcdsaPublicKey) Reset() {
108	*x = JwtEcdsaPublicKey{}
109	if protoimpl.UnsafeEnabled {
110		mi := &file_third_party_tink_proto_jwt_ecdsa_proto_msgTypes[0]
111		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
112		ms.StoreMessageInfo(mi)
113	}
114}
115
116func (x *JwtEcdsaPublicKey) String() string {
117	return protoimpl.X.MessageStringOf(x)
118}
119
120func (*JwtEcdsaPublicKey) ProtoMessage() {}
121
122func (x *JwtEcdsaPublicKey) ProtoReflect() protoreflect.Message {
123	mi := &file_third_party_tink_proto_jwt_ecdsa_proto_msgTypes[0]
124	if protoimpl.UnsafeEnabled && x != nil {
125		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
126		if ms.LoadMessageInfo() == nil {
127			ms.StoreMessageInfo(mi)
128		}
129		return ms
130	}
131	return mi.MessageOf(x)
132}
133
134// Deprecated: Use JwtEcdsaPublicKey.ProtoReflect.Descriptor instead.
135func (*JwtEcdsaPublicKey) Descriptor() ([]byte, []int) {
136	return file_third_party_tink_proto_jwt_ecdsa_proto_rawDescGZIP(), []int{0}
137}
138
139func (x *JwtEcdsaPublicKey) GetVersion() uint32 {
140	if x != nil {
141		return x.Version
142	}
143	return 0
144}
145
146func (x *JwtEcdsaPublicKey) GetAlgorithm() JwtEcdsaAlgorithm {
147	if x != nil {
148		return x.Algorithm
149	}
150	return JwtEcdsaAlgorithm_ES_UNKNOWN
151}
152
153func (x *JwtEcdsaPublicKey) GetX() []byte {
154	if x != nil {
155		return x.X
156	}
157	return nil
158}
159
160func (x *JwtEcdsaPublicKey) GetY() []byte {
161	if x != nil {
162		return x.Y
163	}
164	return nil
165}
166
167func (x *JwtEcdsaPublicKey) GetCustomKid() *JwtEcdsaPublicKey_CustomKid {
168	if x != nil {
169		return x.CustomKid
170	}
171	return nil
172}
173
174// key_type: type.googleapis.com/google.crypto.tink.JwtEcdsaPrivateKey
175type JwtEcdsaPrivateKey struct {
176	state         protoimpl.MessageState
177	sizeCache     protoimpl.SizeCache
178	unknownFields protoimpl.UnknownFields
179
180	Version   uint32             `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
181	PublicKey *JwtEcdsaPublicKey `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
182	// Unsigned big integer in bigendian representation.
183	KeyValue []byte `protobuf:"bytes,3,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"`
184}
185
186func (x *JwtEcdsaPrivateKey) Reset() {
187	*x = JwtEcdsaPrivateKey{}
188	if protoimpl.UnsafeEnabled {
189		mi := &file_third_party_tink_proto_jwt_ecdsa_proto_msgTypes[1]
190		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
191		ms.StoreMessageInfo(mi)
192	}
193}
194
195func (x *JwtEcdsaPrivateKey) String() string {
196	return protoimpl.X.MessageStringOf(x)
197}
198
199func (*JwtEcdsaPrivateKey) ProtoMessage() {}
200
201func (x *JwtEcdsaPrivateKey) ProtoReflect() protoreflect.Message {
202	mi := &file_third_party_tink_proto_jwt_ecdsa_proto_msgTypes[1]
203	if protoimpl.UnsafeEnabled && x != nil {
204		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
205		if ms.LoadMessageInfo() == nil {
206			ms.StoreMessageInfo(mi)
207		}
208		return ms
209	}
210	return mi.MessageOf(x)
211}
212
213// Deprecated: Use JwtEcdsaPrivateKey.ProtoReflect.Descriptor instead.
214func (*JwtEcdsaPrivateKey) Descriptor() ([]byte, []int) {
215	return file_third_party_tink_proto_jwt_ecdsa_proto_rawDescGZIP(), []int{1}
216}
217
218func (x *JwtEcdsaPrivateKey) GetVersion() uint32 {
219	if x != nil {
220		return x.Version
221	}
222	return 0
223}
224
225func (x *JwtEcdsaPrivateKey) GetPublicKey() *JwtEcdsaPublicKey {
226	if x != nil {
227		return x.PublicKey
228	}
229	return nil
230}
231
232func (x *JwtEcdsaPrivateKey) GetKeyValue() []byte {
233	if x != nil {
234		return x.KeyValue
235	}
236	return nil
237}
238
239type JwtEcdsaKeyFormat struct {
240	state         protoimpl.MessageState
241	sizeCache     protoimpl.SizeCache
242	unknownFields protoimpl.UnknownFields
243
244	Version   uint32            `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
245	Algorithm JwtEcdsaAlgorithm `protobuf:"varint,2,opt,name=algorithm,proto3,enum=google.crypto.tink.JwtEcdsaAlgorithm" json:"algorithm,omitempty"`
246}
247
248func (x *JwtEcdsaKeyFormat) Reset() {
249	*x = JwtEcdsaKeyFormat{}
250	if protoimpl.UnsafeEnabled {
251		mi := &file_third_party_tink_proto_jwt_ecdsa_proto_msgTypes[2]
252		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
253		ms.StoreMessageInfo(mi)
254	}
255}
256
257func (x *JwtEcdsaKeyFormat) String() string {
258	return protoimpl.X.MessageStringOf(x)
259}
260
261func (*JwtEcdsaKeyFormat) ProtoMessage() {}
262
263func (x *JwtEcdsaKeyFormat) ProtoReflect() protoreflect.Message {
264	mi := &file_third_party_tink_proto_jwt_ecdsa_proto_msgTypes[2]
265	if protoimpl.UnsafeEnabled && x != nil {
266		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
267		if ms.LoadMessageInfo() == nil {
268			ms.StoreMessageInfo(mi)
269		}
270		return ms
271	}
272	return mi.MessageOf(x)
273}
274
275// Deprecated: Use JwtEcdsaKeyFormat.ProtoReflect.Descriptor instead.
276func (*JwtEcdsaKeyFormat) Descriptor() ([]byte, []int) {
277	return file_third_party_tink_proto_jwt_ecdsa_proto_rawDescGZIP(), []int{2}
278}
279
280func (x *JwtEcdsaKeyFormat) GetVersion() uint32 {
281	if x != nil {
282		return x.Version
283	}
284	return 0
285}
286
287func (x *JwtEcdsaKeyFormat) GetAlgorithm() JwtEcdsaAlgorithm {
288	if x != nil {
289		return x.Algorithm
290	}
291	return JwtEcdsaAlgorithm_ES_UNKNOWN
292}
293
294// Optional, custom kid header value to be used with "RAW" keys.
295// "TINK" keys with this value set will be rejected.
296type JwtEcdsaPublicKey_CustomKid struct {
297	state         protoimpl.MessageState
298	sizeCache     protoimpl.SizeCache
299	unknownFields protoimpl.UnknownFields
300
301	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
302}
303
304func (x *JwtEcdsaPublicKey_CustomKid) Reset() {
305	*x = JwtEcdsaPublicKey_CustomKid{}
306	if protoimpl.UnsafeEnabled {
307		mi := &file_third_party_tink_proto_jwt_ecdsa_proto_msgTypes[3]
308		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
309		ms.StoreMessageInfo(mi)
310	}
311}
312
313func (x *JwtEcdsaPublicKey_CustomKid) String() string {
314	return protoimpl.X.MessageStringOf(x)
315}
316
317func (*JwtEcdsaPublicKey_CustomKid) ProtoMessage() {}
318
319func (x *JwtEcdsaPublicKey_CustomKid) ProtoReflect() protoreflect.Message {
320	mi := &file_third_party_tink_proto_jwt_ecdsa_proto_msgTypes[3]
321	if protoimpl.UnsafeEnabled && x != nil {
322		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
323		if ms.LoadMessageInfo() == nil {
324			ms.StoreMessageInfo(mi)
325		}
326		return ms
327	}
328	return mi.MessageOf(x)
329}
330
331// Deprecated: Use JwtEcdsaPublicKey_CustomKid.ProtoReflect.Descriptor instead.
332func (*JwtEcdsaPublicKey_CustomKid) Descriptor() ([]byte, []int) {
333	return file_third_party_tink_proto_jwt_ecdsa_proto_rawDescGZIP(), []int{0, 0}
334}
335
336func (x *JwtEcdsaPublicKey_CustomKid) GetValue() string {
337	if x != nil {
338		return x.Value
339	}
340	return ""
341}
342
343var File_third_party_tink_proto_jwt_ecdsa_proto protoreflect.FileDescriptor
344
345var file_third_party_tink_proto_jwt_ecdsa_proto_rawDesc = []byte{
346	0x0a, 0x26, 0x74, 0x68, 0x69, 0x72, 0x64, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x79, 0x2f, 0x74, 0x69,
347	0x6e, 0x6b, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6a, 0x77, 0x74, 0x5f, 0x65, 0x63, 0x64,
348	0x73, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
349	0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x22, 0x81, 0x02, 0x0a,
350	0x11, 0x4a, 0x77, 0x74, 0x45, 0x63, 0x64, 0x73, 0x61, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b,
351	0x65, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20,
352	0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x09,
353	0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32,
354	0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e,
355	0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x4a, 0x77, 0x74, 0x45, 0x63, 0x64, 0x73, 0x61, 0x41, 0x6c, 0x67,
356	0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52, 0x09, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68,
357	0x6d, 0x12, 0x0c, 0x0a, 0x01, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x78, 0x12,
358	0x0c, 0x0a, 0x01, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x79, 0x12, 0x4e, 0x0a,
359	0x0a, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x6b, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28,
360	0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74,
361	0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x4a, 0x77, 0x74, 0x45, 0x63, 0x64, 0x73, 0x61, 0x50,
362	0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x4b,
363	0x69, 0x64, 0x52, 0x09, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x4b, 0x69, 0x64, 0x1a, 0x21, 0x0a,
364	0x09, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x4b, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61,
365	0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
366	0x22, 0x91, 0x01, 0x0a, 0x12, 0x4a, 0x77, 0x74, 0x45, 0x63, 0x64, 0x73, 0x61, 0x50, 0x72, 0x69,
367	0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69,
368	0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
369	0x6e, 0x12, 0x44, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18,
370	0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
371	0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x4a, 0x77, 0x74, 0x45, 0x63,
372	0x64, 0x73, 0x61, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x09, 0x70, 0x75,
373	0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x5f, 0x76,
374	0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x56,
375	0x61, 0x6c, 0x75, 0x65, 0x22, 0x72, 0x0a, 0x11, 0x4a, 0x77, 0x74, 0x45, 0x63, 0x64, 0x73, 0x61,
376	0x4b, 0x65, 0x79, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72,
377	0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73,
378	0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x09, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d,
379	0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
380	0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x4a, 0x77, 0x74, 0x45,
381	0x63, 0x64, 0x73, 0x61, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52, 0x09, 0x61,
382	0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x2a, 0x44, 0x0a, 0x11, 0x4a, 0x77, 0x74, 0x45,
383	0x63, 0x64, 0x73, 0x61, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x12, 0x0e, 0x0a,
384	0x0a, 0x45, 0x53, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x09, 0x0a,
385	0x05, 0x45, 0x53, 0x32, 0x35, 0x36, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x53, 0x33, 0x38,
386	0x34, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x53, 0x35, 0x31, 0x32, 0x10, 0x03, 0x42, 0x54,
387	0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79,
388	0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
389	0x5a, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f,
390	0x67, 0x6c, 0x65, 0x2f, 0x74, 0x69, 0x6e, 0x6b, 0x2f, 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74,
391	0x6f, 0x2f, 0x6a, 0x77, 0x74, 0x5f, 0x65, 0x63, 0x64, 0x73, 0x61, 0x5f, 0x67, 0x6f, 0x5f, 0x70,
392	0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
393}
394
395var (
396	file_third_party_tink_proto_jwt_ecdsa_proto_rawDescOnce sync.Once
397	file_third_party_tink_proto_jwt_ecdsa_proto_rawDescData = file_third_party_tink_proto_jwt_ecdsa_proto_rawDesc
398)
399
400func file_third_party_tink_proto_jwt_ecdsa_proto_rawDescGZIP() []byte {
401	file_third_party_tink_proto_jwt_ecdsa_proto_rawDescOnce.Do(func() {
402		file_third_party_tink_proto_jwt_ecdsa_proto_rawDescData = protoimpl.X.CompressGZIP(file_third_party_tink_proto_jwt_ecdsa_proto_rawDescData)
403	})
404	return file_third_party_tink_proto_jwt_ecdsa_proto_rawDescData
405}
406
407var file_third_party_tink_proto_jwt_ecdsa_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
408var file_third_party_tink_proto_jwt_ecdsa_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
409var file_third_party_tink_proto_jwt_ecdsa_proto_goTypes = []interface{}{
410	(JwtEcdsaAlgorithm)(0),              // 0: google.crypto.tink.JwtEcdsaAlgorithm
411	(*JwtEcdsaPublicKey)(nil),           // 1: google.crypto.tink.JwtEcdsaPublicKey
412	(*JwtEcdsaPrivateKey)(nil),          // 2: google.crypto.tink.JwtEcdsaPrivateKey
413	(*JwtEcdsaKeyFormat)(nil),           // 3: google.crypto.tink.JwtEcdsaKeyFormat
414	(*JwtEcdsaPublicKey_CustomKid)(nil), // 4: google.crypto.tink.JwtEcdsaPublicKey.CustomKid
415}
416var file_third_party_tink_proto_jwt_ecdsa_proto_depIdxs = []int32{
417	0, // 0: google.crypto.tink.JwtEcdsaPublicKey.algorithm:type_name -> google.crypto.tink.JwtEcdsaAlgorithm
418	4, // 1: google.crypto.tink.JwtEcdsaPublicKey.custom_kid:type_name -> google.crypto.tink.JwtEcdsaPublicKey.CustomKid
419	1, // 2: google.crypto.tink.JwtEcdsaPrivateKey.public_key:type_name -> google.crypto.tink.JwtEcdsaPublicKey
420	0, // 3: google.crypto.tink.JwtEcdsaKeyFormat.algorithm:type_name -> google.crypto.tink.JwtEcdsaAlgorithm
421	4, // [4:4] is the sub-list for method output_type
422	4, // [4:4] is the sub-list for method input_type
423	4, // [4:4] is the sub-list for extension type_name
424	4, // [4:4] is the sub-list for extension extendee
425	0, // [0:4] is the sub-list for field type_name
426}
427
428func init() { file_third_party_tink_proto_jwt_ecdsa_proto_init() }
429func file_third_party_tink_proto_jwt_ecdsa_proto_init() {
430	if File_third_party_tink_proto_jwt_ecdsa_proto != nil {
431		return
432	}
433	if !protoimpl.UnsafeEnabled {
434		file_third_party_tink_proto_jwt_ecdsa_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
435			switch v := v.(*JwtEcdsaPublicKey); i {
436			case 0:
437				return &v.state
438			case 1:
439				return &v.sizeCache
440			case 2:
441				return &v.unknownFields
442			default:
443				return nil
444			}
445		}
446		file_third_party_tink_proto_jwt_ecdsa_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
447			switch v := v.(*JwtEcdsaPrivateKey); i {
448			case 0:
449				return &v.state
450			case 1:
451				return &v.sizeCache
452			case 2:
453				return &v.unknownFields
454			default:
455				return nil
456			}
457		}
458		file_third_party_tink_proto_jwt_ecdsa_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
459			switch v := v.(*JwtEcdsaKeyFormat); i {
460			case 0:
461				return &v.state
462			case 1:
463				return &v.sizeCache
464			case 2:
465				return &v.unknownFields
466			default:
467				return nil
468			}
469		}
470		file_third_party_tink_proto_jwt_ecdsa_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
471			switch v := v.(*JwtEcdsaPublicKey_CustomKid); i {
472			case 0:
473				return &v.state
474			case 1:
475				return &v.sizeCache
476			case 2:
477				return &v.unknownFields
478			default:
479				return nil
480			}
481		}
482	}
483	type x struct{}
484	out := protoimpl.TypeBuilder{
485		File: protoimpl.DescBuilder{
486			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
487			RawDescriptor: file_third_party_tink_proto_jwt_ecdsa_proto_rawDesc,
488			NumEnums:      1,
489			NumMessages:   4,
490			NumExtensions: 0,
491			NumServices:   0,
492		},
493		GoTypes:           file_third_party_tink_proto_jwt_ecdsa_proto_goTypes,
494		DependencyIndexes: file_third_party_tink_proto_jwt_ecdsa_proto_depIdxs,
495		EnumInfos:         file_third_party_tink_proto_jwt_ecdsa_proto_enumTypes,
496		MessageInfos:      file_third_party_tink_proto_jwt_ecdsa_proto_msgTypes,
497	}.Build()
498	File_third_party_tink_proto_jwt_ecdsa_proto = out.File
499	file_third_party_tink_proto_jwt_ecdsa_proto_rawDesc = nil
500	file_third_party_tink_proto_jwt_ecdsa_proto_goTypes = nil
501	file_third_party_tink_proto_jwt_ecdsa_proto_depIdxs = nil
502}
503