1// Copyright 2020 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// 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_pkcs1.proto 22 23package rsa_ssa_pkcs1_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.3 40type JwtRsaSsaPkcs1Algorithm int32 41 42const ( 43 JwtRsaSsaPkcs1Algorithm_RS_UNKNOWN JwtRsaSsaPkcs1Algorithm = 0 44 JwtRsaSsaPkcs1Algorithm_RS256 JwtRsaSsaPkcs1Algorithm = 1 // RSASSA-PKCS1-v1_5 using SHA-256 45 JwtRsaSsaPkcs1Algorithm_RS384 JwtRsaSsaPkcs1Algorithm = 2 // RSASSA-PKCS1-v1_5 using SHA-384 46 JwtRsaSsaPkcs1Algorithm_RS512 JwtRsaSsaPkcs1Algorithm = 3 // RSASSA-PKCS1-v1_5 using SHA-512 47) 48 49// Enum value maps for JwtRsaSsaPkcs1Algorithm. 50var ( 51 JwtRsaSsaPkcs1Algorithm_name = map[int32]string{ 52 0: "RS_UNKNOWN", 53 1: "RS256", 54 2: "RS384", 55 3: "RS512", 56 } 57 JwtRsaSsaPkcs1Algorithm_value = map[string]int32{ 58 "RS_UNKNOWN": 0, 59 "RS256": 1, 60 "RS384": 2, 61 "RS512": 3, 62 } 63) 64 65func (x JwtRsaSsaPkcs1Algorithm) Enum() *JwtRsaSsaPkcs1Algorithm { 66 p := new(JwtRsaSsaPkcs1Algorithm) 67 *p = x 68 return p 69} 70 71func (x JwtRsaSsaPkcs1Algorithm) String() string { 72 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 73} 74 75func (JwtRsaSsaPkcs1Algorithm) Descriptor() protoreflect.EnumDescriptor { 76 return file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_enumTypes[0].Descriptor() 77} 78 79func (JwtRsaSsaPkcs1Algorithm) Type() protoreflect.EnumType { 80 return &file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_enumTypes[0] 81} 82 83func (x JwtRsaSsaPkcs1Algorithm) Number() protoreflect.EnumNumber { 84 return protoreflect.EnumNumber(x) 85} 86 87// Deprecated: Use JwtRsaSsaPkcs1Algorithm.Descriptor instead. 88func (JwtRsaSsaPkcs1Algorithm) EnumDescriptor() ([]byte, []int) { 89 return file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_rawDescGZIP(), []int{0} 90} 91 92// key_type: type.googleapis.com/google.crypto.tink.JwtRsaSsaPkcs1PublicKey 93type JwtRsaSsaPkcs1PublicKey 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 JwtRsaSsaPkcs1Algorithm `protobuf:"varint,2,opt,name=algorithm,proto3,enum=google.crypto.tink.JwtRsaSsaPkcs1Algorithm" 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 *JwtRsaSsaPkcs1PublicKey_CustomKid `protobuf:"bytes,5,opt,name=custom_kid,json=customKid,proto3" json:"custom_kid,omitempty"` 107} 108 109func (x *JwtRsaSsaPkcs1PublicKey) Reset() { 110 *x = JwtRsaSsaPkcs1PublicKey{} 111 if protoimpl.UnsafeEnabled { 112 mi := &file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_msgTypes[0] 113 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 114 ms.StoreMessageInfo(mi) 115 } 116} 117 118func (x *JwtRsaSsaPkcs1PublicKey) String() string { 119 return protoimpl.X.MessageStringOf(x) 120} 121 122func (*JwtRsaSsaPkcs1PublicKey) ProtoMessage() {} 123 124func (x *JwtRsaSsaPkcs1PublicKey) ProtoReflect() protoreflect.Message { 125 mi := &file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_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 JwtRsaSsaPkcs1PublicKey.ProtoReflect.Descriptor instead. 137func (*JwtRsaSsaPkcs1PublicKey) Descriptor() ([]byte, []int) { 138 return file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_rawDescGZIP(), []int{0} 139} 140 141func (x *JwtRsaSsaPkcs1PublicKey) GetVersion() uint32 { 142 if x != nil { 143 return x.Version 144 } 145 return 0 146} 147 148func (x *JwtRsaSsaPkcs1PublicKey) GetAlgorithm() JwtRsaSsaPkcs1Algorithm { 149 if x != nil { 150 return x.Algorithm 151 } 152 return JwtRsaSsaPkcs1Algorithm_RS_UNKNOWN 153} 154 155func (x *JwtRsaSsaPkcs1PublicKey) GetN() []byte { 156 if x != nil { 157 return x.N 158 } 159 return nil 160} 161 162func (x *JwtRsaSsaPkcs1PublicKey) GetE() []byte { 163 if x != nil { 164 return x.E 165 } 166 return nil 167} 168 169func (x *JwtRsaSsaPkcs1PublicKey) GetCustomKid() *JwtRsaSsaPkcs1PublicKey_CustomKid { 170 if x != nil { 171 return x.CustomKid 172 } 173 return nil 174} 175 176// key_type: type.googleapis.com/google.crypto.tink.RsaSsaPkcs1PrivateKey 177type JwtRsaSsaPkcs1PrivateKey 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 *JwtRsaSsaPkcs1PublicKey `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 *JwtRsaSsaPkcs1PrivateKey) Reset() { 206 *x = JwtRsaSsaPkcs1PrivateKey{} 207 if protoimpl.UnsafeEnabled { 208 mi := &file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_msgTypes[1] 209 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 210 ms.StoreMessageInfo(mi) 211 } 212} 213 214func (x *JwtRsaSsaPkcs1PrivateKey) String() string { 215 return protoimpl.X.MessageStringOf(x) 216} 217 218func (*JwtRsaSsaPkcs1PrivateKey) ProtoMessage() {} 219 220func (x *JwtRsaSsaPkcs1PrivateKey) ProtoReflect() protoreflect.Message { 221 mi := &file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_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 JwtRsaSsaPkcs1PrivateKey.ProtoReflect.Descriptor instead. 233func (*JwtRsaSsaPkcs1PrivateKey) Descriptor() ([]byte, []int) { 234 return file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_rawDescGZIP(), []int{1} 235} 236 237func (x *JwtRsaSsaPkcs1PrivateKey) GetVersion() uint32 { 238 if x != nil { 239 return x.Version 240 } 241 return 0 242} 243 244func (x *JwtRsaSsaPkcs1PrivateKey) GetPublicKey() *JwtRsaSsaPkcs1PublicKey { 245 if x != nil { 246 return x.PublicKey 247 } 248 return nil 249} 250 251func (x *JwtRsaSsaPkcs1PrivateKey) GetD() []byte { 252 if x != nil { 253 return x.D 254 } 255 return nil 256} 257 258func (x *JwtRsaSsaPkcs1PrivateKey) GetP() []byte { 259 if x != nil { 260 return x.P 261 } 262 return nil 263} 264 265func (x *JwtRsaSsaPkcs1PrivateKey) GetQ() []byte { 266 if x != nil { 267 return x.Q 268 } 269 return nil 270} 271 272func (x *JwtRsaSsaPkcs1PrivateKey) GetDp() []byte { 273 if x != nil { 274 return x.Dp 275 } 276 return nil 277} 278 279func (x *JwtRsaSsaPkcs1PrivateKey) GetDq() []byte { 280 if x != nil { 281 return x.Dq 282 } 283 return nil 284} 285 286func (x *JwtRsaSsaPkcs1PrivateKey) GetCrt() []byte { 287 if x != nil { 288 return x.Crt 289 } 290 return nil 291} 292 293type JwtRsaSsaPkcs1KeyFormat 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 JwtRsaSsaPkcs1Algorithm `protobuf:"varint,2,opt,name=algorithm,proto3,enum=google.crypto.tink.JwtRsaSsaPkcs1Algorithm" 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 *JwtRsaSsaPkcs1KeyFormat) Reset() { 305 *x = JwtRsaSsaPkcs1KeyFormat{} 306 if protoimpl.UnsafeEnabled { 307 mi := &file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_msgTypes[2] 308 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 309 ms.StoreMessageInfo(mi) 310 } 311} 312 313func (x *JwtRsaSsaPkcs1KeyFormat) String() string { 314 return protoimpl.X.MessageStringOf(x) 315} 316 317func (*JwtRsaSsaPkcs1KeyFormat) ProtoMessage() {} 318 319func (x *JwtRsaSsaPkcs1KeyFormat) ProtoReflect() protoreflect.Message { 320 mi := &file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_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 JwtRsaSsaPkcs1KeyFormat.ProtoReflect.Descriptor instead. 332func (*JwtRsaSsaPkcs1KeyFormat) Descriptor() ([]byte, []int) { 333 return file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_rawDescGZIP(), []int{2} 334} 335 336func (x *JwtRsaSsaPkcs1KeyFormat) GetVersion() uint32 { 337 if x != nil { 338 return x.Version 339 } 340 return 0 341} 342 343func (x *JwtRsaSsaPkcs1KeyFormat) GetAlgorithm() JwtRsaSsaPkcs1Algorithm { 344 if x != nil { 345 return x.Algorithm 346 } 347 return JwtRsaSsaPkcs1Algorithm_RS_UNKNOWN 348} 349 350func (x *JwtRsaSsaPkcs1KeyFormat) GetModulusSizeInBits() uint32 { 351 if x != nil { 352 return x.ModulusSizeInBits 353 } 354 return 0 355} 356 357func (x *JwtRsaSsaPkcs1KeyFormat) 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 JwtRsaSsaPkcs1PublicKey_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 *JwtRsaSsaPkcs1PublicKey_CustomKid) Reset() { 375 *x = JwtRsaSsaPkcs1PublicKey_CustomKid{} 376 if protoimpl.UnsafeEnabled { 377 mi := &file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_msgTypes[3] 378 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 379 ms.StoreMessageInfo(mi) 380 } 381} 382 383func (x *JwtRsaSsaPkcs1PublicKey_CustomKid) String() string { 384 return protoimpl.X.MessageStringOf(x) 385} 386 387func (*JwtRsaSsaPkcs1PublicKey_CustomKid) ProtoMessage() {} 388 389func (x *JwtRsaSsaPkcs1PublicKey_CustomKid) ProtoReflect() protoreflect.Message { 390 mi := &file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_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 JwtRsaSsaPkcs1PublicKey_CustomKid.ProtoReflect.Descriptor instead. 402func (*JwtRsaSsaPkcs1PublicKey_CustomKid) Descriptor() ([]byte, []int) { 403 return file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_rawDescGZIP(), []int{0, 0} 404} 405 406func (x *JwtRsaSsaPkcs1PublicKey_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_pkcs1_proto protoreflect.FileDescriptor 414 415var file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_rawDesc = []byte{ 416 0x0a, 0x2e, 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, 0x6b, 0x63, 0x73, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 419 0x12, 0x12, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 420 0x74, 0x69, 0x6e, 0x6b, 0x22, 0x93, 0x02, 0x0a, 0x17, 0x4a, 0x77, 0x74, 0x52, 0x73, 0x61, 0x53, 421 0x73, 0x61, 0x50, 0x6b, 0x63, 0x73, 0x31, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 422 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 423 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x49, 0x0a, 0x09, 0x61, 0x6c, 424 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 425 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 426 0x6e, 0x6b, 0x2e, 0x4a, 0x77, 0x74, 0x52, 0x73, 0x61, 0x53, 0x73, 0x61, 0x50, 0x6b, 0x63, 0x73, 427 0x31, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52, 0x09, 0x61, 0x6c, 0x67, 0x6f, 428 0x72, 0x69, 0x74, 0x68, 0x6d, 0x12, 0x0c, 0x0a, 0x01, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 429 0x52, 0x01, 0x6e, 0x12, 0x0c, 0x0a, 0x01, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 430 0x65, 0x12, 0x54, 0x0a, 0x0a, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x6b, 0x69, 0x64, 0x18, 431 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 432 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x4a, 0x77, 0x74, 0x52, 0x73, 433 0x61, 0x53, 0x73, 0x61, 0x50, 0x6b, 0x63, 0x73, 0x31, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 434 0x65, 0x79, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x4b, 0x69, 0x64, 0x52, 0x09, 0x63, 0x75, 435 0x73, 0x74, 0x6f, 0x6d, 0x4b, 0x69, 0x64, 0x1a, 0x21, 0x0a, 0x09, 0x43, 0x75, 0x73, 0x74, 0x6f, 436 0x6d, 0x4b, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 437 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xdc, 0x01, 0x0a, 0x18, 0x4a, 438 0x77, 0x74, 0x52, 0x73, 0x61, 0x53, 0x73, 0x61, 0x50, 0x6b, 0x63, 0x73, 0x31, 0x50, 0x72, 0x69, 439 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 440 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 441 0x6e, 0x12, 0x4a, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 442 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 443 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x4a, 0x77, 0x74, 0x52, 0x73, 444 0x61, 0x53, 0x73, 0x61, 0x50, 0x6b, 0x63, 0x73, 0x31, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 445 0x65, 0x79, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x0c, 0x0a, 446 0x01, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x64, 0x12, 0x0c, 0x0a, 0x01, 0x70, 447 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x70, 0x12, 0x0c, 0x0a, 0x01, 0x71, 0x18, 0x05, 448 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x64, 0x70, 0x18, 0x06, 0x20, 449 0x01, 0x28, 0x0c, 0x52, 0x02, 0x64, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x64, 0x71, 0x18, 0x07, 0x20, 450 0x01, 0x28, 0x0c, 0x52, 0x02, 0x64, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x72, 0x74, 0x18, 0x08, 451 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x63, 0x72, 0x74, 0x22, 0xd8, 0x01, 0x0a, 0x17, 0x4a, 0x77, 452 0x74, 0x52, 0x73, 0x61, 0x53, 0x73, 0x61, 0x50, 0x6b, 0x63, 0x73, 0x31, 0x4b, 0x65, 0x79, 0x46, 453 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 454 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 455 0x49, 0x0a, 0x09, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x18, 0x02, 0x20, 0x01, 456 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 457 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x4a, 0x77, 0x74, 0x52, 0x73, 0x61, 0x53, 0x73, 458 0x61, 0x50, 0x6b, 0x63, 0x73, 0x31, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x52, 459 0x09, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x12, 0x2f, 0x0a, 0x14, 0x6d, 0x6f, 460 0x64, 0x75, 0x6c, 0x75, 0x73, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x69, 0x6e, 0x5f, 0x62, 0x69, 461 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x75, 462 0x73, 0x53, 0x69, 0x7a, 0x65, 0x49, 0x6e, 0x42, 0x69, 0x74, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x70, 463 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x18, 0x04, 464 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x45, 0x78, 0x70, 0x6f, 465 0x6e, 0x65, 0x6e, 0x74, 0x2a, 0x4a, 0x0a, 0x17, 0x4a, 0x77, 0x74, 0x52, 0x73, 0x61, 0x53, 0x73, 466 0x61, 0x50, 0x6b, 0x63, 0x73, 0x31, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x12, 467 0x0e, 0x0a, 0x0a, 0x52, 0x53, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 468 0x09, 0x0a, 0x05, 0x52, 0x53, 0x32, 0x35, 0x36, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x53, 469 0x33, 0x38, 0x34, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x53, 0x35, 0x31, 0x32, 0x10, 0x03, 470 0x42, 0x58, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 471 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 472 0x50, 0x01, 0x5a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 473 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x69, 0x6e, 0x6b, 0x2f, 0x67, 0x6f, 0x2f, 0x70, 0x72, 474 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x73, 0x61, 0x5f, 0x73, 0x73, 0x61, 0x5f, 0x70, 0x6b, 0x63, 0x73, 475 0x31, 0x5f, 0x67, 0x6f, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 476 0x6f, 0x33, 477} 478 479var ( 480 file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_rawDescOnce sync.Once 481 file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_rawDescData = file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_rawDesc 482) 483 484func file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_rawDescGZIP() []byte { 485 file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_rawDescOnce.Do(func() { 486 file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_rawDescData = protoimpl.X.CompressGZIP(file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_rawDescData) 487 }) 488 return file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_rawDescData 489} 490 491var file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 492var file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 493var file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_goTypes = []interface{}{ 494 (JwtRsaSsaPkcs1Algorithm)(0), // 0: google.crypto.tink.JwtRsaSsaPkcs1Algorithm 495 (*JwtRsaSsaPkcs1PublicKey)(nil), // 1: google.crypto.tink.JwtRsaSsaPkcs1PublicKey 496 (*JwtRsaSsaPkcs1PrivateKey)(nil), // 2: google.crypto.tink.JwtRsaSsaPkcs1PrivateKey 497 (*JwtRsaSsaPkcs1KeyFormat)(nil), // 3: google.crypto.tink.JwtRsaSsaPkcs1KeyFormat 498 (*JwtRsaSsaPkcs1PublicKey_CustomKid)(nil), // 4: google.crypto.tink.JwtRsaSsaPkcs1PublicKey.CustomKid 499} 500var file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_depIdxs = []int32{ 501 0, // 0: google.crypto.tink.JwtRsaSsaPkcs1PublicKey.algorithm:type_name -> google.crypto.tink.JwtRsaSsaPkcs1Algorithm 502 4, // 1: google.crypto.tink.JwtRsaSsaPkcs1PublicKey.custom_kid:type_name -> google.crypto.tink.JwtRsaSsaPkcs1PublicKey.CustomKid 503 1, // 2: google.crypto.tink.JwtRsaSsaPkcs1PrivateKey.public_key:type_name -> google.crypto.tink.JwtRsaSsaPkcs1PublicKey 504 0, // 3: google.crypto.tink.JwtRsaSsaPkcs1KeyFormat.algorithm:type_name -> google.crypto.tink.JwtRsaSsaPkcs1Algorithm 505 4, // [4:4] is the sub-list for method output_type 506 4, // [4:4] is the sub-list for method input_type 507 4, // [4:4] is the sub-list for extension type_name 508 4, // [4:4] is the sub-list for extension extendee 509 0, // [0:4] is the sub-list for field type_name 510} 511 512func init() { file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_init() } 513func file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_init() { 514 if File_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto != nil { 515 return 516 } 517 if !protoimpl.UnsafeEnabled { 518 file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 519 switch v := v.(*JwtRsaSsaPkcs1PublicKey); i { 520 case 0: 521 return &v.state 522 case 1: 523 return &v.sizeCache 524 case 2: 525 return &v.unknownFields 526 default: 527 return nil 528 } 529 } 530 file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 531 switch v := v.(*JwtRsaSsaPkcs1PrivateKey); i { 532 case 0: 533 return &v.state 534 case 1: 535 return &v.sizeCache 536 case 2: 537 return &v.unknownFields 538 default: 539 return nil 540 } 541 } 542 file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 543 switch v := v.(*JwtRsaSsaPkcs1KeyFormat); i { 544 case 0: 545 return &v.state 546 case 1: 547 return &v.sizeCache 548 case 2: 549 return &v.unknownFields 550 default: 551 return nil 552 } 553 } 554 file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 555 switch v := v.(*JwtRsaSsaPkcs1PublicKey_CustomKid); i { 556 case 0: 557 return &v.state 558 case 1: 559 return &v.sizeCache 560 case 2: 561 return &v.unknownFields 562 default: 563 return nil 564 } 565 } 566 } 567 type x struct{} 568 out := protoimpl.TypeBuilder{ 569 File: protoimpl.DescBuilder{ 570 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 571 RawDescriptor: file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_rawDesc, 572 NumEnums: 1, 573 NumMessages: 4, 574 NumExtensions: 0, 575 NumServices: 0, 576 }, 577 GoTypes: file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_goTypes, 578 DependencyIndexes: file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_depIdxs, 579 EnumInfos: file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_enumTypes, 580 MessageInfos: file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_msgTypes, 581 }.Build() 582 File_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto = out.File 583 file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_rawDesc = nil 584 file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_goTypes = nil 585 file_third_party_tink_proto_jwt_rsa_ssa_pkcs1_proto_depIdxs = nil 586} 587