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// Definitions for RSA SSA (Signature Schemes with Appendix) using PSS 18// (Probabilistic Signature Scheme ) encoding 19// (https://tools.ietf.org/html/rfc8017#section-8.1). 20 21// Code generated by protoc-gen-go. DO NOT EDIT. 22// versions: 23// protoc-gen-go v1.28.1 24// protoc v3.21.12 25// source: third_party/tink/proto/rsa_ssa_pss.proto 26 27package rsa_ssa_pss_go_proto 28 29import ( 30 common_go_proto "github.com/google/tink/go/proto/common_go_proto" 31 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 32 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 33 reflect "reflect" 34 sync "sync" 35) 36 37const ( 38 // Verify that this generated code is sufficiently up-to-date. 39 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 40 // Verify that runtime/protoimpl is sufficiently up-to-date. 41 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 42) 43 44type RsaSsaPssParams struct { 45 state protoimpl.MessageState 46 sizeCache protoimpl.SizeCache 47 unknownFields protoimpl.UnknownFields 48 49 // Hash function used in computing hash of the signing message 50 // (see https://tools.ietf.org/html/rfc8017#section-9.1.1). 51 // Required. 52 SigHash common_go_proto.HashType `protobuf:"varint,1,opt,name=sig_hash,json=sigHash,proto3,enum=google.crypto.tink.HashType" json:"sig_hash,omitempty"` 53 // Hash function used in MGF1 (a mask generation function based on a 54 // hash function) (see https://tools.ietf.org/html/rfc8017#appendix-B.2.1). 55 // Required. 56 Mgf1Hash common_go_proto.HashType `protobuf:"varint,2,opt,name=mgf1_hash,json=mgf1Hash,proto3,enum=google.crypto.tink.HashType" json:"mgf1_hash,omitempty"` 57 // Salt length (see https://tools.ietf.org/html/rfc8017#section-9.1.1) 58 // Required. 59 SaltLength int32 `protobuf:"varint,3,opt,name=salt_length,json=saltLength,proto3" json:"salt_length,omitempty"` 60} 61 62func (x *RsaSsaPssParams) Reset() { 63 *x = RsaSsaPssParams{} 64 if protoimpl.UnsafeEnabled { 65 mi := &file_third_party_tink_proto_rsa_ssa_pss_proto_msgTypes[0] 66 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 67 ms.StoreMessageInfo(mi) 68 } 69} 70 71func (x *RsaSsaPssParams) String() string { 72 return protoimpl.X.MessageStringOf(x) 73} 74 75func (*RsaSsaPssParams) ProtoMessage() {} 76 77func (x *RsaSsaPssParams) ProtoReflect() protoreflect.Message { 78 mi := &file_third_party_tink_proto_rsa_ssa_pss_proto_msgTypes[0] 79 if protoimpl.UnsafeEnabled && x != nil { 80 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 81 if ms.LoadMessageInfo() == nil { 82 ms.StoreMessageInfo(mi) 83 } 84 return ms 85 } 86 return mi.MessageOf(x) 87} 88 89// Deprecated: Use RsaSsaPssParams.ProtoReflect.Descriptor instead. 90func (*RsaSsaPssParams) Descriptor() ([]byte, []int) { 91 return file_third_party_tink_proto_rsa_ssa_pss_proto_rawDescGZIP(), []int{0} 92} 93 94func (x *RsaSsaPssParams) GetSigHash() common_go_proto.HashType { 95 if x != nil { 96 return x.SigHash 97 } 98 return common_go_proto.HashType(0) 99} 100 101func (x *RsaSsaPssParams) GetMgf1Hash() common_go_proto.HashType { 102 if x != nil { 103 return x.Mgf1Hash 104 } 105 return common_go_proto.HashType(0) 106} 107 108func (x *RsaSsaPssParams) GetSaltLength() int32 { 109 if x != nil { 110 return x.SaltLength 111 } 112 return 0 113} 114 115// key_type: type.googleapis.com/google.crypto.tink.RsaSsaPssPublicKey 116type RsaSsaPssPublicKey struct { 117 state protoimpl.MessageState 118 sizeCache protoimpl.SizeCache 119 unknownFields protoimpl.UnknownFields 120 121 // Required. 122 Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` 123 // Required. 124 Params *RsaSsaPssParams `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` 125 // Modulus. 126 // Unsigned big integer in bigendian representation. 127 N []byte `protobuf:"bytes,3,opt,name=n,proto3" json:"n,omitempty"` 128 // Public exponent. 129 // Unsigned big integer in bigendian representation. 130 E []byte `protobuf:"bytes,4,opt,name=e,proto3" json:"e,omitempty"` 131} 132 133func (x *RsaSsaPssPublicKey) Reset() { 134 *x = RsaSsaPssPublicKey{} 135 if protoimpl.UnsafeEnabled { 136 mi := &file_third_party_tink_proto_rsa_ssa_pss_proto_msgTypes[1] 137 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 138 ms.StoreMessageInfo(mi) 139 } 140} 141 142func (x *RsaSsaPssPublicKey) String() string { 143 return protoimpl.X.MessageStringOf(x) 144} 145 146func (*RsaSsaPssPublicKey) ProtoMessage() {} 147 148func (x *RsaSsaPssPublicKey) ProtoReflect() protoreflect.Message { 149 mi := &file_third_party_tink_proto_rsa_ssa_pss_proto_msgTypes[1] 150 if protoimpl.UnsafeEnabled && x != nil { 151 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 152 if ms.LoadMessageInfo() == nil { 153 ms.StoreMessageInfo(mi) 154 } 155 return ms 156 } 157 return mi.MessageOf(x) 158} 159 160// Deprecated: Use RsaSsaPssPublicKey.ProtoReflect.Descriptor instead. 161func (*RsaSsaPssPublicKey) Descriptor() ([]byte, []int) { 162 return file_third_party_tink_proto_rsa_ssa_pss_proto_rawDescGZIP(), []int{1} 163} 164 165func (x *RsaSsaPssPublicKey) GetVersion() uint32 { 166 if x != nil { 167 return x.Version 168 } 169 return 0 170} 171 172func (x *RsaSsaPssPublicKey) GetParams() *RsaSsaPssParams { 173 if x != nil { 174 return x.Params 175 } 176 return nil 177} 178 179func (x *RsaSsaPssPublicKey) GetN() []byte { 180 if x != nil { 181 return x.N 182 } 183 return nil 184} 185 186func (x *RsaSsaPssPublicKey) GetE() []byte { 187 if x != nil { 188 return x.E 189 } 190 return nil 191} 192 193// key_type: type.googleapis.com/google.crypto.tink.RsaSsaPssPrivateKey 194type RsaSsaPssPrivateKey struct { 195 state protoimpl.MessageState 196 sizeCache protoimpl.SizeCache 197 unknownFields protoimpl.UnknownFields 198 199 // Required. 200 Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` 201 // Required. 202 PublicKey *RsaSsaPssPublicKey `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` 203 // Private exponent. 204 // Unsigned big integer in bigendian representation. 205 // Required. 206 D []byte `protobuf:"bytes,3,opt,name=d,proto3" json:"d,omitempty"` 207 // The following parameters are used to optimize RSA signature computation. 208 // The prime factor p of n. 209 // Unsigned big integer in bigendian representation. 210 // Required. 211 P []byte `protobuf:"bytes,4,opt,name=p,proto3" json:"p,omitempty"` 212 // The prime factor q of n. 213 // Unsigned big integer in bigendian representation. 214 // Required. 215 Q []byte `protobuf:"bytes,5,opt,name=q,proto3" json:"q,omitempty"` 216 // d mod (p - 1). 217 // Unsigned big integer in bigendian representation. 218 // Required. 219 Dp []byte `protobuf:"bytes,6,opt,name=dp,proto3" json:"dp,omitempty"` 220 // d mod (q - 1). 221 // Unsigned big integer in bigendian representation. 222 // Required. 223 Dq []byte `protobuf:"bytes,7,opt,name=dq,proto3" json:"dq,omitempty"` 224 // Chinese Remainder Theorem coefficient q^(-1) mod p. 225 // Unsigned big integer in bigendian representation. 226 // Required. 227 Crt []byte `protobuf:"bytes,8,opt,name=crt,proto3" json:"crt,omitempty"` 228} 229 230func (x *RsaSsaPssPrivateKey) Reset() { 231 *x = RsaSsaPssPrivateKey{} 232 if protoimpl.UnsafeEnabled { 233 mi := &file_third_party_tink_proto_rsa_ssa_pss_proto_msgTypes[2] 234 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 235 ms.StoreMessageInfo(mi) 236 } 237} 238 239func (x *RsaSsaPssPrivateKey) String() string { 240 return protoimpl.X.MessageStringOf(x) 241} 242 243func (*RsaSsaPssPrivateKey) ProtoMessage() {} 244 245func (x *RsaSsaPssPrivateKey) ProtoReflect() protoreflect.Message { 246 mi := &file_third_party_tink_proto_rsa_ssa_pss_proto_msgTypes[2] 247 if protoimpl.UnsafeEnabled && x != nil { 248 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 249 if ms.LoadMessageInfo() == nil { 250 ms.StoreMessageInfo(mi) 251 } 252 return ms 253 } 254 return mi.MessageOf(x) 255} 256 257// Deprecated: Use RsaSsaPssPrivateKey.ProtoReflect.Descriptor instead. 258func (*RsaSsaPssPrivateKey) Descriptor() ([]byte, []int) { 259 return file_third_party_tink_proto_rsa_ssa_pss_proto_rawDescGZIP(), []int{2} 260} 261 262func (x *RsaSsaPssPrivateKey) GetVersion() uint32 { 263 if x != nil { 264 return x.Version 265 } 266 return 0 267} 268 269func (x *RsaSsaPssPrivateKey) GetPublicKey() *RsaSsaPssPublicKey { 270 if x != nil { 271 return x.PublicKey 272 } 273 return nil 274} 275 276func (x *RsaSsaPssPrivateKey) GetD() []byte { 277 if x != nil { 278 return x.D 279 } 280 return nil 281} 282 283func (x *RsaSsaPssPrivateKey) GetP() []byte { 284 if x != nil { 285 return x.P 286 } 287 return nil 288} 289 290func (x *RsaSsaPssPrivateKey) GetQ() []byte { 291 if x != nil { 292 return x.Q 293 } 294 return nil 295} 296 297func (x *RsaSsaPssPrivateKey) GetDp() []byte { 298 if x != nil { 299 return x.Dp 300 } 301 return nil 302} 303 304func (x *RsaSsaPssPrivateKey) GetDq() []byte { 305 if x != nil { 306 return x.Dq 307 } 308 return nil 309} 310 311func (x *RsaSsaPssPrivateKey) GetCrt() []byte { 312 if x != nil { 313 return x.Crt 314 } 315 return nil 316} 317 318type RsaSsaPssKeyFormat struct { 319 state protoimpl.MessageState 320 sizeCache protoimpl.SizeCache 321 unknownFields protoimpl.UnknownFields 322 323 // Required. 324 Params *RsaSsaPssParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` 325 // Required. 326 ModulusSizeInBits uint32 `protobuf:"varint,2,opt,name=modulus_size_in_bits,json=modulusSizeInBits,proto3" json:"modulus_size_in_bits,omitempty"` 327 // Required. 328 PublicExponent []byte `protobuf:"bytes,3,opt,name=public_exponent,json=publicExponent,proto3" json:"public_exponent,omitempty"` 329} 330 331func (x *RsaSsaPssKeyFormat) Reset() { 332 *x = RsaSsaPssKeyFormat{} 333 if protoimpl.UnsafeEnabled { 334 mi := &file_third_party_tink_proto_rsa_ssa_pss_proto_msgTypes[3] 335 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 336 ms.StoreMessageInfo(mi) 337 } 338} 339 340func (x *RsaSsaPssKeyFormat) String() string { 341 return protoimpl.X.MessageStringOf(x) 342} 343 344func (*RsaSsaPssKeyFormat) ProtoMessage() {} 345 346func (x *RsaSsaPssKeyFormat) ProtoReflect() protoreflect.Message { 347 mi := &file_third_party_tink_proto_rsa_ssa_pss_proto_msgTypes[3] 348 if protoimpl.UnsafeEnabled && x != nil { 349 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 350 if ms.LoadMessageInfo() == nil { 351 ms.StoreMessageInfo(mi) 352 } 353 return ms 354 } 355 return mi.MessageOf(x) 356} 357 358// Deprecated: Use RsaSsaPssKeyFormat.ProtoReflect.Descriptor instead. 359func (*RsaSsaPssKeyFormat) Descriptor() ([]byte, []int) { 360 return file_third_party_tink_proto_rsa_ssa_pss_proto_rawDescGZIP(), []int{3} 361} 362 363func (x *RsaSsaPssKeyFormat) GetParams() *RsaSsaPssParams { 364 if x != nil { 365 return x.Params 366 } 367 return nil 368} 369 370func (x *RsaSsaPssKeyFormat) GetModulusSizeInBits() uint32 { 371 if x != nil { 372 return x.ModulusSizeInBits 373 } 374 return 0 375} 376 377func (x *RsaSsaPssKeyFormat) GetPublicExponent() []byte { 378 if x != nil { 379 return x.PublicExponent 380 } 381 return nil 382} 383 384var File_third_party_tink_proto_rsa_ssa_pss_proto protoreflect.FileDescriptor 385 386var file_third_party_tink_proto_rsa_ssa_pss_proto_rawDesc = []byte{ 387 0x0a, 0x28, 0x74, 0x68, 0x69, 0x72, 0x64, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x79, 0x2f, 0x74, 0x69, 388 0x6e, 0x6b, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x73, 0x61, 0x5f, 0x73, 0x73, 0x61, 389 0x5f, 0x70, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x67, 0x6f, 0x6f, 0x67, 390 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x1a, 0x23, 391 0x74, 0x68, 0x69, 0x72, 0x64, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x79, 0x2f, 0x74, 0x69, 0x6e, 0x6b, 392 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 393 0x6f, 0x74, 0x6f, 0x22, 0xa6, 0x01, 0x0a, 0x0f, 0x52, 0x73, 0x61, 0x53, 0x73, 0x61, 0x50, 0x73, 394 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x37, 0x0a, 0x08, 0x73, 0x69, 0x67, 0x5f, 0x68, 395 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 396 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x48, 397 0x61, 0x73, 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x73, 0x69, 0x67, 0x48, 0x61, 0x73, 0x68, 398 0x12, 0x39, 0x0a, 0x09, 0x6d, 0x67, 0x66, 0x31, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 399 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 400 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x54, 0x79, 0x70, 401 0x65, 0x52, 0x08, 0x6d, 0x67, 0x66, 0x31, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 402 0x61, 0x6c, 0x74, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 403 0x52, 0x0a, 0x73, 0x61, 0x6c, 0x74, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x22, 0x87, 0x01, 0x0a, 404 0x12, 0x52, 0x73, 0x61, 0x53, 0x73, 0x61, 0x50, 0x73, 0x73, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 405 0x4b, 0x65, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 406 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 407 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 408 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 409 0x6e, 0x6b, 0x2e, 0x52, 0x73, 0x61, 0x53, 0x73, 0x61, 0x50, 0x73, 0x73, 0x50, 0x61, 0x72, 0x61, 410 0x6d, 0x73, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x0c, 0x0a, 0x01, 0x6e, 0x18, 411 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x6e, 0x12, 0x0c, 0x0a, 0x01, 0x65, 0x18, 0x04, 0x20, 412 0x01, 0x28, 0x0c, 0x52, 0x01, 0x65, 0x22, 0xd2, 0x01, 0x0a, 0x13, 0x52, 0x73, 0x61, 0x53, 0x73, 413 0x61, 0x50, 0x73, 0x73, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x18, 414 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 415 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x45, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 416 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 417 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 418 0x6b, 0x2e, 0x52, 0x73, 0x61, 0x53, 0x73, 0x61, 0x50, 0x73, 0x73, 0x50, 0x75, 0x62, 0x6c, 0x69, 419 0x63, 0x4b, 0x65, 0x79, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 420 0x0c, 0x0a, 0x01, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x64, 0x12, 0x0c, 0x0a, 421 0x01, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x70, 0x12, 0x0c, 0x0a, 0x01, 0x71, 422 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x64, 0x70, 0x18, 423 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x64, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x64, 0x71, 0x18, 424 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x64, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x72, 0x74, 425 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x63, 0x72, 0x74, 0x22, 0xab, 0x01, 0x0a, 0x12, 426 0x52, 0x73, 0x61, 0x53, 0x73, 0x61, 0x50, 0x73, 0x73, 0x4b, 0x65, 0x79, 0x46, 0x6f, 0x72, 0x6d, 427 0x61, 0x74, 0x12, 0x3b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 428 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 429 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x52, 0x73, 0x61, 0x53, 0x73, 0x61, 0x50, 0x73, 430 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 431 0x2f, 0x0a, 0x14, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x75, 0x73, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 432 0x69, 0x6e, 0x5f, 0x62, 0x69, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x6d, 433 0x6f, 0x64, 0x75, 0x6c, 0x75, 0x73, 0x53, 0x69, 0x7a, 0x65, 0x49, 0x6e, 0x42, 0x69, 0x74, 0x73, 434 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x6e, 435 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x70, 0x75, 0x62, 0x6c, 0x69, 436 0x63, 0x45, 0x78, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x42, 0x56, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 437 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 438 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x34, 0x67, 0x69, 0x74, 439 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 440 0x69, 0x6e, 0x6b, 0x2f, 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x73, 0x61, 441 0x5f, 0x73, 0x73, 0x61, 0x5f, 0x70, 0x73, 0x73, 0x5f, 0x67, 0x6f, 0x5f, 0x70, 0x72, 0x6f, 0x74, 442 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 443} 444 445var ( 446 file_third_party_tink_proto_rsa_ssa_pss_proto_rawDescOnce sync.Once 447 file_third_party_tink_proto_rsa_ssa_pss_proto_rawDescData = file_third_party_tink_proto_rsa_ssa_pss_proto_rawDesc 448) 449 450func file_third_party_tink_proto_rsa_ssa_pss_proto_rawDescGZIP() []byte { 451 file_third_party_tink_proto_rsa_ssa_pss_proto_rawDescOnce.Do(func() { 452 file_third_party_tink_proto_rsa_ssa_pss_proto_rawDescData = protoimpl.X.CompressGZIP(file_third_party_tink_proto_rsa_ssa_pss_proto_rawDescData) 453 }) 454 return file_third_party_tink_proto_rsa_ssa_pss_proto_rawDescData 455} 456 457var file_third_party_tink_proto_rsa_ssa_pss_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 458var file_third_party_tink_proto_rsa_ssa_pss_proto_goTypes = []interface{}{ 459 (*RsaSsaPssParams)(nil), // 0: google.crypto.tink.RsaSsaPssParams 460 (*RsaSsaPssPublicKey)(nil), // 1: google.crypto.tink.RsaSsaPssPublicKey 461 (*RsaSsaPssPrivateKey)(nil), // 2: google.crypto.tink.RsaSsaPssPrivateKey 462 (*RsaSsaPssKeyFormat)(nil), // 3: google.crypto.tink.RsaSsaPssKeyFormat 463 (common_go_proto.HashType)(0), // 4: google.crypto.tink.HashType 464} 465var file_third_party_tink_proto_rsa_ssa_pss_proto_depIdxs = []int32{ 466 4, // 0: google.crypto.tink.RsaSsaPssParams.sig_hash:type_name -> google.crypto.tink.HashType 467 4, // 1: google.crypto.tink.RsaSsaPssParams.mgf1_hash:type_name -> google.crypto.tink.HashType 468 0, // 2: google.crypto.tink.RsaSsaPssPublicKey.params:type_name -> google.crypto.tink.RsaSsaPssParams 469 1, // 3: google.crypto.tink.RsaSsaPssPrivateKey.public_key:type_name -> google.crypto.tink.RsaSsaPssPublicKey 470 0, // 4: google.crypto.tink.RsaSsaPssKeyFormat.params:type_name -> google.crypto.tink.RsaSsaPssParams 471 5, // [5:5] is the sub-list for method output_type 472 5, // [5:5] is the sub-list for method input_type 473 5, // [5:5] is the sub-list for extension type_name 474 5, // [5:5] is the sub-list for extension extendee 475 0, // [0:5] is the sub-list for field type_name 476} 477 478func init() { file_third_party_tink_proto_rsa_ssa_pss_proto_init() } 479func file_third_party_tink_proto_rsa_ssa_pss_proto_init() { 480 if File_third_party_tink_proto_rsa_ssa_pss_proto != nil { 481 return 482 } 483 if !protoimpl.UnsafeEnabled { 484 file_third_party_tink_proto_rsa_ssa_pss_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 485 switch v := v.(*RsaSsaPssParams); i { 486 case 0: 487 return &v.state 488 case 1: 489 return &v.sizeCache 490 case 2: 491 return &v.unknownFields 492 default: 493 return nil 494 } 495 } 496 file_third_party_tink_proto_rsa_ssa_pss_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 497 switch v := v.(*RsaSsaPssPublicKey); i { 498 case 0: 499 return &v.state 500 case 1: 501 return &v.sizeCache 502 case 2: 503 return &v.unknownFields 504 default: 505 return nil 506 } 507 } 508 file_third_party_tink_proto_rsa_ssa_pss_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 509 switch v := v.(*RsaSsaPssPrivateKey); i { 510 case 0: 511 return &v.state 512 case 1: 513 return &v.sizeCache 514 case 2: 515 return &v.unknownFields 516 default: 517 return nil 518 } 519 } 520 file_third_party_tink_proto_rsa_ssa_pss_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 521 switch v := v.(*RsaSsaPssKeyFormat); i { 522 case 0: 523 return &v.state 524 case 1: 525 return &v.sizeCache 526 case 2: 527 return &v.unknownFields 528 default: 529 return nil 530 } 531 } 532 } 533 type x struct{} 534 out := protoimpl.TypeBuilder{ 535 File: protoimpl.DescBuilder{ 536 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 537 RawDescriptor: file_third_party_tink_proto_rsa_ssa_pss_proto_rawDesc, 538 NumEnums: 0, 539 NumMessages: 4, 540 NumExtensions: 0, 541 NumServices: 0, 542 }, 543 GoTypes: file_third_party_tink_proto_rsa_ssa_pss_proto_goTypes, 544 DependencyIndexes: file_third_party_tink_proto_rsa_ssa_pss_proto_depIdxs, 545 MessageInfos: file_third_party_tink_proto_rsa_ssa_pss_proto_msgTypes, 546 }.Build() 547 File_third_party_tink_proto_rsa_ssa_pss_proto = out.File 548 file_third_party_tink_proto_rsa_ssa_pss_proto_rawDesc = nil 549 file_third_party_tink_proto_rsa_ssa_pss_proto_goTypes = nil 550 file_third_party_tink_proto_rsa_ssa_pss_proto_depIdxs = nil 551} 552