xref: /aosp_15_r20/external/tink/go/proto/jwt_rsa_ssa_pss_go_proto/jwt_rsa_ssa_pss.pb.go (revision e7b1675dde1b92d52ec075b0a92829627f2c52a5)
1// Copyright 2018 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_rsa_ssa_pss.proto
22
23package jwt_rsa_ssa_pss_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.5
40type JwtRsaSsaPssAlgorithm int32
41
42const (
43	JwtRsaSsaPssAlgorithm_PS_UNKNOWN JwtRsaSsaPssAlgorithm = 0
44	JwtRsaSsaPssAlgorithm_PS256      JwtRsaSsaPssAlgorithm = 1 // RSASSA-PSS using SHA-256 and MGF1 with SHA-256
45	JwtRsaSsaPssAlgorithm_PS384      JwtRsaSsaPssAlgorithm = 2 // RSASSA-PSS using SHA-384 and MGF1 with SHA-384
46	JwtRsaSsaPssAlgorithm_PS512      JwtRsaSsaPssAlgorithm = 3 // RSASSA-PSS using SHA-512 and MGF1 with SHA-512
47)
48
49// Enum value maps for JwtRsaSsaPssAlgorithm.
50var (
51	JwtRsaSsaPssAlgorithm_name = map[int32]string{
52		0: "PS_UNKNOWN",
53		1: "PS256",
54		2: "PS384",
55		3: "PS512",
56	}
57	JwtRsaSsaPssAlgorithm_value = map[string]int32{
58		"PS_UNKNOWN": 0,
59		"PS256":      1,
60		"PS384":      2,
61		"PS512":      3,
62	}
63)
64
65func (x JwtRsaSsaPssAlgorithm) Enum() *JwtRsaSsaPssAlgorithm {
66	p := new(JwtRsaSsaPssAlgorithm)
67	*p = x
68	return p
69}
70
71func (x JwtRsaSsaPssAlgorithm) String() string {
72	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
73}
74
75func (JwtRsaSsaPssAlgorithm) Descriptor() protoreflect.EnumDescriptor {
76	return file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_enumTypes[0].Descriptor()
77}
78
79func (JwtRsaSsaPssAlgorithm) Type() protoreflect.EnumType {
80	return &file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_enumTypes[0]
81}
82
83func (x JwtRsaSsaPssAlgorithm) Number() protoreflect.EnumNumber {
84	return protoreflect.EnumNumber(x)
85}
86
87// Deprecated: Use JwtRsaSsaPssAlgorithm.Descriptor instead.
88func (JwtRsaSsaPssAlgorithm) EnumDescriptor() ([]byte, []int) {
89	return file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_rawDescGZIP(), []int{0}
90}
91
92// key_type: type.googleapis.com/google.crypto.tink.JwtRsaSsaPssPublicKey
93type JwtRsaSsaPssPublicKey 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 JwtRsaSsaPssAlgorithm `protobuf:"varint,2,opt,name=algorithm,proto3,enum=google.crypto.tink.JwtRsaSsaPssAlgorithm" json:"algorithm,omitempty"`
100	// Modulus.
101	// Unsigned big integer in big-endian representation.
102	N []byte `protobuf:"bytes,3,opt,name=n,proto3" json:"n,omitempty"`
103	// Public exponent.
104	// Unsigned big integer in big-endian representation.
105	E         []byte                           `protobuf:"bytes,4,opt,name=e,proto3" json:"e,omitempty"`
106	CustomKid *JwtRsaSsaPssPublicKey_CustomKid `protobuf:"bytes,5,opt,name=custom_kid,json=customKid,proto3" json:"custom_kid,omitempty"`
107}
108
109func (x *JwtRsaSsaPssPublicKey) Reset() {
110	*x = JwtRsaSsaPssPublicKey{}
111	if protoimpl.UnsafeEnabled {
112		mi := &file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_msgTypes[0]
113		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
114		ms.StoreMessageInfo(mi)
115	}
116}
117
118func (x *JwtRsaSsaPssPublicKey) String() string {
119	return protoimpl.X.MessageStringOf(x)
120}
121
122func (*JwtRsaSsaPssPublicKey) ProtoMessage() {}
123
124func (x *JwtRsaSsaPssPublicKey) ProtoReflect() protoreflect.Message {
125	mi := &file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_msgTypes[0]
126	if protoimpl.UnsafeEnabled && x != nil {
127		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
128		if ms.LoadMessageInfo() == nil {
129			ms.StoreMessageInfo(mi)
130		}
131		return ms
132	}
133	return mi.MessageOf(x)
134}
135
136// Deprecated: Use JwtRsaSsaPssPublicKey.ProtoReflect.Descriptor instead.
137func (*JwtRsaSsaPssPublicKey) Descriptor() ([]byte, []int) {
138	return file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_rawDescGZIP(), []int{0}
139}
140
141func (x *JwtRsaSsaPssPublicKey) GetVersion() uint32 {
142	if x != nil {
143		return x.Version
144	}
145	return 0
146}
147
148func (x *JwtRsaSsaPssPublicKey) GetAlgorithm() JwtRsaSsaPssAlgorithm {
149	if x != nil {
150		return x.Algorithm
151	}
152	return JwtRsaSsaPssAlgorithm_PS_UNKNOWN
153}
154
155func (x *JwtRsaSsaPssPublicKey) GetN() []byte {
156	if x != nil {
157		return x.N
158	}
159	return nil
160}
161
162func (x *JwtRsaSsaPssPublicKey) GetE() []byte {
163	if x != nil {
164		return x.E
165	}
166	return nil
167}
168
169func (x *JwtRsaSsaPssPublicKey) GetCustomKid() *JwtRsaSsaPssPublicKey_CustomKid {
170	if x != nil {
171		return x.CustomKid
172	}
173	return nil
174}
175
176// key_type: type.googleapis.com/google.crypto.tink.JwtRsaSsaPssPrivateKey
177type JwtRsaSsaPssPrivateKey struct {
178	state         protoimpl.MessageState
179	sizeCache     protoimpl.SizeCache
180	unknownFields protoimpl.UnknownFields
181
182	Version   uint32                 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
183	PublicKey *JwtRsaSsaPssPublicKey `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
184	// Private exponent.
185	// Unsigned big integer in big-endian representation.
186	D []byte `protobuf:"bytes,3,opt,name=d,proto3" json:"d,omitempty"`
187	// The following parameters are used to optimize RSA signature computation.
188	// The prime factor p of n.
189	// Unsigned big integer in big-endian representation.
190	P []byte `protobuf:"bytes,4,opt,name=p,proto3" json:"p,omitempty"`
191	// The prime factor q of n.
192	// Unsigned big integer in big-endian representation.
193	Q []byte `protobuf:"bytes,5,opt,name=q,proto3" json:"q,omitempty"`
194	// d mod (p - 1).
195	// Unsigned big integer in big-endian representation.
196	Dp []byte `protobuf:"bytes,6,opt,name=dp,proto3" json:"dp,omitempty"`
197	// d mod (q - 1).
198	// Unsigned big integer in big-endian representation.
199	Dq []byte `protobuf:"bytes,7,opt,name=dq,proto3" json:"dq,omitempty"`
200	// Chinese Remainder Theorem coefficient q^(-1) mod p.
201	// Unsigned big integer in big-endian representation.
202	Crt []byte `protobuf:"bytes,8,opt,name=crt,proto3" json:"crt,omitempty"`
203}
204
205func (x *JwtRsaSsaPssPrivateKey) Reset() {
206	*x = JwtRsaSsaPssPrivateKey{}
207	if protoimpl.UnsafeEnabled {
208		mi := &file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_msgTypes[1]
209		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
210		ms.StoreMessageInfo(mi)
211	}
212}
213
214func (x *JwtRsaSsaPssPrivateKey) String() string {
215	return protoimpl.X.MessageStringOf(x)
216}
217
218func (*JwtRsaSsaPssPrivateKey) ProtoMessage() {}
219
220func (x *JwtRsaSsaPssPrivateKey) ProtoReflect() protoreflect.Message {
221	mi := &file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_msgTypes[1]
222	if protoimpl.UnsafeEnabled && x != nil {
223		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
224		if ms.LoadMessageInfo() == nil {
225			ms.StoreMessageInfo(mi)
226		}
227		return ms
228	}
229	return mi.MessageOf(x)
230}
231
232// Deprecated: Use JwtRsaSsaPssPrivateKey.ProtoReflect.Descriptor instead.
233func (*JwtRsaSsaPssPrivateKey) Descriptor() ([]byte, []int) {
234	return file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_rawDescGZIP(), []int{1}
235}
236
237func (x *JwtRsaSsaPssPrivateKey) GetVersion() uint32 {
238	if x != nil {
239		return x.Version
240	}
241	return 0
242}
243
244func (x *JwtRsaSsaPssPrivateKey) GetPublicKey() *JwtRsaSsaPssPublicKey {
245	if x != nil {
246		return x.PublicKey
247	}
248	return nil
249}
250
251func (x *JwtRsaSsaPssPrivateKey) GetD() []byte {
252	if x != nil {
253		return x.D
254	}
255	return nil
256}
257
258func (x *JwtRsaSsaPssPrivateKey) GetP() []byte {
259	if x != nil {
260		return x.P
261	}
262	return nil
263}
264
265func (x *JwtRsaSsaPssPrivateKey) GetQ() []byte {
266	if x != nil {
267		return x.Q
268	}
269	return nil
270}
271
272func (x *JwtRsaSsaPssPrivateKey) GetDp() []byte {
273	if x != nil {
274		return x.Dp
275	}
276	return nil
277}
278
279func (x *JwtRsaSsaPssPrivateKey) GetDq() []byte {
280	if x != nil {
281		return x.Dq
282	}
283	return nil
284}
285
286func (x *JwtRsaSsaPssPrivateKey) GetCrt() []byte {
287	if x != nil {
288		return x.Crt
289	}
290	return nil
291}
292
293type JwtRsaSsaPssKeyFormat struct {
294	state         protoimpl.MessageState
295	sizeCache     protoimpl.SizeCache
296	unknownFields protoimpl.UnknownFields
297
298	Version           uint32                `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
299	Algorithm         JwtRsaSsaPssAlgorithm `protobuf:"varint,2,opt,name=algorithm,proto3,enum=google.crypto.tink.JwtRsaSsaPssAlgorithm" json:"algorithm,omitempty"`
300	ModulusSizeInBits uint32                `protobuf:"varint,3,opt,name=modulus_size_in_bits,json=modulusSizeInBits,proto3" json:"modulus_size_in_bits,omitempty"`
301	PublicExponent    []byte                `protobuf:"bytes,4,opt,name=public_exponent,json=publicExponent,proto3" json:"public_exponent,omitempty"`
302}
303
304func (x *JwtRsaSsaPssKeyFormat) Reset() {
305	*x = JwtRsaSsaPssKeyFormat{}
306	if protoimpl.UnsafeEnabled {
307		mi := &file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_msgTypes[2]
308		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
309		ms.StoreMessageInfo(mi)
310	}
311}
312
313func (x *JwtRsaSsaPssKeyFormat) String() string {
314	return protoimpl.X.MessageStringOf(x)
315}
316
317func (*JwtRsaSsaPssKeyFormat) ProtoMessage() {}
318
319func (x *JwtRsaSsaPssKeyFormat) ProtoReflect() protoreflect.Message {
320	mi := &file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_msgTypes[2]
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 JwtRsaSsaPssKeyFormat.ProtoReflect.Descriptor instead.
332func (*JwtRsaSsaPssKeyFormat) Descriptor() ([]byte, []int) {
333	return file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_rawDescGZIP(), []int{2}
334}
335
336func (x *JwtRsaSsaPssKeyFormat) GetVersion() uint32 {
337	if x != nil {
338		return x.Version
339	}
340	return 0
341}
342
343func (x *JwtRsaSsaPssKeyFormat) GetAlgorithm() JwtRsaSsaPssAlgorithm {
344	if x != nil {
345		return x.Algorithm
346	}
347	return JwtRsaSsaPssAlgorithm_PS_UNKNOWN
348}
349
350func (x *JwtRsaSsaPssKeyFormat) GetModulusSizeInBits() uint32 {
351	if x != nil {
352		return x.ModulusSizeInBits
353	}
354	return 0
355}
356
357func (x *JwtRsaSsaPssKeyFormat) GetPublicExponent() []byte {
358	if x != nil {
359		return x.PublicExponent
360	}
361	return nil
362}
363
364// Optional, custom kid header value to be used with "RAW" keys.
365// "TINK" keys with this value set will be rejected.
366type JwtRsaSsaPssPublicKey_CustomKid struct {
367	state         protoimpl.MessageState
368	sizeCache     protoimpl.SizeCache
369	unknownFields protoimpl.UnknownFields
370
371	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
372}
373
374func (x *JwtRsaSsaPssPublicKey_CustomKid) Reset() {
375	*x = JwtRsaSsaPssPublicKey_CustomKid{}
376	if protoimpl.UnsafeEnabled {
377		mi := &file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_msgTypes[3]
378		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
379		ms.StoreMessageInfo(mi)
380	}
381}
382
383func (x *JwtRsaSsaPssPublicKey_CustomKid) String() string {
384	return protoimpl.X.MessageStringOf(x)
385}
386
387func (*JwtRsaSsaPssPublicKey_CustomKid) ProtoMessage() {}
388
389func (x *JwtRsaSsaPssPublicKey_CustomKid) ProtoReflect() protoreflect.Message {
390	mi := &file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_msgTypes[3]
391	if protoimpl.UnsafeEnabled && x != nil {
392		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
393		if ms.LoadMessageInfo() == nil {
394			ms.StoreMessageInfo(mi)
395		}
396		return ms
397	}
398	return mi.MessageOf(x)
399}
400
401// Deprecated: Use JwtRsaSsaPssPublicKey_CustomKid.ProtoReflect.Descriptor instead.
402func (*JwtRsaSsaPssPublicKey_CustomKid) Descriptor() ([]byte, []int) {
403	return file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_rawDescGZIP(), []int{0, 0}
404}
405
406func (x *JwtRsaSsaPssPublicKey_CustomKid) GetValue() string {
407	if x != nil {
408		return x.Value
409	}
410	return ""
411}
412
413var File_third_party_tink_proto_jwt_rsa_ssa_pss_proto protoreflect.FileDescriptor
414
415var file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_rawDesc = []byte{
416	0x0a, 0x2c, 0x74, 0x68, 0x69, 0x72, 0x64, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x79, 0x2f, 0x74, 0x69,
417	0x6e, 0x6b, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6a, 0x77, 0x74, 0x5f, 0x72, 0x73, 0x61,
418	0x5f, 0x73, 0x73, 0x61, 0x5f, 0x70, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12,
419	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69,
420	0x6e, 0x6b, 0x22, 0x8d, 0x02, 0x0a, 0x15, 0x4a, 0x77, 0x74, 0x52, 0x73, 0x61, 0x53, 0x73, 0x61,
421	0x50, 0x73, 0x73, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x18, 0x0a, 0x07,
422	0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76,
423	0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x47, 0x0a, 0x09, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69,
424	0x74, 0x68, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
425	0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x4a,
426	0x77, 0x74, 0x52, 0x73, 0x61, 0x53, 0x73, 0x61, 0x50, 0x73, 0x73, 0x41, 0x6c, 0x67, 0x6f, 0x72,
427	0x69, 0x74, 0x68, 0x6d, 0x52, 0x09, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x12,
428	0x0c, 0x0a, 0x01, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x6e, 0x12, 0x0c, 0x0a,
429	0x01, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x65, 0x12, 0x52, 0x0a, 0x0a, 0x63,
430	0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x6b, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32,
431	0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e,
432	0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x4a, 0x77, 0x74, 0x52, 0x73, 0x61, 0x53, 0x73, 0x61, 0x50, 0x73,
433	0x73, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f,
434	0x6d, 0x4b, 0x69, 0x64, 0x52, 0x09, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x4b, 0x69, 0x64, 0x1a,
435	0x21, 0x0a, 0x09, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x4b, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05,
436	0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c,
437	0x75, 0x65, 0x22, 0xd8, 0x01, 0x0a, 0x16, 0x4a, 0x77, 0x74, 0x52, 0x73, 0x61, 0x53, 0x73, 0x61,
438	0x50, 0x73, 0x73, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x18, 0x0a,
439	0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07,
440	0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x48, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69,
441	0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f,
442	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b,
443	0x2e, 0x4a, 0x77, 0x74, 0x52, 0x73, 0x61, 0x53, 0x73, 0x61, 0x50, 0x73, 0x73, 0x50, 0x75, 0x62,
444	0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65,
445	0x79, 0x12, 0x0c, 0x0a, 0x01, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x64, 0x12,
446	0x0c, 0x0a, 0x01, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x70, 0x12, 0x0c, 0x0a,
447	0x01, 0x71, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x64,
448	0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x64, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x64,
449	0x71, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x64, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x63,
450	0x72, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x63, 0x72, 0x74, 0x22, 0xd4, 0x01,
451	0x0a, 0x15, 0x4a, 0x77, 0x74, 0x52, 0x73, 0x61, 0x53, 0x73, 0x61, 0x50, 0x73, 0x73, 0x4b, 0x65,
452	0x79, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69,
453	0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
454	0x6e, 0x12, 0x47, 0x0a, 0x09, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x18, 0x02,
455	0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72,
456	0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x4a, 0x77, 0x74, 0x52, 0x73, 0x61,
457	0x53, 0x73, 0x61, 0x50, 0x73, 0x73, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52,
458	0x09, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x12, 0x2f, 0x0a, 0x14, 0x6d, 0x6f,
459	0x64, 0x75, 0x6c, 0x75, 0x73, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x69, 0x6e, 0x5f, 0x62, 0x69,
460	0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x75,
461	0x73, 0x53, 0x69, 0x7a, 0x65, 0x49, 0x6e, 0x42, 0x69, 0x74, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x70,
462	0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x18, 0x04,
463	0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x45, 0x78, 0x70, 0x6f,
464	0x6e, 0x65, 0x6e, 0x74, 0x2a, 0x48, 0x0a, 0x15, 0x4a, 0x77, 0x74, 0x52, 0x73, 0x61, 0x53, 0x73,
465	0x61, 0x50, 0x73, 0x73, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x12, 0x0e, 0x0a,
466	0x0a, 0x50, 0x53, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x09, 0x0a,
467	0x05, 0x50, 0x53, 0x32, 0x35, 0x36, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x50, 0x53, 0x33, 0x38,
468	0x34, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x50, 0x53, 0x35, 0x31, 0x32, 0x10, 0x03, 0x42, 0x5a,
469	0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79,
470	0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
471	0x5a, 0x38, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f,
472	0x67, 0x6c, 0x65, 0x2f, 0x74, 0x69, 0x6e, 0x6b, 0x2f, 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74,
473	0x6f, 0x2f, 0x6a, 0x77, 0x74, 0x5f, 0x72, 0x73, 0x61, 0x5f, 0x73, 0x73, 0x61, 0x5f, 0x70, 0x73,
474	0x73, 0x5f, 0x67, 0x6f, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
475	0x6f, 0x33,
476}
477
478var (
479	file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_rawDescOnce sync.Once
480	file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_rawDescData = file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_rawDesc
481)
482
483func file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_rawDescGZIP() []byte {
484	file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_rawDescOnce.Do(func() {
485		file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_rawDescData = protoimpl.X.CompressGZIP(file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_rawDescData)
486	})
487	return file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_rawDescData
488}
489
490var file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
491var file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
492var file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_goTypes = []interface{}{
493	(JwtRsaSsaPssAlgorithm)(0),              // 0: google.crypto.tink.JwtRsaSsaPssAlgorithm
494	(*JwtRsaSsaPssPublicKey)(nil),           // 1: google.crypto.tink.JwtRsaSsaPssPublicKey
495	(*JwtRsaSsaPssPrivateKey)(nil),          // 2: google.crypto.tink.JwtRsaSsaPssPrivateKey
496	(*JwtRsaSsaPssKeyFormat)(nil),           // 3: google.crypto.tink.JwtRsaSsaPssKeyFormat
497	(*JwtRsaSsaPssPublicKey_CustomKid)(nil), // 4: google.crypto.tink.JwtRsaSsaPssPublicKey.CustomKid
498}
499var file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_depIdxs = []int32{
500	0, // 0: google.crypto.tink.JwtRsaSsaPssPublicKey.algorithm:type_name -> google.crypto.tink.JwtRsaSsaPssAlgorithm
501	4, // 1: google.crypto.tink.JwtRsaSsaPssPublicKey.custom_kid:type_name -> google.crypto.tink.JwtRsaSsaPssPublicKey.CustomKid
502	1, // 2: google.crypto.tink.JwtRsaSsaPssPrivateKey.public_key:type_name -> google.crypto.tink.JwtRsaSsaPssPublicKey
503	0, // 3: google.crypto.tink.JwtRsaSsaPssKeyFormat.algorithm:type_name -> google.crypto.tink.JwtRsaSsaPssAlgorithm
504	4, // [4:4] is the sub-list for method output_type
505	4, // [4:4] is the sub-list for method input_type
506	4, // [4:4] is the sub-list for extension type_name
507	4, // [4:4] is the sub-list for extension extendee
508	0, // [0:4] is the sub-list for field type_name
509}
510
511func init() { file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_init() }
512func file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_init() {
513	if File_third_party_tink_proto_jwt_rsa_ssa_pss_proto != nil {
514		return
515	}
516	if !protoimpl.UnsafeEnabled {
517		file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
518			switch v := v.(*JwtRsaSsaPssPublicKey); i {
519			case 0:
520				return &v.state
521			case 1:
522				return &v.sizeCache
523			case 2:
524				return &v.unknownFields
525			default:
526				return nil
527			}
528		}
529		file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
530			switch v := v.(*JwtRsaSsaPssPrivateKey); i {
531			case 0:
532				return &v.state
533			case 1:
534				return &v.sizeCache
535			case 2:
536				return &v.unknownFields
537			default:
538				return nil
539			}
540		}
541		file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
542			switch v := v.(*JwtRsaSsaPssKeyFormat); i {
543			case 0:
544				return &v.state
545			case 1:
546				return &v.sizeCache
547			case 2:
548				return &v.unknownFields
549			default:
550				return nil
551			}
552		}
553		file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
554			switch v := v.(*JwtRsaSsaPssPublicKey_CustomKid); i {
555			case 0:
556				return &v.state
557			case 1:
558				return &v.sizeCache
559			case 2:
560				return &v.unknownFields
561			default:
562				return nil
563			}
564		}
565	}
566	type x struct{}
567	out := protoimpl.TypeBuilder{
568		File: protoimpl.DescBuilder{
569			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
570			RawDescriptor: file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_rawDesc,
571			NumEnums:      1,
572			NumMessages:   4,
573			NumExtensions: 0,
574			NumServices:   0,
575		},
576		GoTypes:           file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_goTypes,
577		DependencyIndexes: file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_depIdxs,
578		EnumInfos:         file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_enumTypes,
579		MessageInfos:      file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_msgTypes,
580	}.Build()
581	File_third_party_tink_proto_jwt_rsa_ssa_pss_proto = out.File
582	file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_rawDesc = nil
583	file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_goTypes = nil
584	file_third_party_tink_proto_jwt_rsa_ssa_pss_proto_depIdxs = nil
585}
586