github.com/trustbloc/kms-go@v1.1.2/crypto/tinkcrypto/primitive/proto/cl_go_proto/cl.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.25.0 4 // protoc v3.14.0 5 // source: proto/cl.proto 6 7 package cl_go_proto 8 9 import ( 10 reflect "reflect" 11 sync "sync" 12 13 proto "github.com/golang/protobuf/proto" 14 _ "github.com/google/tink/go/proto/common_go_proto" 15 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 16 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 17 ) 18 19 const ( 20 // Verify that this generated code is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 22 // Verify that runtime/protoimpl is sufficiently up-to-date. 23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 24 ) 25 26 // This is a compile-time assertion that a sufficiently up-to-date version 27 // of the legacy proto package is being used. 28 const _ = proto.ProtoPackageIsVersion4 29 30 type CLCredDefParams struct { 31 state protoimpl.MessageState 32 sizeCache protoimpl.SizeCache 33 unknownFields protoimpl.UnknownFields 34 35 Attrs []string `protobuf:"bytes,1,rep,name=attrs,proto3" json:"attrs,omitempty"` 36 } 37 38 func (x *CLCredDefParams) Reset() { 39 *x = CLCredDefParams{} 40 if protoimpl.UnsafeEnabled { 41 mi := &file_proto_cl_proto_msgTypes[0] 42 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 43 ms.StoreMessageInfo(mi) 44 } 45 } 46 47 func (x *CLCredDefParams) String() string { 48 return protoimpl.X.MessageStringOf(x) 49 } 50 51 func (*CLCredDefParams) ProtoMessage() {} 52 53 func (x *CLCredDefParams) ProtoReflect() protoreflect.Message { 54 mi := &file_proto_cl_proto_msgTypes[0] 55 if protoimpl.UnsafeEnabled && x != nil { 56 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 57 if ms.LoadMessageInfo() == nil { 58 ms.StoreMessageInfo(mi) 59 } 60 return ms 61 } 62 return mi.MessageOf(x) 63 } 64 65 // Deprecated: Use CLCredDefParams.ProtoReflect.Descriptor instead. 66 func (*CLCredDefParams) Descriptor() ([]byte, []int) { 67 return file_proto_cl_proto_rawDescGZIP(), []int{0} 68 } 69 70 func (x *CLCredDefParams) GetAttrs() []string { 71 if x != nil { 72 return x.Attrs 73 } 74 return nil 75 } 76 77 type CLCredDefPublicKey struct { 78 state protoimpl.MessageState 79 sizeCache protoimpl.SizeCache 80 unknownFields protoimpl.UnknownFields 81 82 Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` 83 KeyValue []byte `protobuf:"bytes,2,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"` 84 KeyCorrectnessProof []byte `protobuf:"bytes,3,opt,name=key_correctness_proof,json=keyCorrectnessProof,proto3" json:"key_correctness_proof,omitempty"` 85 Params *CLCredDefParams `protobuf:"bytes,4,opt,name=params,proto3" json:"params,omitempty"` 86 } 87 88 func (x *CLCredDefPublicKey) Reset() { 89 *x = CLCredDefPublicKey{} 90 if protoimpl.UnsafeEnabled { 91 mi := &file_proto_cl_proto_msgTypes[1] 92 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 93 ms.StoreMessageInfo(mi) 94 } 95 } 96 97 func (x *CLCredDefPublicKey) String() string { 98 return protoimpl.X.MessageStringOf(x) 99 } 100 101 func (*CLCredDefPublicKey) ProtoMessage() {} 102 103 func (x *CLCredDefPublicKey) ProtoReflect() protoreflect.Message { 104 mi := &file_proto_cl_proto_msgTypes[1] 105 if protoimpl.UnsafeEnabled && x != nil { 106 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 107 if ms.LoadMessageInfo() == nil { 108 ms.StoreMessageInfo(mi) 109 } 110 return ms 111 } 112 return mi.MessageOf(x) 113 } 114 115 // Deprecated: Use CLCredDefPublicKey.ProtoReflect.Descriptor instead. 116 func (*CLCredDefPublicKey) Descriptor() ([]byte, []int) { 117 return file_proto_cl_proto_rawDescGZIP(), []int{1} 118 } 119 120 func (x *CLCredDefPublicKey) GetVersion() uint32 { 121 if x != nil { 122 return x.Version 123 } 124 return 0 125 } 126 127 func (x *CLCredDefPublicKey) GetKeyValue() []byte { 128 if x != nil { 129 return x.KeyValue 130 } 131 return nil 132 } 133 134 func (x *CLCredDefPublicKey) GetKeyCorrectnessProof() []byte { 135 if x != nil { 136 return x.KeyCorrectnessProof 137 } 138 return nil 139 } 140 141 func (x *CLCredDefPublicKey) GetParams() *CLCredDefParams { 142 if x != nil { 143 return x.Params 144 } 145 return nil 146 } 147 148 type CLCredDefPrivateKey struct { 149 state protoimpl.MessageState 150 sizeCache protoimpl.SizeCache 151 unknownFields protoimpl.UnknownFields 152 153 Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` 154 PublicKey *CLCredDefPublicKey `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` 155 KeyValue []byte `protobuf:"bytes,3,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"` 156 } 157 158 func (x *CLCredDefPrivateKey) Reset() { 159 *x = CLCredDefPrivateKey{} 160 if protoimpl.UnsafeEnabled { 161 mi := &file_proto_cl_proto_msgTypes[2] 162 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 163 ms.StoreMessageInfo(mi) 164 } 165 } 166 167 func (x *CLCredDefPrivateKey) String() string { 168 return protoimpl.X.MessageStringOf(x) 169 } 170 171 func (*CLCredDefPrivateKey) ProtoMessage() {} 172 173 func (x *CLCredDefPrivateKey) ProtoReflect() protoreflect.Message { 174 mi := &file_proto_cl_proto_msgTypes[2] 175 if protoimpl.UnsafeEnabled && x != nil { 176 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 177 if ms.LoadMessageInfo() == nil { 178 ms.StoreMessageInfo(mi) 179 } 180 return ms 181 } 182 return mi.MessageOf(x) 183 } 184 185 // Deprecated: Use CLCredDefPrivateKey.ProtoReflect.Descriptor instead. 186 func (*CLCredDefPrivateKey) Descriptor() ([]byte, []int) { 187 return file_proto_cl_proto_rawDescGZIP(), []int{2} 188 } 189 190 func (x *CLCredDefPrivateKey) GetVersion() uint32 { 191 if x != nil { 192 return x.Version 193 } 194 return 0 195 } 196 197 func (x *CLCredDefPrivateKey) GetPublicKey() *CLCredDefPublicKey { 198 if x != nil { 199 return x.PublicKey 200 } 201 return nil 202 } 203 204 func (x *CLCredDefPrivateKey) GetKeyValue() []byte { 205 if x != nil { 206 return x.KeyValue 207 } 208 return nil 209 } 210 211 type CLCredDefKeyFormat struct { 212 state protoimpl.MessageState 213 sizeCache protoimpl.SizeCache 214 unknownFields protoimpl.UnknownFields 215 216 Params *CLCredDefParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` 217 } 218 219 func (x *CLCredDefKeyFormat) Reset() { 220 *x = CLCredDefKeyFormat{} 221 if protoimpl.UnsafeEnabled { 222 mi := &file_proto_cl_proto_msgTypes[3] 223 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 224 ms.StoreMessageInfo(mi) 225 } 226 } 227 228 func (x *CLCredDefKeyFormat) String() string { 229 return protoimpl.X.MessageStringOf(x) 230 } 231 232 func (*CLCredDefKeyFormat) ProtoMessage() {} 233 234 func (x *CLCredDefKeyFormat) ProtoReflect() protoreflect.Message { 235 mi := &file_proto_cl_proto_msgTypes[3] 236 if protoimpl.UnsafeEnabled && x != nil { 237 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 238 if ms.LoadMessageInfo() == nil { 239 ms.StoreMessageInfo(mi) 240 } 241 return ms 242 } 243 return mi.MessageOf(x) 244 } 245 246 // Deprecated: Use CLCredDefKeyFormat.ProtoReflect.Descriptor instead. 247 func (*CLCredDefKeyFormat) Descriptor() ([]byte, []int) { 248 return file_proto_cl_proto_rawDescGZIP(), []int{3} 249 } 250 251 func (x *CLCredDefKeyFormat) GetParams() *CLCredDefParams { 252 if x != nil { 253 return x.Params 254 } 255 return nil 256 } 257 258 type CLMasterSecret struct { 259 state protoimpl.MessageState 260 sizeCache protoimpl.SizeCache 261 unknownFields protoimpl.UnknownFields 262 263 Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` 264 KeyValue []byte `protobuf:"bytes,2,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"` 265 } 266 267 func (x *CLMasterSecret) Reset() { 268 *x = CLMasterSecret{} 269 if protoimpl.UnsafeEnabled { 270 mi := &file_proto_cl_proto_msgTypes[4] 271 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 272 ms.StoreMessageInfo(mi) 273 } 274 } 275 276 func (x *CLMasterSecret) String() string { 277 return protoimpl.X.MessageStringOf(x) 278 } 279 280 func (*CLMasterSecret) ProtoMessage() {} 281 282 func (x *CLMasterSecret) ProtoReflect() protoreflect.Message { 283 mi := &file_proto_cl_proto_msgTypes[4] 284 if protoimpl.UnsafeEnabled && x != nil { 285 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 286 if ms.LoadMessageInfo() == nil { 287 ms.StoreMessageInfo(mi) 288 } 289 return ms 290 } 291 return mi.MessageOf(x) 292 } 293 294 // Deprecated: Use CLMasterSecret.ProtoReflect.Descriptor instead. 295 func (*CLMasterSecret) Descriptor() ([]byte, []int) { 296 return file_proto_cl_proto_rawDescGZIP(), []int{4} 297 } 298 299 func (x *CLMasterSecret) GetVersion() uint32 { 300 if x != nil { 301 return x.Version 302 } 303 return 0 304 } 305 306 func (x *CLMasterSecret) GetKeyValue() []byte { 307 if x != nil { 308 return x.KeyValue 309 } 310 return nil 311 } 312 313 type CLMasterSecretKeyFormat struct { 314 state protoimpl.MessageState 315 sizeCache protoimpl.SizeCache 316 unknownFields protoimpl.UnknownFields 317 } 318 319 func (x *CLMasterSecretKeyFormat) Reset() { 320 *x = CLMasterSecretKeyFormat{} 321 if protoimpl.UnsafeEnabled { 322 mi := &file_proto_cl_proto_msgTypes[5] 323 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 324 ms.StoreMessageInfo(mi) 325 } 326 } 327 328 func (x *CLMasterSecretKeyFormat) String() string { 329 return protoimpl.X.MessageStringOf(x) 330 } 331 332 func (*CLMasterSecretKeyFormat) ProtoMessage() {} 333 334 func (x *CLMasterSecretKeyFormat) ProtoReflect() protoreflect.Message { 335 mi := &file_proto_cl_proto_msgTypes[5] 336 if protoimpl.UnsafeEnabled && x != nil { 337 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 338 if ms.LoadMessageInfo() == nil { 339 ms.StoreMessageInfo(mi) 340 } 341 return ms 342 } 343 return mi.MessageOf(x) 344 } 345 346 // Deprecated: Use CLMasterSecretKeyFormat.ProtoReflect.Descriptor instead. 347 func (*CLMasterSecretKeyFormat) Descriptor() ([]byte, []int) { 348 return file_proto_cl_proto_rawDescGZIP(), []int{5} 349 } 350 351 var File_proto_cl_proto protoreflect.FileDescriptor 352 353 var file_proto_cl_proto_rawDesc = []byte{ 354 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 355 0x12, 0x12, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 356 0x74, 0x69, 0x6e, 0x6b, 0x1a, 0x12, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 357 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x27, 0x0a, 0x0f, 0x43, 0x4c, 0x43, 0x72, 358 0x65, 0x64, 0x44, 0x65, 0x66, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x61, 359 0x74, 0x74, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x61, 0x74, 0x74, 0x72, 360 0x73, 0x22, 0xbc, 0x01, 0x0a, 0x12, 0x43, 0x4c, 0x43, 0x72, 0x65, 0x64, 0x44, 0x65, 0x66, 0x50, 361 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 362 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 363 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 364 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 365 0x32, 0x0a, 0x15, 0x6b, 0x65, 0x79, 0x5f, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x63, 0x74, 0x6e, 0x65, 366 0x73, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x13, 367 0x6b, 0x65, 0x79, 0x43, 0x6f, 0x72, 0x72, 0x65, 0x63, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x50, 0x72, 368 0x6f, 0x6f, 0x66, 0x12, 0x3b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x04, 0x20, 369 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 370 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x43, 0x4c, 0x43, 0x72, 0x65, 0x64, 0x44, 371 0x65, 0x66, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 372 0x22, 0x93, 0x01, 0x0a, 0x13, 0x43, 0x4c, 0x43, 0x72, 0x65, 0x64, 0x44, 0x65, 0x66, 0x50, 0x72, 373 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 374 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 375 0x6f, 0x6e, 0x12, 0x45, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 376 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 377 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x43, 0x4c, 0x43, 0x72, 378 0x65, 0x64, 0x44, 0x65, 0x66, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x09, 379 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x6b, 0x65, 0x79, 380 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6b, 0x65, 381 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x51, 0x0a, 0x12, 0x43, 0x4c, 0x43, 0x72, 0x65, 0x64, 382 0x44, 0x65, 0x66, 0x4b, 0x65, 0x79, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x3b, 0x0a, 0x06, 383 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 384 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 385 0x6b, 0x2e, 0x43, 0x4c, 0x43, 0x72, 0x65, 0x64, 0x44, 0x65, 0x66, 0x50, 0x61, 0x72, 0x61, 0x6d, 386 0x73, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x47, 0x0a, 0x0e, 0x43, 0x4c, 0x4d, 387 0x61, 0x73, 0x74, 0x65, 0x72, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 388 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 389 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x5f, 0x76, 0x61, 0x6c, 390 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x56, 0x61, 0x6c, 391 0x75, 0x65, 0x22, 0x19, 0x0a, 0x17, 0x43, 0x4c, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x53, 0x65, 392 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x42, 0x86, 0x01, 393 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 394 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 395 0x5a, 0x5b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x68, 0x79, 0x70, 396 0x65, 0x72, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x72, 0x2f, 0x61, 0x72, 0x69, 0x65, 0x73, 0x2d, 0x66, 397 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x2d, 0x67, 0x6f, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 398 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2f, 0x74, 0x69, 0x6e, 0x6b, 0x63, 0x72, 0x79, 0x70, 0x74, 399 0x6f, 0x2f, 0x70, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 400 0x6f, 0x2f, 0x63, 0x6c, 0x5f, 0x67, 0x6f, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0xa2, 0x02, 0x06, 401 0x54, 0x49, 0x4e, 0x4b, 0x50, 0x42, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 402 } 403 404 var ( 405 file_proto_cl_proto_rawDescOnce sync.Once 406 file_proto_cl_proto_rawDescData = file_proto_cl_proto_rawDesc 407 ) 408 409 func file_proto_cl_proto_rawDescGZIP() []byte { 410 file_proto_cl_proto_rawDescOnce.Do(func() { 411 file_proto_cl_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_cl_proto_rawDescData) 412 }) 413 return file_proto_cl_proto_rawDescData 414 } 415 416 var file_proto_cl_proto_msgTypes = make([]protoimpl.MessageInfo, 6) 417 var file_proto_cl_proto_goTypes = []interface{}{ 418 (*CLCredDefParams)(nil), // 0: google.crypto.tink.CLCredDefParams 419 (*CLCredDefPublicKey)(nil), // 1: google.crypto.tink.CLCredDefPublicKey 420 (*CLCredDefPrivateKey)(nil), // 2: google.crypto.tink.CLCredDefPrivateKey 421 (*CLCredDefKeyFormat)(nil), // 3: google.crypto.tink.CLCredDefKeyFormat 422 (*CLMasterSecret)(nil), // 4: google.crypto.tink.CLMasterSecret 423 (*CLMasterSecretKeyFormat)(nil), // 5: google.crypto.tink.CLMasterSecretKeyFormat 424 } 425 var file_proto_cl_proto_depIdxs = []int32{ 426 0, // 0: google.crypto.tink.CLCredDefPublicKey.params:type_name -> google.crypto.tink.CLCredDefParams 427 1, // 1: google.crypto.tink.CLCredDefPrivateKey.public_key:type_name -> google.crypto.tink.CLCredDefPublicKey 428 0, // 2: google.crypto.tink.CLCredDefKeyFormat.params:type_name -> google.crypto.tink.CLCredDefParams 429 3, // [3:3] is the sub-list for method output_type 430 3, // [3:3] is the sub-list for method input_type 431 3, // [3:3] is the sub-list for extension type_name 432 3, // [3:3] is the sub-list for extension extendee 433 0, // [0:3] is the sub-list for field type_name 434 } 435 436 func init() { file_proto_cl_proto_init() } 437 func file_proto_cl_proto_init() { 438 if File_proto_cl_proto != nil { 439 return 440 } 441 if !protoimpl.UnsafeEnabled { 442 file_proto_cl_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 443 switch v := v.(*CLCredDefParams); i { 444 case 0: 445 return &v.state 446 case 1: 447 return &v.sizeCache 448 case 2: 449 return &v.unknownFields 450 default: 451 return nil 452 } 453 } 454 file_proto_cl_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 455 switch v := v.(*CLCredDefPublicKey); i { 456 case 0: 457 return &v.state 458 case 1: 459 return &v.sizeCache 460 case 2: 461 return &v.unknownFields 462 default: 463 return nil 464 } 465 } 466 file_proto_cl_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 467 switch v := v.(*CLCredDefPrivateKey); i { 468 case 0: 469 return &v.state 470 case 1: 471 return &v.sizeCache 472 case 2: 473 return &v.unknownFields 474 default: 475 return nil 476 } 477 } 478 file_proto_cl_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 479 switch v := v.(*CLCredDefKeyFormat); i { 480 case 0: 481 return &v.state 482 case 1: 483 return &v.sizeCache 484 case 2: 485 return &v.unknownFields 486 default: 487 return nil 488 } 489 } 490 file_proto_cl_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 491 switch v := v.(*CLMasterSecret); i { 492 case 0: 493 return &v.state 494 case 1: 495 return &v.sizeCache 496 case 2: 497 return &v.unknownFields 498 default: 499 return nil 500 } 501 } 502 file_proto_cl_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 503 switch v := v.(*CLMasterSecretKeyFormat); i { 504 case 0: 505 return &v.state 506 case 1: 507 return &v.sizeCache 508 case 2: 509 return &v.unknownFields 510 default: 511 return nil 512 } 513 } 514 } 515 type x struct{} 516 out := protoimpl.TypeBuilder{ 517 File: protoimpl.DescBuilder{ 518 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 519 RawDescriptor: file_proto_cl_proto_rawDesc, 520 NumEnums: 0, 521 NumMessages: 6, 522 NumExtensions: 0, 523 NumServices: 0, 524 }, 525 GoTypes: file_proto_cl_proto_goTypes, 526 DependencyIndexes: file_proto_cl_proto_depIdxs, 527 MessageInfos: file_proto_cl_proto_msgTypes, 528 }.Build() 529 File_proto_cl_proto = out.File 530 file_proto_cl_proto_rawDesc = nil 531 file_proto_cl_proto_goTypes = nil 532 file_proto_cl_proto_depIdxs = nil 533 }