-
Notifications
You must be signed in to change notification settings - Fork 7
/
cert_manager.go
595 lines (481 loc) · 76.5 KB
/
cert_manager.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
// Code generated - DO NOT EDIT.
// This file is a generated binding and any manual changes will be lost.
package bindings
import (
"errors"
"math/big"
"strings"
ethereum "github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/event"
)
// Reference imports to suppress errors if they are not otherwise used.
var (
_ = errors.New
_ = big.NewInt
_ = strings.NewReader
_ = ethereum.NotFound
_ = bind.Bind
_ = common.Big1
_ = types.BloomLookup
_ = event.NewSubscription
_ = abi.ConvertType
)
// ICertManagerVerifiedCert is an auto generated low-level Go binding around an user-defined struct.
type ICertManagerVerifiedCert struct {
Ca bool
NotAfter uint64
MaxPathLen int64
SubjectHash [32]byte
PubKey []byte
}
// CertManagerMetaData contains all meta data concerning the CertManager contract.
var CertManagerMetaData = &bind.MetaData{
ABI: "[{\"type\":\"constructor\",\"inputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"BASIC_CONSTRAINTS_OID\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"CERT_ALGO_OID\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"EC_PUB_KEY_OID\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"KEY_USAGE_OID\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"ROOT_CA_CERT_HASH\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"ROOT_CA_CERT_MAX_PATH_LEN\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"int64\",\"internalType\":\"int64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"ROOT_CA_CERT_NOT_AFTER\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"ROOT_CA_CERT_PUB_KEY\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"ROOT_CA_CERT_SUBJECT_HASH\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"SECP_384_R1_OID\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"verified\",\"inputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"verifyCert\",\"inputs\":[{\"name\":\"cert\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"ca\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"parentCertHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"tuple\",\"internalType\":\"structICertManager.VerifiedCert\",\"components\":[{\"name\":\"ca\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"notAfter\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"maxPathLen\",\"type\":\"int64\",\"internalType\":\"int64\"},{\"name\":\"subjectHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"pubKey\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"verifyCertBundle\",\"inputs\":[{\"name\":\"certificate\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"cabundle\",\"type\":\"bytes[]\",\"internalType\":\"bytes[]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"tuple\",\"internalType\":\"structICertManager.VerifiedCert\",\"components\":[{\"name\":\"ca\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"notAfter\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"maxPathLen\",\"type\":\"int64\",\"internalType\":\"int64\"},{\"name\":\"subjectHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"pubKey\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]}],\"stateMutability\":\"nonpayable\"}]",
Bin: "0x608060405234801562000010575f80fd5b50620000b37f311d96fcd5c5e0ccf72ef548e2ea7d4c0cd53ad7c4cc49e67471aed41d61f1855f1b6040518060a001604052806001151581526020016396258ff56001600160401b031681526020015f1960070b81526020017f3c3e2e5f1dd14dee5db88341ba71521e939afdb7881aa24c9f1e1c007a2fa8b65f1b8152602001604051806080016040528060608152602001620062bf606091399052620000b9565b620002dd565b8051602080830151604080850151606086015160808701519251620000e49695929391920162000110565b60408051601f198184030181529181525f848152602081905220906200010b908262000211565b505050565b85151560f81b815260c085811b6001600160c01b031916600183015284901b60098201526011810183905281515f90815b8181101562000160576020818601810151603186840101520162000141565b505f92016031019182525095945050505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200019d57607f821691505b602082108103620001bc57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200010b57805f5260205f20601f840160051c81016020851015620001e95750805b601f840160051c820191505b818110156200020a575f8155600101620001f5565b5050505050565b81516001600160401b038111156200022d576200022d62000174565b62000245816200023e845462000188565b84620001c2565b602080601f8311600181146200027b575f8415620002635750858301515b5f19600386901b1c1916600185901b178555620002d5565b5f85815260208120601f198616915b82811015620002ab578886015182559484019460019091019084016200028a565b5085821015620002c957878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b615fd480620002eb5f395ff3fe608060405234801561000f575f80fd5b50600436106100da575f3560e01c80639ecc005011610088578063af9bdbc211610063578063af9bdbc214610247578063c59e43e51461026e578063dc28a38d14610281578063f69a82fe14610294575f80fd5b80639ecc0050146101d1578063ab68988d1461020b578063aeb255ea14610220575f80fd5b80635ab70904116100b85780635ab70904146101635780635b608e2a1461018a5780638fb57b62146101aa575f80fd5b8063441b31df146100de5780634519a3521461011857806358e3139e1461013f575b5f80fd5b6101057f3c3e2e5f1dd14dee5db88341ba71521e939afdb7881aa24c9f1e1c007a2fa8b681565b6040519081526020015b60405180910390f35b6101057f6351d72a43cb42fb9a2531a28608c278c89629f8f025b5f5dc705f3fe45e950a81565b61014a6396258ff581565b60405167ffffffffffffffff909116815260200161010f565b6101057fbd74344bb507daeb9ed315bc535f24a236ccab72c5cd6945fb0efe5c037e209781565b61019d6101983660046154c9565b6102bb565b60405161010f91906155c6565b6101057f311d96fcd5c5e0ccf72ef548e2ea7d4c0cd53ad7c4cc49e67471aed41d61f18581565b6101f87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81565b60405160079190910b815260200161010f565b61021361047a565b60405161010f9190615617565b6101057f45529d8772b07ebd6d507a1680da791f4a2192882bf89d518801579f7a5167d281565b6101057f53ce037f0dfaa43ef13b095f04e68a6b5e3f1519a01a3203a1e6440ba915b87e81565b61021361027c366004615629565b610496565b61019d61028f366004615640565b61052d565b6101057fb60fee1fd85f867dd7c8d16884a49a20287ebe4c0fb49294e9825988aa8e42b481565b6040805160a080820183525f8083526020808401829052838501829052606080850183905260808086018290528651948501875283855291840183905294830182905282850182905282019390935290915b8381101561045b575f8585838181106103285761032861569a565b905060200281019061033a91906156c7565b604051610348929190615728565b604051809103902090505f82118061037f57507f311d96fcd5c5e0ccf72ef548e2ea7d4c0cd53ad7c4cc49e67471aed41d61f18581145b6103ea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f526f6f742043412063657274206e6f74206d61746368696e670000000000000060448201526064015b60405180910390fd5b6104508686848181106103ff576103ff61569a565b905060200281019061041191906156c7565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152508592506001915087905061057c565b92505060010161030d565b5061046f8586805190602001205f8461057c565b9150505b9392505050565b604051806080016040528060608152602001615e786060913981565b5f60208190529081526040902080546104ae90615737565b80601f01602080910402602001604051908101604052809291908181526020018280546104da90615737565b80156105255780601f106104fc57610100808354040283529160200191610525565b820191905f5260205f20905b81548152906001019060200180831161050857829003601f168201915b505050505081565b6040805160a0810182525f8082526020820181905291810182905260608082019290925260808101919091526105748485805190602001208561056f866109e2565b61057c565b949350505050565b6040805160a0810182525f8082526020820181905291810182905260608082019290925260808101919091527f311d96fcd5c5e0ccf72ef548e2ea7d4c0cd53ad7c4cc49e67471aed41d61f1858414610796575f8260800151511161063d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f706172656e74206365727420756e76657269666965640000000000000000000060448201526064016103e1565b42826020015167ffffffffffffffff1610156106b5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f706172656e74206365727420657870697265640000000000000000000000000060448201526064016103e1565b815161071d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f706172656e742063657274206973206e6f74206120434100000000000000000060448201526064016103e1565b8215806107305750604082015160070b15155b610796576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f6d6178506174684c656e2065786365656465640000000000000000000000000060448201526064016103e1565b5f6107a0856109e2565b90508060800151515f1461089b5742816020015167ffffffffffffffff161015610826576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f636572742065787069726564000000000000000000000000000000000000000060448201526064016103e1565b8051151584151514610894576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f63657274206973206e6f7420612043410000000000000000000000000000000060448201526064016103e1565b9050610574565b5f6108a587610b5a565b90505f6108b28883610b6b565b90505f805f805f6108c48d878d610c39565b94509450945094509450828a606001511461093b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f697373756572202f207375626a656374206d69736d617463680000000000000060448201526064016103e1565b5f8a6040015160070b13801561096757505f8460070b12806109675750896040015160070b8460070b12155b156109805760018a6040015161097d91906157b5565b93505b61098f8d878c60800151610dd2565b6040518060a001604052808c151581526020018667ffffffffffffffff1681526020018560070b81526020018381526020018281525097506109d18c89610f96565b50959b9a5050505050505050505050565b6040805160a0810182525f8082526020808301829052828401829052606080840183905260808401528482528190529182208054919291610a2290615737565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4e90615737565b8015610a995780601f10610a7057610100808354040283529160200191610a99565b820191905f5260205f20905b815481529060010190602001808311610a7c57829003601f168201915b5050505050905080515f03610ae45750506040805160a0810182525f808252602080830182905282840182905260608301829052835190810190935282526080810191909152919050565b600181015160098201516011830151603180850151855190915f91610b179190610b0f9082906157fb565b889190611007565b6040805160a08101825260ff9097161515875267ffffffffffffffff909516602087015260079390930b9385019390935260608401526080830152509392505050565b5f610b65825f6110e2565b92915050565b5f8269ffffffffffffffffffff831681518110610b8a57610b8a61569a565b01602001517f200000000000000000000000000000000000000000000000000000000000000090811614610c1a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4e6f74206120636f6e737472756374656420747970650000000000000000000060448201526064016103e1565b61047383605084901c69ffffffffffffffffffff166110e2565b6110e2565b5f808080606081610c4a8989610b6b565b90505f610c578a83610b6b565b90505f610c648b8461128f565b90505f610c718c8361128f565b90507f53ce037f0dfaa43ef13b095f04e68a6b5e3f1519a01a3203a1e6440ba915b87e610cc5605083901c69ffffffffffffffffffff1660a084901c69ffffffffffffffffffff168f919091016020012090565b14610d2c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f696e76616c696420636572742073696720616c676f000000000000000000000060448201526064016103e1565b5f610d378d856112b5565b905080600214610da3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f76657273696f6e2073686f756c6420626520330000000000000000000000000060448201526064016103e1565b610dae8d838d611481565b809a50819b50829c50839d50849e5050505050505050505050939792965093509350565b5f610ddd848461128f565b90507f53ce037f0dfaa43ef13b095f04e68a6b5e3f1519a01a3203a1e6440ba915b87e610e31605083901c69ffffffffffffffffffff1660a084901c69ffffffffffffffffffff1687919091016020012090565b14610e98576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f696e76616c696420636572742073696720616c676f000000000000000000000060448201526064016103e1565b5f610eb88569ffffffffffffffffffff8616610eb387611654565b611698565b90505f610ec5868461128f565b90505f610ed287836117bf565b90505f610edf8883611996565b90505f610eec8983610b6b565b90505f610ef98a8361128f565b90505f80610f078c856119b1565b90925090505f80610f188e866119b1565b604051608087811b7fffffffffffffffffffffffffffffffff0000000000000000000000000000000090811660208401526030830188905284821b166050830152606082018390529294509092505f91016040516020818303038152906040529050610f858d8c83611c09565b505050505050505050505050505050565b8051602080830151604080850151606086015160808701519251610fbf9695929391920161580e565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181525f8481526020819052209061100290826158c0565b505050565b825160609061101683856159dc565b111561107e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f696e646578206f7574206f6620626f756e64730000000000000000000000000060448201526064016103e1565b8167ffffffffffffffff811115611097576110976153f5565b6040519080825280601f01601f1916602001820160405280156110c1576020820181803683370190505b509050602080820190858501016110d9828286611c82565b50509392505050565b5f8080846110f18560016159dc565b815181106111015761110161569a565b01602001517f8000000000000000000000000000000000000000000000000000000000000000165f03611166578461113a8560016159dc565b8151811061114a5761114a61569a565b016020015160f81c915061115f8460026159dc565b9050611243565b5f856111738660016159dc565b815181106111835761118361569a565b60209101015160f81c607f16905060018190036111c557856111a68660026159dc565b815181106111b6576111b661569a565b016020015160f81c9250611226565b8060ff166002036111f0576111e56111de8660026159dc565b8790611cf6565b61ffff169250611226565b6111fb8160206159ef565b611206906008615a08565b60ff16611221876112188860026159dc565b8460ff16611d78565b901c92505b60ff81166112358660026159dc565b61123f91906159dc565b9150505b73ffffffffffffffffffff00000000000000000000605082901b1684177dffffffffffffffffffff000000000000000000000000000000000000000060a084901b161795945050505050565b5f61047383610c3469ffffffffffffffffffff60a086901c811690605087901c166159dc565b5f8269ffffffffffffffffffff8316815181106112d4576112d461569a565b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f020000000000000000000000000000000000000000000000000000000000000014611384576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f4e6f74207479706520494e54454745520000000000000000000000000000000060448201526064016103e1565b82605083901c69ffffffffffffffffffff16815181106113a6576113a661569a565b01602001517f80000000000000000000000000000000000000000000000000000000000000001615611434576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4e6f7420706f736974697665000000000000000000000000000000000000000060448201526064016103e1565b69ffffffffffffffffffff60a083901c166114508160206157fb565b61145b906008615a2b565b61147785605086901c69ffffffffffffffffffff165b84611d78565b901c949350505050565b5f808080606081611492898961128f565b90506114c6605082901c69ffffffffffffffffffff1660a083901c69ffffffffffffffffffff165b8b919091016020012090565b93505f6114d38a8361128f565b90505f6114e08b8361128f565b9050611513605082901c69ffffffffffffffffffff1660a083901c69ffffffffffffffffffff168d919091016020012090565b94505f6115208c8361128f565b90505f61152d8d8361128f565b90508c69ffffffffffffffffffff82168151811061154d5761154d61569a565b01602001517fff00000000000000000000000000000000000000000000000000000000000000167f8100000000000000000000000000000000000000000000000000000000000000036115a7576115a48d8261128f565b90505b8c69ffffffffffffffffffff8216815181106115c5576115c561569a565b01602001517fff00000000000000000000000000000000000000000000000000000000000000167f82000000000000000000000000000000000000000000000000000000000000000361161f5761161c8d8261128f565b90505b6116298d85611dd4565b99506116368d828d611eef565b98506116428d836123e1565b95505050505050939792965093509350565b5f69ffffffffffffffffffff8216605083901c69ffffffffffffffffffff1660a084901c69ffffffffffffffffffff1661168e91906159dc565b610b6591906157fb565b604080516101008101825267cbbb9d5dc1059ed8815267629a292a367cd5076020820152679159015a3070dd179181019190915267152fecd8f70e59396060828101919091526767332667ffc00b316080830152678eb44a876858151160a083015267db0c2e0d64f98fa760c08301526747b5481dbefa4fa460e083015290611723858585846125d0565b80516020808301516040808501516060860151608087015160a088015184517fffffffffffffffff00000000000000000000000000000000000000000000000060c0998a1b81169882019890985295881b8716602887015292871b8616603086015290861b85166038850152851b84169183019190915290921b1660488201526050016040516020818303038152906040529150509392505050565b5f8269ffffffffffffffffffff8316815181106117de576117de61569a565b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f03000000000000000000000000000000000000000000000000000000000000001461188e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f4e6f7420747970652042495420535452494e470000000000000000000000000060448201526064016103e1565b82605083901c69ffffffffffffffffffff16815181106118b0576118b061569a565b01602001517fff00000000000000000000000000000000000000000000000000000000000000161561193e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4e6f6e2d302d7061646465642042495420535452494e4700000000000000000060448201526064016103e1565b61047369ffffffffffffffffffff8316605084901c69ffffffffffffffffffff1661196a9060016159dc565b611985600169ffffffffffffffffffff60a088901c166157fb565b60a01b60509190911b919091171790565b5f61047383605084901c69ffffffffffffffffffff166110e2565b5f808369ffffffffffffffffffff8416815181106119d1576119d161569a565b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f020000000000000000000000000000000000000000000000000000000000000014611a81576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f4e6f74207479706520494e54454745520000000000000000000000000000000060448201526064016103e1565b83605084901c69ffffffffffffffffffff1681518110611aa357611aa361569a565b01602001517f80000000000000000000000000000000000000000000000000000000000000001615611b31576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f4e6f7420706f736974697665000000000000000000000000000000000000000060448201526064016103e1565b5f60a084901c69ffffffffffffffffffff1690505f605085901c69ffffffffffffffffffff169050858181518110611b6b57611b6b61569a565b01602001517fff00000000000000000000000000000000000000000000000000000000000000165f03611bb45780611ba281615a42565b9150508180611bb090615a79565b9250505b6080611bc287836010611d78565b901c611bcf8360306157fb565b611bda906008615a2b565b611bf988611be98560106159dc565b611bf46010886157fb565b611d78565b9195501c925050505b9250929050565b611c1c611c14612e35565b838386612f50565b611002576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f696e76616c69642073696700000000000000000000000000000000000000000060448201526064016103e1565b60208110611cba5781518352611c996020846159dc565b9250611ca66020836159dc565b9150611cb36020826157fb565b9050611c82565b8015611002575f6001611cce8360206157fb565b611cda90610100615bcb565b611ce491906157fb565b83518551821691191617845250505050565b5f611d028260026159dc565b83511015611d6c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f696e646578206f7574206f6620626f756e64730000000000000000000000000060448201526064016103e1565b50016020015160f01c90565b5f6020821115611d86575f80fd5b8351611d9283856159dc565b1115611d9c575f80fd5b506020919092018101519190036101000a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01191690565b5f80611de08484610b6b565b90505f611ded858361128f565b90505f611dfa86846131e9565b9050611e0686836131e9565b935042811115611e72576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f6365727469666963617465206e6f742076616c6964207965740000000000000060448201526064016103e1565b428467ffffffffffffffff161015611ee6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f6365727469666963617465206e6f742076616c696420616e796d6f726500000060448201526064016103e1565b50505092915050565b5f8369ffffffffffffffffffff841681518110611f0e57611f0e61569a565b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167fa30000000000000000000000000000000000000000000000000000000000000014611fbe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f696e76616c696420657874656e73696f6e73000000000000000000000000000060448201526064016103e1565b611fc88484610b6b565b92505f611fd58585610b6b565b90505f611ff969ffffffffffffffffffff60a087901c811690605088901c166159dc565b90505f807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff94505b5f61202c8986610b6b565b90505f612060605083901c69ffffffffffffffffffff1660a084901c69ffffffffffffffffffff168c919091016020012090565b90507f6351d72a43cb42fb9a2531a28608c278c89629f8f025b5f5dc705f3fe45e950a8114806120af57507f45529d8772b07ebd6d507a1680da791f4a2192882bf89d518801579f7a5167d281145b1561220d575f6120bf8b8461128f565b90508a69ffffffffffffffffffff8216815181106120df576120df61569a565b01602001517fff00000000000000000000000000000000000000000000000000000000000000167f0100000000000000000000000000000000000000000000000000000000000000036121b35760a081901c69ffffffffffffffffffff166001146121a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f696e76616c696420637269746963616c20626f6f6c2076616c7565000000000060448201526064016103e1565b6121b08b8261128f565b90505b6121bd8b826135e5565b90507f6351d72a43cb42fb9a2531a28608c278c89629f8f025b5f5dc705f3fe45e950a82036121fc57600194506121f58b828b6136b4565b975061220b565b6001935061220b8b828b61390f565b505b8461222f69ffffffffffffffffffff60a089901c81169060508a901c166159dc565b0361223b57505061224e565b6122458a8761128f565b95505050612021565b816122b5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f6261736963436f6e73747261696e7473206e6f7420666f756e6400000000000060448201526064016103e1565b8061231c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f6b65795573616765206e6f7420666f756e64000000000000000000000000000060448201526064016103e1565b858061234a57508460070b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff145b6123d6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f6d6178506174684c656e206d75737420626520756e646566696e656420666f7260448201527f20636c69656e742063657274000000000000000000000000000000000000000060648201526084016103e1565b505050509392505050565b60605f6123ee8484610b6b565b90505f6123fb8583610b6b565b90505f612408868361128f565b90505f612415878561128f565b90505f61242288836117bf565b90507fb60fee1fd85f867dd7c8d16884a49a20287ebe4c0fb49294e9825988aa8e42b461246f605086901c69ffffffffffffffffffff1660a087901c69ffffffffffffffffffff166114ba565b146124d6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f696e76616c6964206365727420616c676f20696400000000000000000000000060448201526064016103e1565b7fbd74344bb507daeb9ed315bc535f24a236ccab72c5cd6945fb0efe5c037e2097612521605085901c69ffffffffffffffffffff1660a086901c69ffffffffffffffffffff166114ba565b14612588576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f696e76616c6964206365727420616c676f20706172616d00000000000000000060448201526064016103e1565b5f6125aa69ffffffffffffffffffff60a084901c811690605085901c166159dc565b90506125c36125ba6060836157fb565b8a906060611007565b9998505050505050505050565b60408051610a008101825267428a2f98d728ae228152677137449123ef65cd602082015267b5c0fbcfec4d3b2f9181019190915267e9b5dba58189dbbc6060820152673956c25bf348b53860808201526759f111f1b605d01960a082015267923f82a4af194f9b60c082015267ab1c5ed5da6d811860e082015267d807aa98a30302426101008201526712835b0145706fbe61012082015267243185be4ee4b28c61014082015267550c7dc3d5ffb4e26101608201526772be5d74f27b896f6101808201526780deb1fe3b1696b16101a0820152679bdc06a725c712356101c082015267c19bf174cf6926946101e082015267e49b69c19ef14ad261020082015267efbe4786384f25e3610220820152670fc19dc68b8cd5b561024082015267240ca1cc77ac9c65610260820152672de92c6f592b0275610280820152674a7484aa6ea6e4836102a0820152675cb0a9dcbd41fbd46102c08201526776f988da831153b56102e082015267983e5152ee66dfab61030082015267a831c66d2db4321061032082015267b00327c898fb213f61034082015267bf597fc7beef0ee461036082015267c6e00bf33da88fc261038082015267d5a79147930aa7256103a08201526706ca6351e003826f6103c082015267142929670a0e6e706103e08201526727b70a8546d22ffc610400820152672e1b21385c26c926610420820152674d2c6dfc5ac42aed6104408201526753380d139d95b3df61046082015267650a73548baf63de61048082015267766a0abb3c77b2a86104a08201526781c2c92e47edaee66104c08201526792722c851482353b6104e082015267a2bfe8a14cf1036461050082015267a81a664bbc42300161052082015267c24b8b70d0f8979161054082015267c76c51a30654be3061056082015267d192e819d6ef521861058082015267d69906245565a9106105a082015267f40e35855771202a6105c082015267106aa07032bbd1b86105e08201526719a4c116b8d2d0c8610600820152671e376c085141ab53610620820152672748774cdf8eeb996106408201526734b0bcb5e19b48a861066082015267391c0cb3c5c95a63610680820152674ed8aa4ae3418acb6106a0820152675b9cca4f7763e3736106c082015267682e6ff3d6b2b8a36106e082015267748f82ee5defb2fc6107008201526778a5636f43172f606107208201526784c87814a1f0ab72610740820152678cc702081a6439ec6107608201526790befffa23631e2861078082015267a4506cebde82bde96107a082015267bef9a3f7b2c679156107c082015267c67178f2e372532b6107e082015267ca273eceea26619c61080082015267d186b8c721c0c20761082082015267eada7dd6cde0eb1e61084082015267f57d4f7fee6ed1786108608201526706f067aa72176fba610880820152670a637dc5a2c898a66108a082015267113f9804bef90dae6108c0820152671b710b35131c471b6108e08201526728db77f523047d846109008201526732caab7b40c72493610920820152673c9ebe0a15c9bebc61094082015267431d67c49c100d4c610960820152674cc5d4becb3e42b661098082015267597f299cfc657e2a6109a0820152675fcb6fab3ad6faec6109c0820152676c44198c4a4758176109e08201525f612a8e868686613a07565b905060808151612a9e9190615c03565b15612b05576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f50414444494e475f4552524f520000000000000000000000000000000000000060448201526064016103e1565b612b0d61534c565b612b1561536b565b612b1d61538a565b5f612b29608089615c16565b612b34906080615a2b565b90505f5b85518201811015612e285781811015612b5d57612b588b84838d01613b11565b612b6a565b612b6a8684848403613b11565b5f5b6010811015612bba57838160108110612b8757612b8761569a565b6020020151868260508110612b9e57612b9e61569a565b67ffffffffffffffff9092166020929092020152600101612b6c565b5060105b6050811015612c7057856010820360508110612bdc57612bdc61569a565b6020020151612c0387600f840360508110612bf957612bf961569a565b6020020151613b69565b876007840360508110612c1857612c1861569a565b6020020151612c3f896002860360508110612c3557612c3561569a565b6020020151613b97565b010101868260508110612c5457612c5461569a565b67ffffffffffffffff9092166020929092020152600101612bbe565b505f5b6008811015612cc157888160088110612c8e57612c8e61569a565b6020020151858260088110612ca557612ca561569a565b67ffffffffffffffff9092166020929092020152600101612c73565b505f5b6050811015612dcc575f868260508110612ce057612ce061569a565b6020020151898360508110612cf757612cf761569a565b6020020151608088015160a089015160c08a01518219169116186080890151612d1f90613bbd565b89600760200201510101010190505f612d57878260200201518860016020020151896002602002015180821690831691909216181890565b8751612d6290613bdf565b60c08901805167ffffffffffffffff90811660e08c015260a08b018051821690925260808b018051821690925260608b0180518701821690925260408b018051821690925260208b01805182169092528a5181169091529101909201909116865250600101612cc4565b505f5b6008811015612e1f57848160088110612dea57612dea61569a565b6020020151898260088110612e0157612e0161569a565b6020020180519190910167ffffffffffffffff169052600101612dcf565b50608001612b38565b5050505050505050505050565b612e756040518060e00160405280606081526020016060815260200160608152602001606081526020016060815260200160608152602001606081525090565b604080516101408101909152603060e082018181528291615f386101008401398152602001604051806060016040528060308152602001615e18603091398152602001604051806060016040528060308152602001615f08603091398152602001604051806060016040528060308152602001615e48603091398152602001604051806060016040528060308152602001615f98603091398152602001604051806060016040528060308152602001615f68603091398152602001604051806060016040528060308152602001615ed8603091399052919050565b5f612f7860405180608001604052805f81526020015f81526020015f81526020015f81525090565b612f8184613c01565b60208301528152612f9183613c01565b6060830152604080830191909152805160e0810190915286515f91908190612fb890613cb1565b8152602001612fca8960200151613cb1565b8152602001612fdc8960400151613cb1565b8152602001612fee8960600151613cb1565b81526020016130008960800151613cb1565b81526020016130128960a00151613cb1565b81526020016130248960c00151613cb1565b81525090505f6130378260800151613d45565b835160208101519051919250159015168061306257505f61305f845f01518460a00151613dba565b12155b8061307f575061307f83602001515f602082015191511591141690565b8061309a57505f61309884602001518460c00151613dba565b135b156130aa575f9350505050610574565b6130cb818360800151845f0151856020015187604001518860600151613e5f565b6130da575f9350505050610574565b8651603081101561311d57604080516030808252606082019092525f916020820181803683375091925061311a91505060208a0183830360500184613f3d565b97505b505f61313b8261312c8a613cb1565b86602001518660a00151613f4b565b90505f61315583865f015187602001518760a00151613f4b565b90505f613162600361405b565b90505f61318c85876080015184895f01518a604001518b606001518d604001518e6060015161407b565b90506131a485876080015184895f0151858989614462565b9050809450819550505050506131db6131c38484848860800151613f4b565b86516020808201519083015191519251911491141690565b9a9950505050505050505050565b5f8069ffffffffffffffffffff605084901c81169060a085901c16600d81900361325057600560308784815181106132235761322361569a565b0160200151613235919060f81c6159ef565b60ff16106132455761076c613249565b6107d05b92506132dd565b60308661325e8460016159dc565b8151811061326e5761326e61569a565b0160200151613280919060f81c6159ef565b61328b906064615a08565b60ff1660308784815181106132a2576132a261569a565b01602001516132b4919060f81c6159ef565b6132c39060ff166103e8615c29565b6132cd9190615c47565b92506132da6002836159dc565b91505b6030866132eb8460016159dc565b815181106132fb576132fb61569a565b602001015160f81c60f81b60f81c603088858151811061331d5761331d61569a565b016020015161332f919060f81c6159ef565b61333a90600a615a08565b6133449190615c62565b61334e91906159ef565b61335b9060ff1684615c47565b92505f60308761336c8560036159dc565b8151811061337c5761337c61569a565b016020015160f81c6030896133928760026159dc565b815181106133a2576133a261569a565b01602001516133b4919060f81c6159ef565b6133bf90600a615a08565b6133c99190615c62565b6133d391906159ef565b90505f6030886133e48660056159dc565b815181106133f4576133f461569a565b016020015160f81c60308a61340a8860046159dc565b8151811061341a5761341a61569a565b016020015161342c919060f81c6159ef565b61343790600a615a08565b6134419190615c62565b61344b91906159ef565b90505f60308961345c8760076159dc565b8151811061346c5761346c61569a565b016020015160f81c60308b6134828960066159dc565b815181106134925761349261569a565b01602001516134a4919060f81c6159ef565b6134af90600a615a08565b6134b99190615c62565b6134c391906159ef565b90505f60308a6134d48860096159dc565b815181106134e4576134e461569a565b016020015160f81c60308c6134fa8a60086159dc565b8151811061350a5761350a61569a565b016020015161351c919060f81c6159ef565b61352790600a615a08565b6135319190615c62565b61353b91906159ef565b90505f60308b61354c89600b6159dc565b8151811061355c5761355c61569a565b016020015160f81c60308d6135728b600a6159dc565b815181106135825761358261569a565b0160200151613594919060f81c6159ef565b61359f90600a615a08565b6135a99190615c62565b6135b391906159ef565b90506135d68861ffff168660ff168660ff168660ff168660ff168660ff166145e6565b9b9a5050505050505050505050565b5f8269ffffffffffffffffffff8316815181106136045761360461569a565b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f040000000000000000000000000000000000000000000000000000000000000014610c1a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4e6f742074797065204f4354455420535452494e47000000000000000000000060448201526064016103e1565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff5f6136e08585610b6b565b90505f8569ffffffffffffffffffff8316815181106137015761370161569a565b01602001517fff00000000000000000000000000000000000000000000000000000000000000167f0100000000000000000000000000000000000000000000000000000000000000036138235760a082901c69ffffffffffffffffffff166001146137c8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f696e76616c6964206973434120626f6f6c2076616c756500000000000000000060448201526064016103e1565b85605083901c69ffffffffffffffffffff16815181106137ea576137ea61569a565b01602001517fff00000000000000000000000000000000000000000000000000000000000000908116149050613820868361128f565b91505b80151584151514613890576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f69734341206d757374206265207472756520666f72204341206365727473000060448201526064016103e1565b8569ffffffffffffffffffff8316815181106138ae576138ae61569a565b01602001517fff00000000000000000000000000000000000000000000000000000000000000167f0200000000000000000000000000000000000000000000000000000000000000036110d95761390586836112b5565b9695505050505050565b5f61391a8484614758565b90508115613994578060041660041461398f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f436572745369676e206d7573742062652070726573656e74000000000000000060448201526064016103e1565b613a01565b80608016608014613a01576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4469676974616c5369676e6174757265206d7573742062652070726573656e7460448201526064016103e1565b50505050565b60605f613a15836008615a2b565b60c01b90505f613a26608085615c03565b90505f6070821015613a4457613a3d8260776157fb565b9050613a52565b613a4f8260f76157fb565b90505b5f8167ffffffffffffffff811115613a6c57613a6c6153f5565b6040519080825280601f01601f191660200182016040528015613a96576020820181803683370190505b5090505f613aba84613aa8898b6159dc565b613ab291906157fb565b8a9086611007565b604051909150613af49082907f80000000000000000000000000000000000000000000000000000000000000009085908990602001615c7b565b604051602081830303815290604052955050505050509392505050565b5f5b6010811015613a0157613b3b613b2a826008615a2b565b613b3490846159dc565b859061487a565b838260108110613b4d57613b4d61569a565b67ffffffffffffffff9092166020929092020152600101613b13565b5f60078267ffffffffffffffff16901c613b848360086148fc565b613b8f8460016148fc565b181892915050565b5f60068267ffffffffffffffff16901c613bb283603d6148fc565b613b8f8460136148fc565b5f613bc98260296148fc565b613bd48360126148fc565b613b8f84600e6148fc565b5f613beb8260276148fc565b613bf68360226148fc565b613b8f84601c6148fc565b5f808251606014613c6e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f553338343a206e6f74203736380000000000000000000000000000000000000060448201526064016103e1565b604080516080810182529250820190505f825260208301516010830152603083015160208301525f81526050830151601082015260608301516020820152915091565b5f8151603014613d1d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f553338343a206e6f74203338340000000000000000000000000000000000000060448201526064016103e1565b6040805180820190915290505f81526020820151601082015260308201516020820152919050565b5f613d5861036060408051918201905290565b6060610120820152602061014082018190526040610160830181905260016101e0840152845161020084015284820180516102208501526102408401829052610260840192909252610280830152925161030082015291516103208301525090565b815181515f919080821115613dd457600192505050610b65565b80821015613e06577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff92505050610b65565b50506020838101519083015180821115613e2557600192505050610b65565b80821015613e57577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff92505050610b65565b505092915050565b602082015182515f911590151680613e8557506020868101519084015187518551149114165b80613e97575060208201518251159015165b80613eb057506020868101519083015187518451149114165b15613ebc57505f613905565b5f613ec988846002614938565b90505f613ed889866003614938565b6020880151885191925015901516613f0257613eff81613ef98b888b61497c565b8a614a6d565b90505b6020860151865115901516613f1f57613f1c81878a614a6d565b90505b60208181015190830151915192519114911416979650505050505050565b8082828560045afa50505050565b5f613f57858484614acf565b905061401c8482876060018251602093840151835193850151608081811c6fffffffffffffffffffffffffffffffff80851682810294821695841c86810287830280871c820188810180891b9287169290920160408d01528c8402878c02958e0297909402998b02988210921191909101861b90861c018601878101858101958610981196119590950195909501831b82841c01850184810180851b939092169290920198870198909852959093029086109190941001811b93901c92909201019052565b60608552602085602001526040856040015260018560c0015281518560e0015260208201518561010001526040816101208760055afa50949350505050565b5f61406c6040808051918201905290565b5f815260208101929092525090565b6140836153a9565b61408c85614b5c565b61409585614b5c565b61409f600161405b565b6080840180516040810192909252602082810193909352929052905180519101516140df918b918b918b918b91908760045b602002015160400151614b82565b61010084018051604080820193909352602081810194909452939093526080840151805181840151919092015193518051930151614137948e948e948e948e949193909290918a60085b602002015160400151614d38565b610180840151604081019190915260208101919091525261415783614b5c565b61416083614b5c565b61416a600161405b565b6020808501805160408101939093528282019390935292905251805191015161419e918b918b918b918b91908760016140d1565b60408085015190810191909152602081810192909252919091528082015180519101516141f6918b918b918b918b91908760015b60209081029190910151604090810151908a015180519201519091908a6002614129565b60608401516040810191909152602081810192909252919091526080820151805191015161424d918b918b918b918b91908760045b60209081029190910151604001518982015180519201519091908a6001614129565b60a084015160408101919091526020818101929092529190915260808201518051910151614286918b918b918b918b91908760046141d2565b60c0840151604081019190915260208181019290925291909152608082015180519101516142de918b918b918b918b91908760045b602090810291909101516040015160608a015180519201519091908a6003614129565b60e08401516040810191909152602081810192909252919091526101008201518051910151614318918b918b918b918b919087600861422b565b6101208401516040810191909152602081810192909252919091526101008201518051910151614353918b918b918b918b91908760086141d2565b610140840151604081019190915260208181019290925291909152610100820151805191015161438e918b918b918b918b91908760086142bb565b61016084015160408101919091526020818101929092529190915261018082015180519101516143c9918b918b918b918b919087600c61422b565b6101a08401516040810191909152602081810192909252919091526101808201518051910151614404918b918b918b918b919087600c6141d2565b6101c0840151604081019190915260208181019290925291909152610180820151805191015161443f918b918b918b918b919087600c6142bb565b6101e0840151604081019190915260208101919091525298975050505050505050565b815181515f918291829182916144778361405b565b95506144825f61405b565b945061448e600161405b565b935060025b60b88111614537576144aa8e8e8e8e8b8b8b614b82565b919850965094506144c08e8e8e8e8b8b8b614b82565b9198509650945060b881900382811c6003169084901c60021b600c16179350831561452f575f8a85601081106144f8576144f861569a565b602002015190506145268f8f8f8f855f5b6020020151866001602002015187600260200201518f8f8f614d38565b91995097509550505b600201614493565b5050506020868101519086015160025b61010081116145d45761455f8e8e8e8e8b8b8b614b82565b919850965094506145758e8e8e8e8b8b8b614b82565b9198509650945061010081900382811c6003169084901c60021b600c1617935083156145cc575f8a85601081106145ae576145ae61569a565b602002015190506145c38f8f8f8f855f614509565b91995097509550505b600201614547565b505050505b9750975097945050505050565b5f6107b28710156145f5575f80fd5b8686865f62253d8c60046064600c61460e600e88615d06565b6146189190615d25565b61462488611324615d8c565b61462e9190615d8c565b6146389190615d25565b614643906003615dab565b61464d9190615d25565b600c8061465b600e88615d06565b6146659190615d25565b61467090600c615dab565b61467b600288615d06565b6146859190615d06565b6146919061016f615dab565b61469b9190615d25565b6004600c6146aa600e89615d06565b6146b49190615d25565b6146c0896112c0615d8c565b6146ca9190615d8c565b6146d6906105b5615dab565b6146e09190615d25565b6146ec617d4b87615d06565b6146f69190615d8c565b6147009190615d8c565b61470a9190615d06565b6147149190615d06565b9050858789614724846018615a2b565b61472e91906159dc565b61473990603c615a2b565b61474391906159dc565b61474e90603c615a2b565b6135d691906159dc565b5f8269ffffffffffffffffffff8316815181106147775761477761569a565b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f030000000000000000000000000000000000000000000000000000000000000014614827576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f4e6f7420747970652042495420535452494e470000000000000000000000000060448201526064016103e1565b5f614843600169ffffffffffffffffffff60a086901c166157fb565b90506148508160206157fb565b61485b906008615a2b565b6114778561147169ffffffffffffffffffff605088901c1660016159dc565b5f6148868260086159dc565b835110156148f0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f696e646578206f7574206f6620626f756e64730000000000000000000000000060448201526064016103e1565b50016020015160c01c90565b5f67ffffffffffffffff8381169083161c614918836040615df6565b67ffffffffffffffff168467ffffffffffffffff16901b17905092915050565b5f6149496040808051918201905290565b9050610240840193508251846060015260208301518460800152818460a001526040816101008660055afa509392505050565b5f61498d6040808051918201905290565b9050614a53838361018087018251602093840151835193850151608081811c6fffffffffffffffffffffffffffffffff80851682810294821695841c86810287830280871c820188810180891b9287169290920160408d01528c8402878c02958e0297909402998b02988210921191909101861b90861c018601878101858101958610981196119590950195909501831b82841c01850184810180851b939092169290920198870198909852959093029086109190941001811b93901c92909201019052565b610120840193506040816101208660055afa509392505050565b5f614a7e6040808051918201905290565b6020858101518582015181019183018290528551875101911001815290505f614aa78284613dba565b1261047357602080820180519184015182039081905283518351929091119103038152610473565b5f614ae06040808051918201905290565b9050614b1482614af0600261405b565b60208281015190820151810360c089018190529151925191119190030360a0860152565b604084526040846020015260408460400152825184606001526020830151846080015281518460e0015260208201518461010001526040816101208660055afa509392505050565b5f614b6d6040808051918201905290565b90508151815260208201516020820152919050565b5f805f614b98865f602082015191511591141690565b8015614bab575060208501518551159015165b15614bd757614bb95f61405b565b614bc25f61405b565b614bcc600161405b565b9250925092506145d9565b5f614be38b878761497c565b9050614bef818b614e8c565b614bfa8b828961497c565b9350614c078b8588614ed9565b614c11848b614e8c565b614c1d8b886002614938565b9650614c2a8b888b61497c565b9250614c388b866002614938565b9450614c458b868a614ed9565b614c5083868c614fb5565b614c5c8b846002614938565b9150614c6987858c61500a565b5f614c748b89615029565b9050614c8183828d614fb5565b6020808c015181850151810391830182905284518d51929091109103038152614cac8886838e615060565b614cb78c8986614ed9565b614cc28c888461497c565b9650614cd08c8860026150af565b614cda878c614e8c565b6020808c015181890151810391830182905288518d51929091109103038152614d058489838e615060565b614d118c8684866150de565b614d1e8c848460026151bb565b614d298c8484614ed9565b50509750975097945050505050565b5f805f614d4e895f602082015191511591141690565b8015614d61575060208801518851159015165b15614d8c57614d6f86614b5c565b614d7886614b5c565b614d8186614b5c565b925092509250614e7c565b60208601518651159015168015614daa575060208501518551159015165b15614dca57614db889614b5c565b614dc189614b5c565b614d8189614b5c565b614dd58d898661497c565b9250614de28d868961497c565b9150614def8d8a8661497c565b9050614dfc8d878961497c565b6020808201519083015182518451939850911491141615614e595760208281015190840151835185511491141615614e3d57614d818d8d8d8d8d8d8d614b82565b614e465f61405b565b614e4f5f61405b565b614d81600161405b565b614e648d888661497c565b9950614e758d8b838f8987896151eb565b9250925092505b9a509a509a975050505050505050565b6020820180518351600190811b60ff83901c1785521b90525f614eaf8383613dba565b12614ed55760208281018051918301518203908190529151835191909211919003039052565b5050565b614f9d828261018086018251602093840151835193850151608081811c6fffffffffffffffffffffffffffffffff80851682810294821695841c86810287830280871c820188810180891b9287169290920160408d01528c8402878c02958e0297909402998b02988210921191909101861b90861c018601878101858101958610981196119590950195909501831b82841c01850184810180851b939092169290920198870198909852959093029086109190941001811b93901c92909201019052565b610120830192506040826101208560055afa50505050565b614fd78383602082810180519183015182019081905291518351019110019052565b5f614fe28483613dba565b1261100257602080840180519183015182039081905282518551929091119103038352505050565b6020808301518351600190811b60ff83901c1786521b90840152614fd7565b5f61503a6040808051918201905290565b602080850151818501518103918301829052845186519290911091030381529050610b65565b602083810151838201518101918601829052835185510191100184525f6150878583613dba565b12613a0157602080850180519183015182039081905282518651929091119103038452613a01565b610240830192508151836060015260208201518360800152808360a001526040826101008560055afa50505050565b6151a2828261018087018251602093840151835193850151608081811c6fffffffffffffffffffffffffffffffff80851682810294821695841c86810287830280871c820188810180891b9287169290920160408d01528c8402878c02958e0297909402998b02988210921191909101861b90861c018601878101858101958610981196119590950195909501831b82841c01850184810180851b939092169290920198870198909852959093029086109190941001811b93901c92909201019052565b610120840193506040836101208660055afa5050505050565b610240840193508151846060015260208201518460800152808460a001526040836101008660055afa5050505050565b5f805f806151f98887615029565b905061520685828a614a6d565b6020808a0151818a0151810391840182905289518b51929091109103038252925061523289828a614a6d565b93505f6152418c866002614938565b905061524f8c856002614938565b925061525c8c848d614ed9565b615267888b8b614a6d565b97506152748c8983614ed9565b6020808a0151818a0151810391840182905289518b5192909110910303825261529e83838b614fb5565b5f6152aa8d838861497c565b90506152b78d8786614ed9565b6152c28d8c8461497c565b6020808c015181870151810391860182905286518d519290911091030384529a506152ee8b848c614fb5565b6152f98d868d614ed9565b6153048d888361497c565b6020808c015181830151810391860182905282518d51929091109103038452965061533085848c614fb5565b61533c8d85838f6150de565b5050509750975097945050505050565b60405180610a0001604052806050906020820280368337509192915050565b6040518061010001604052806008906020820280368337509192915050565b6040518061020001604052806010906020820280368337509192915050565b6040518061020001604052806010905b6153c16153d7565b8152602001906001900390816153b95790505090565b60405180606001604052806003906020820280368337509192915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f82601f830112615431575f80fd5b813567ffffffffffffffff8082111561544c5761544c6153f5565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908282118183101715615492576154926153f5565b816040528381528660208588010111156154aa575f80fd5b836020870160208301375f602085830101528094505050505092915050565b5f805f604084860312156154db575f80fd5b833567ffffffffffffffff808211156154f2575f80fd5b6154fe87838801615422565b94506020860135915080821115615513575f80fd5b818601915086601f830112615526575f80fd5b813581811115615534575f80fd5b8760208260051b8501011115615548575f80fd5b6020830194508093505050509250925092565b5f5b8381101561557557818101518382015260200161555d565b50505f910152565b5f815180845261559481602086016020860161555b565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815281511515602082015267ffffffffffffffff6020830151166040820152604082015160070b6060820152606082015160808201525f608083015160a08084015261057460c084018261557d565b602081525f610473602083018461557d565b5f60208284031215615639575f80fd5b5035919050565b5f805f60608486031215615652575f80fd5b833567ffffffffffffffff811115615668575f80fd5b61567486828701615422565b93505060208401358015158114615689575f80fd5b929592945050506040919091013590565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f8083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18436030181126156fa575f80fd5b83018035915067ffffffffffffffff821115615714575f80fd5b602001915036819003821315611c02575f80fd5b818382375f9101908152919050565b600181811c9082168061574b57607f821691505b602082108103615782577f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b600782810b9082900b037fffffffffffffffffffffffffffffffffffffffffffffffff80000000000000008112677fffffffffffffff82131715610b6557610b65615788565b81810381811115610b6557610b65615788565b85151560f81b81527fffffffffffffffff0000000000000000000000000000000000000000000000008560c01b1660018201528360c01b60098201528260118201525f825161586481603185016020870161555b565b919091016031019695505050505050565b601f82111561100257805f5260205f20601f840160051c8101602085101561589a5750805b601f840160051c820191505b818110156158b9575f81556001016158a6565b5050505050565b815167ffffffffffffffff8111156158da576158da6153f5565b6158ee816158e88454615737565b84615875565b602080601f831160018114615940575f841561590a5750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b1785556159d4565b5f858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b8281101561598c5788860151825594840194600190910190840161596d565b50858210156159c857878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b505060018460011b0185555b505050505050565b80820180821115610b6557610b65615788565b60ff8281168282160390811115610b6557610b65615788565b60ff8181168382160290811690818114615a2457615a24615788565b5092915050565b8082028115828204841417610b6557610b65615788565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203615a7257615a72615788565b5060010190565b5f81615a8757615a87615788565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b600181815b80851115615b0657817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115615aec57615aec615788565b80851615615af957918102915b93841c9390800290615ab2565b509250929050565b5f82615b1c57506001610b65565b81615b2857505f610b65565b8160018114615b3e5760028114615b4857615b64565b6001915050610b65565b60ff841115615b5957615b59615788565b50506001821b610b65565b5060208310610133831016604e8410600b8410161715615b87575081810a610b65565b615b918383615aad565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115615bc357615bc3615788565b029392505050565b5f6104738383615b0e565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f82615c1157615c11615bd6565b500690565b5f82615c2457615c24615bd6565b500490565b61ffff818116838216028082169190828114613e5757613e57615788565b61ffff818116838216019080821115615a2457615a24615788565b60ff8181168382160190811115610b6557610b65615788565b5f8551615c8c818460208a0161555b565b7fff0000000000000000000000000000000000000000000000000000000000000086169083019081528451615cc881600184016020890161555b565b8082019150507fffffffffffffffff000000000000000000000000000000000000000000000000841660018201526009810191505095945050505050565b8181035f831280158383131683831282161715615a2457615a24615788565b5f82615d3357615d33615bd6565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83147f800000000000000000000000000000000000000000000000000000000000000083141615615d8757615d87615788565b500590565b8082018281125f831280158216821582161715613e5757613e57615788565b8082025f82127f800000000000000000000000000000000000000000000000000000000000000084141615615de257615de2615788565b8181058314821517610b6557610b65615788565b67ffffffffffffffff828116828216039080821115615a2457615a2461578856feb3312fa7e23ee7e4988e056be3f82d19181d9c6efe8141120314088f5013875ac656398d8a2ed19d2a85c8edd3ec2aef3617de4a96262c6f5d9e98bf9292dc29f8f41dbd289a147ce9da3113b5f0b8c00a60b1ce1d7e819d7a431d7c90ea0e5ffc0254eba608c1f36870e29ada90be46383292736e894bfff672d989444b5051e534a4b1f6dbe3c0bc581a32b7b176070ede12d69a3fea211b66e752cf7dd1dd095f6f1370f4170843d9dc100121e4cf63012809664487c9796284304dc53ff4ffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52972aa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000fffffffcffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffffa164736f6c6343000818000afc0254eba608c1f36870e29ada90be46383292736e894bfff672d989444b5051e534a4b1f6dbe3c0bc581a32b7b176070ede12d69a3fea211b66e752cf7dd1dd095f6f1370f4170843d9dc100121e4cf63012809664487c9796284304dc53ff4",
}
// CertManagerABI is the input ABI used to generate the binding from.
// Deprecated: Use CertManagerMetaData.ABI instead.
var CertManagerABI = CertManagerMetaData.ABI
// CertManagerBin is the compiled bytecode used for deploying new contracts.
// Deprecated: Use CertManagerMetaData.Bin instead.
var CertManagerBin = CertManagerMetaData.Bin
// DeployCertManager deploys a new Ethereum contract, binding an instance of CertManager to it.
func DeployCertManager(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *CertManager, error) {
parsed, err := CertManagerMetaData.GetAbi()
if err != nil {
return common.Address{}, nil, nil, err
}
if parsed == nil {
return common.Address{}, nil, nil, errors.New("GetABI returned nil")
}
address, tx, contract, err := bind.DeployContract(auth, *parsed, common.FromHex(CertManagerBin), backend)
if err != nil {
return common.Address{}, nil, nil, err
}
return address, tx, &CertManager{CertManagerCaller: CertManagerCaller{contract: contract}, CertManagerTransactor: CertManagerTransactor{contract: contract}, CertManagerFilterer: CertManagerFilterer{contract: contract}}, nil
}
// CertManager is an auto generated Go binding around an Ethereum contract.
type CertManager struct {
CertManagerCaller // Read-only binding to the contract
CertManagerTransactor // Write-only binding to the contract
CertManagerFilterer // Log filterer for contract events
}
// CertManagerCaller is an auto generated read-only Go binding around an Ethereum contract.
type CertManagerCaller struct {
contract *bind.BoundContract // Generic contract wrapper for the low level calls
}
// CertManagerTransactor is an auto generated write-only Go binding around an Ethereum contract.
type CertManagerTransactor struct {
contract *bind.BoundContract // Generic contract wrapper for the low level calls
}
// CertManagerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
type CertManagerFilterer struct {
contract *bind.BoundContract // Generic contract wrapper for the low level calls
}
// CertManagerSession is an auto generated Go binding around an Ethereum contract,
// with pre-set call and transact options.
type CertManagerSession struct {
Contract *CertManager // Generic contract binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
// CertManagerCallerSession is an auto generated read-only Go binding around an Ethereum contract,
// with pre-set call options.
type CertManagerCallerSession struct {
Contract *CertManagerCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
// CertManagerTransactorSession is an auto generated write-only Go binding around an Ethereum contract,
// with pre-set transact options.
type CertManagerTransactorSession struct {
Contract *CertManagerTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
// CertManagerRaw is an auto generated low-level Go binding around an Ethereum contract.
type CertManagerRaw struct {
Contract *CertManager // Generic contract binding to access the raw methods on
}
// CertManagerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
type CertManagerCallerRaw struct {
Contract *CertManagerCaller // Generic read-only contract binding to access the raw methods on
}
// CertManagerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
type CertManagerTransactorRaw struct {
Contract *CertManagerTransactor // Generic write-only contract binding to access the raw methods on
}
// NewCertManager creates a new instance of CertManager, bound to a specific deployed contract.
func NewCertManager(address common.Address, backend bind.ContractBackend) (*CertManager, error) {
contract, err := bindCertManager(address, backend, backend, backend)
if err != nil {
return nil, err
}
return &CertManager{CertManagerCaller: CertManagerCaller{contract: contract}, CertManagerTransactor: CertManagerTransactor{contract: contract}, CertManagerFilterer: CertManagerFilterer{contract: contract}}, nil
}
// NewCertManagerCaller creates a new read-only instance of CertManager, bound to a specific deployed contract.
func NewCertManagerCaller(address common.Address, caller bind.ContractCaller) (*CertManagerCaller, error) {
contract, err := bindCertManager(address, caller, nil, nil)
if err != nil {
return nil, err
}
return &CertManagerCaller{contract: contract}, nil
}
// NewCertManagerTransactor creates a new write-only instance of CertManager, bound to a specific deployed contract.
func NewCertManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*CertManagerTransactor, error) {
contract, err := bindCertManager(address, nil, transactor, nil)
if err != nil {
return nil, err
}
return &CertManagerTransactor{contract: contract}, nil
}
// NewCertManagerFilterer creates a new log filterer instance of CertManager, bound to a specific deployed contract.
func NewCertManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*CertManagerFilterer, error) {
contract, err := bindCertManager(address, nil, nil, filterer)
if err != nil {
return nil, err
}
return &CertManagerFilterer{contract: contract}, nil
}
// bindCertManager binds a generic wrapper to an already deployed contract.
func bindCertManager(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) {
parsed, err := CertManagerMetaData.GetAbi()
if err != nil {
return nil, err
}
return bind.NewBoundContract(address, *parsed, caller, transactor, filterer), nil
}
// Call invokes the (constant) contract method with params as input values and
// sets the output to result. The result type might be a single field for simple
// returns, a slice of interfaces for anonymous returns and a struct for named
// returns.
func (_CertManager *CertManagerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
return _CertManager.Contract.CertManagerCaller.contract.Call(opts, result, method, params...)
}
// Transfer initiates a plain transaction to move funds to the contract, calling
// its default method if one is available.
func (_CertManager *CertManagerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
return _CertManager.Contract.CertManagerTransactor.contract.Transfer(opts)
}
// Transact invokes the (paid) contract method with params as input values.
func (_CertManager *CertManagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
return _CertManager.Contract.CertManagerTransactor.contract.Transact(opts, method, params...)
}
// Call invokes the (constant) contract method with params as input values and
// sets the output to result. The result type might be a single field for simple
// returns, a slice of interfaces for anonymous returns and a struct for named
// returns.
func (_CertManager *CertManagerCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
return _CertManager.Contract.contract.Call(opts, result, method, params...)
}
// Transfer initiates a plain transaction to move funds to the contract, calling
// its default method if one is available.
func (_CertManager *CertManagerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
return _CertManager.Contract.contract.Transfer(opts)
}
// Transact invokes the (paid) contract method with params as input values.
func (_CertManager *CertManagerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
return _CertManager.Contract.contract.Transact(opts, method, params...)
}
// BASICCONSTRAINTSOID is a free data retrieval call binding the contract method 0x4519a352.
//
// Solidity: function BASIC_CONSTRAINTS_OID() view returns(bytes32)
func (_CertManager *CertManagerCaller) BASICCONSTRAINTSOID(opts *bind.CallOpts) ([32]byte, error) {
var out []interface{}
err := _CertManager.contract.Call(opts, &out, "BASIC_CONSTRAINTS_OID")
if err != nil {
return *new([32]byte), err
}
out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte)
return out0, err
}
// BASICCONSTRAINTSOID is a free data retrieval call binding the contract method 0x4519a352.
//
// Solidity: function BASIC_CONSTRAINTS_OID() view returns(bytes32)
func (_CertManager *CertManagerSession) BASICCONSTRAINTSOID() ([32]byte, error) {
return _CertManager.Contract.BASICCONSTRAINTSOID(&_CertManager.CallOpts)
}
// BASICCONSTRAINTSOID is a free data retrieval call binding the contract method 0x4519a352.
//
// Solidity: function BASIC_CONSTRAINTS_OID() view returns(bytes32)
func (_CertManager *CertManagerCallerSession) BASICCONSTRAINTSOID() ([32]byte, error) {
return _CertManager.Contract.BASICCONSTRAINTSOID(&_CertManager.CallOpts)
}
// CERTALGOOID is a free data retrieval call binding the contract method 0xaf9bdbc2.
//
// Solidity: function CERT_ALGO_OID() view returns(bytes32)
func (_CertManager *CertManagerCaller) CERTALGOOID(opts *bind.CallOpts) ([32]byte, error) {
var out []interface{}
err := _CertManager.contract.Call(opts, &out, "CERT_ALGO_OID")
if err != nil {
return *new([32]byte), err
}
out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte)
return out0, err
}
// CERTALGOOID is a free data retrieval call binding the contract method 0xaf9bdbc2.
//
// Solidity: function CERT_ALGO_OID() view returns(bytes32)
func (_CertManager *CertManagerSession) CERTALGOOID() ([32]byte, error) {
return _CertManager.Contract.CERTALGOOID(&_CertManager.CallOpts)
}
// CERTALGOOID is a free data retrieval call binding the contract method 0xaf9bdbc2.
//
// Solidity: function CERT_ALGO_OID() view returns(bytes32)
func (_CertManager *CertManagerCallerSession) CERTALGOOID() ([32]byte, error) {
return _CertManager.Contract.CERTALGOOID(&_CertManager.CallOpts)
}
// ECPUBKEYOID is a free data retrieval call binding the contract method 0xf69a82fe.
//
// Solidity: function EC_PUB_KEY_OID() view returns(bytes32)
func (_CertManager *CertManagerCaller) ECPUBKEYOID(opts *bind.CallOpts) ([32]byte, error) {
var out []interface{}
err := _CertManager.contract.Call(opts, &out, "EC_PUB_KEY_OID")
if err != nil {
return *new([32]byte), err
}
out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte)
return out0, err
}
// ECPUBKEYOID is a free data retrieval call binding the contract method 0xf69a82fe.
//
// Solidity: function EC_PUB_KEY_OID() view returns(bytes32)
func (_CertManager *CertManagerSession) ECPUBKEYOID() ([32]byte, error) {
return _CertManager.Contract.ECPUBKEYOID(&_CertManager.CallOpts)
}
// ECPUBKEYOID is a free data retrieval call binding the contract method 0xf69a82fe.
//
// Solidity: function EC_PUB_KEY_OID() view returns(bytes32)
func (_CertManager *CertManagerCallerSession) ECPUBKEYOID() ([32]byte, error) {
return _CertManager.Contract.ECPUBKEYOID(&_CertManager.CallOpts)
}
// KEYUSAGEOID is a free data retrieval call binding the contract method 0xaeb255ea.
//
// Solidity: function KEY_USAGE_OID() view returns(bytes32)
func (_CertManager *CertManagerCaller) KEYUSAGEOID(opts *bind.CallOpts) ([32]byte, error) {
var out []interface{}
err := _CertManager.contract.Call(opts, &out, "KEY_USAGE_OID")
if err != nil {
return *new([32]byte), err
}
out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte)
return out0, err
}
// KEYUSAGEOID is a free data retrieval call binding the contract method 0xaeb255ea.
//
// Solidity: function KEY_USAGE_OID() view returns(bytes32)
func (_CertManager *CertManagerSession) KEYUSAGEOID() ([32]byte, error) {
return _CertManager.Contract.KEYUSAGEOID(&_CertManager.CallOpts)
}
// KEYUSAGEOID is a free data retrieval call binding the contract method 0xaeb255ea.
//
// Solidity: function KEY_USAGE_OID() view returns(bytes32)
func (_CertManager *CertManagerCallerSession) KEYUSAGEOID() ([32]byte, error) {
return _CertManager.Contract.KEYUSAGEOID(&_CertManager.CallOpts)
}
// ROOTCACERTHASH is a free data retrieval call binding the contract method 0x8fb57b62.
//
// Solidity: function ROOT_CA_CERT_HASH() view returns(bytes32)
func (_CertManager *CertManagerCaller) ROOTCACERTHASH(opts *bind.CallOpts) ([32]byte, error) {
var out []interface{}
err := _CertManager.contract.Call(opts, &out, "ROOT_CA_CERT_HASH")
if err != nil {
return *new([32]byte), err
}
out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte)
return out0, err
}
// ROOTCACERTHASH is a free data retrieval call binding the contract method 0x8fb57b62.
//
// Solidity: function ROOT_CA_CERT_HASH() view returns(bytes32)
func (_CertManager *CertManagerSession) ROOTCACERTHASH() ([32]byte, error) {
return _CertManager.Contract.ROOTCACERTHASH(&_CertManager.CallOpts)
}
// ROOTCACERTHASH is a free data retrieval call binding the contract method 0x8fb57b62.
//
// Solidity: function ROOT_CA_CERT_HASH() view returns(bytes32)
func (_CertManager *CertManagerCallerSession) ROOTCACERTHASH() ([32]byte, error) {
return _CertManager.Contract.ROOTCACERTHASH(&_CertManager.CallOpts)
}
// ROOTCACERTMAXPATHLEN is a free data retrieval call binding the contract method 0x9ecc0050.
//
// Solidity: function ROOT_CA_CERT_MAX_PATH_LEN() view returns(int64)
func (_CertManager *CertManagerCaller) ROOTCACERTMAXPATHLEN(opts *bind.CallOpts) (int64, error) {
var out []interface{}
err := _CertManager.contract.Call(opts, &out, "ROOT_CA_CERT_MAX_PATH_LEN")
if err != nil {
return *new(int64), err
}
out0 := *abi.ConvertType(out[0], new(int64)).(*int64)
return out0, err
}
// ROOTCACERTMAXPATHLEN is a free data retrieval call binding the contract method 0x9ecc0050.
//
// Solidity: function ROOT_CA_CERT_MAX_PATH_LEN() view returns(int64)
func (_CertManager *CertManagerSession) ROOTCACERTMAXPATHLEN() (int64, error) {
return _CertManager.Contract.ROOTCACERTMAXPATHLEN(&_CertManager.CallOpts)
}
// ROOTCACERTMAXPATHLEN is a free data retrieval call binding the contract method 0x9ecc0050.
//
// Solidity: function ROOT_CA_CERT_MAX_PATH_LEN() view returns(int64)
func (_CertManager *CertManagerCallerSession) ROOTCACERTMAXPATHLEN() (int64, error) {
return _CertManager.Contract.ROOTCACERTMAXPATHLEN(&_CertManager.CallOpts)
}
// ROOTCACERTNOTAFTER is a free data retrieval call binding the contract method 0x58e3139e.
//
// Solidity: function ROOT_CA_CERT_NOT_AFTER() view returns(uint64)
func (_CertManager *CertManagerCaller) ROOTCACERTNOTAFTER(opts *bind.CallOpts) (uint64, error) {
var out []interface{}
err := _CertManager.contract.Call(opts, &out, "ROOT_CA_CERT_NOT_AFTER")
if err != nil {
return *new(uint64), err
}
out0 := *abi.ConvertType(out[0], new(uint64)).(*uint64)
return out0, err
}
// ROOTCACERTNOTAFTER is a free data retrieval call binding the contract method 0x58e3139e.
//
// Solidity: function ROOT_CA_CERT_NOT_AFTER() view returns(uint64)
func (_CertManager *CertManagerSession) ROOTCACERTNOTAFTER() (uint64, error) {
return _CertManager.Contract.ROOTCACERTNOTAFTER(&_CertManager.CallOpts)
}
// ROOTCACERTNOTAFTER is a free data retrieval call binding the contract method 0x58e3139e.
//
// Solidity: function ROOT_CA_CERT_NOT_AFTER() view returns(uint64)
func (_CertManager *CertManagerCallerSession) ROOTCACERTNOTAFTER() (uint64, error) {
return _CertManager.Contract.ROOTCACERTNOTAFTER(&_CertManager.CallOpts)
}
// ROOTCACERTPUBKEY is a free data retrieval call binding the contract method 0xab68988d.
//
// Solidity: function ROOT_CA_CERT_PUB_KEY() view returns(bytes)
func (_CertManager *CertManagerCaller) ROOTCACERTPUBKEY(opts *bind.CallOpts) ([]byte, error) {
var out []interface{}
err := _CertManager.contract.Call(opts, &out, "ROOT_CA_CERT_PUB_KEY")
if err != nil {
return *new([]byte), err
}
out0 := *abi.ConvertType(out[0], new([]byte)).(*[]byte)
return out0, err
}
// ROOTCACERTPUBKEY is a free data retrieval call binding the contract method 0xab68988d.
//
// Solidity: function ROOT_CA_CERT_PUB_KEY() view returns(bytes)
func (_CertManager *CertManagerSession) ROOTCACERTPUBKEY() ([]byte, error) {
return _CertManager.Contract.ROOTCACERTPUBKEY(&_CertManager.CallOpts)
}
// ROOTCACERTPUBKEY is a free data retrieval call binding the contract method 0xab68988d.
//
// Solidity: function ROOT_CA_CERT_PUB_KEY() view returns(bytes)
func (_CertManager *CertManagerCallerSession) ROOTCACERTPUBKEY() ([]byte, error) {
return _CertManager.Contract.ROOTCACERTPUBKEY(&_CertManager.CallOpts)
}
// ROOTCACERTSUBJECTHASH is a free data retrieval call binding the contract method 0x441b31df.
//
// Solidity: function ROOT_CA_CERT_SUBJECT_HASH() view returns(bytes32)
func (_CertManager *CertManagerCaller) ROOTCACERTSUBJECTHASH(opts *bind.CallOpts) ([32]byte, error) {
var out []interface{}
err := _CertManager.contract.Call(opts, &out, "ROOT_CA_CERT_SUBJECT_HASH")
if err != nil {
return *new([32]byte), err
}
out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte)
return out0, err
}
// ROOTCACERTSUBJECTHASH is a free data retrieval call binding the contract method 0x441b31df.
//
// Solidity: function ROOT_CA_CERT_SUBJECT_HASH() view returns(bytes32)
func (_CertManager *CertManagerSession) ROOTCACERTSUBJECTHASH() ([32]byte, error) {
return _CertManager.Contract.ROOTCACERTSUBJECTHASH(&_CertManager.CallOpts)
}
// ROOTCACERTSUBJECTHASH is a free data retrieval call binding the contract method 0x441b31df.
//
// Solidity: function ROOT_CA_CERT_SUBJECT_HASH() view returns(bytes32)
func (_CertManager *CertManagerCallerSession) ROOTCACERTSUBJECTHASH() ([32]byte, error) {
return _CertManager.Contract.ROOTCACERTSUBJECTHASH(&_CertManager.CallOpts)
}
// SECP384R1OID is a free data retrieval call binding the contract method 0x5ab70904.
//
// Solidity: function SECP_384_R1_OID() view returns(bytes32)
func (_CertManager *CertManagerCaller) SECP384R1OID(opts *bind.CallOpts) ([32]byte, error) {
var out []interface{}
err := _CertManager.contract.Call(opts, &out, "SECP_384_R1_OID")
if err != nil {
return *new([32]byte), err
}
out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte)
return out0, err
}
// SECP384R1OID is a free data retrieval call binding the contract method 0x5ab70904.
//
// Solidity: function SECP_384_R1_OID() view returns(bytes32)
func (_CertManager *CertManagerSession) SECP384R1OID() ([32]byte, error) {
return _CertManager.Contract.SECP384R1OID(&_CertManager.CallOpts)
}
// SECP384R1OID is a free data retrieval call binding the contract method 0x5ab70904.
//
// Solidity: function SECP_384_R1_OID() view returns(bytes32)
func (_CertManager *CertManagerCallerSession) SECP384R1OID() ([32]byte, error) {
return _CertManager.Contract.SECP384R1OID(&_CertManager.CallOpts)
}
// Verified is a free data retrieval call binding the contract method 0xc59e43e5.
//
// Solidity: function verified(bytes32 ) view returns(bytes)
func (_CertManager *CertManagerCaller) Verified(opts *bind.CallOpts, arg0 [32]byte) ([]byte, error) {
var out []interface{}
err := _CertManager.contract.Call(opts, &out, "verified", arg0)
if err != nil {
return *new([]byte), err
}
out0 := *abi.ConvertType(out[0], new([]byte)).(*[]byte)
return out0, err
}
// Verified is a free data retrieval call binding the contract method 0xc59e43e5.
//
// Solidity: function verified(bytes32 ) view returns(bytes)
func (_CertManager *CertManagerSession) Verified(arg0 [32]byte) ([]byte, error) {
return _CertManager.Contract.Verified(&_CertManager.CallOpts, arg0)
}
// Verified is a free data retrieval call binding the contract method 0xc59e43e5.
//
// Solidity: function verified(bytes32 ) view returns(bytes)
func (_CertManager *CertManagerCallerSession) Verified(arg0 [32]byte) ([]byte, error) {
return _CertManager.Contract.Verified(&_CertManager.CallOpts, arg0)
}
// VerifyCert is a paid mutator transaction binding the contract method 0xdc28a38d.
//
// Solidity: function verifyCert(bytes cert, bool ca, bytes32 parentCertHash) returns((bool,uint64,int64,bytes32,bytes))
func (_CertManager *CertManagerTransactor) VerifyCert(opts *bind.TransactOpts, cert []byte, ca bool, parentCertHash [32]byte) (*types.Transaction, error) {
return _CertManager.contract.Transact(opts, "verifyCert", cert, ca, parentCertHash)
}
// VerifyCert is a paid mutator transaction binding the contract method 0xdc28a38d.
//
// Solidity: function verifyCert(bytes cert, bool ca, bytes32 parentCertHash) returns((bool,uint64,int64,bytes32,bytes))
func (_CertManager *CertManagerSession) VerifyCert(cert []byte, ca bool, parentCertHash [32]byte) (*types.Transaction, error) {
return _CertManager.Contract.VerifyCert(&_CertManager.TransactOpts, cert, ca, parentCertHash)
}
// VerifyCert is a paid mutator transaction binding the contract method 0xdc28a38d.
//
// Solidity: function verifyCert(bytes cert, bool ca, bytes32 parentCertHash) returns((bool,uint64,int64,bytes32,bytes))
func (_CertManager *CertManagerTransactorSession) VerifyCert(cert []byte, ca bool, parentCertHash [32]byte) (*types.Transaction, error) {
return _CertManager.Contract.VerifyCert(&_CertManager.TransactOpts, cert, ca, parentCertHash)
}
// VerifyCertBundle is a paid mutator transaction binding the contract method 0x5b608e2a.
//
// Solidity: function verifyCertBundle(bytes certificate, bytes[] cabundle) returns((bool,uint64,int64,bytes32,bytes))
func (_CertManager *CertManagerTransactor) VerifyCertBundle(opts *bind.TransactOpts, certificate []byte, cabundle [][]byte) (*types.Transaction, error) {
return _CertManager.contract.Transact(opts, "verifyCertBundle", certificate, cabundle)
}
// VerifyCertBundle is a paid mutator transaction binding the contract method 0x5b608e2a.
//
// Solidity: function verifyCertBundle(bytes certificate, bytes[] cabundle) returns((bool,uint64,int64,bytes32,bytes))
func (_CertManager *CertManagerSession) VerifyCertBundle(certificate []byte, cabundle [][]byte) (*types.Transaction, error) {
return _CertManager.Contract.VerifyCertBundle(&_CertManager.TransactOpts, certificate, cabundle)
}
// VerifyCertBundle is a paid mutator transaction binding the contract method 0x5b608e2a.
//
// Solidity: function verifyCertBundle(bytes certificate, bytes[] cabundle) returns((bool,uint64,int64,bytes32,bytes))
func (_CertManager *CertManagerTransactorSession) VerifyCertBundle(certificate []byte, cabundle [][]byte) (*types.Transaction, error) {
return _CertManager.Contract.VerifyCertBundle(&_CertManager.TransactOpts, certificate, cabundle)
}