mirror of
https://github.com/QuilibriumNetwork/ceremonyclient.git
synced 2026-02-21 10:27:26 +08:00
* v2.1.0.2 * restore tweaks to simlibp2p * fix: nil ref on size calc * fix: panic should induce shutdown from event_distributor * fix: friendlier initialization that requires less manual kickstarting for test/devnets * fix: fewer available shards than provers should choose shard length * fix: update stored worker registry, improve logging for debug mode * fix: shut the fuck up, peer log * qol: log value should be snake cased * fix:non-archive snap sync issues * fix: separate X448/Decaf448 signed keys, add onion key to registry * fix: overflow arithmetic on frame number comparison * fix: worker registration should be idempotent if inputs are same, otherwise permit updated records * fix: remove global prover state from size calculation * fix: divide by zero case * fix: eager prover * fix: broadcast listener default * qol: diagnostic data for peer authenticator * fix: master/worker connectivity issue in sparse networks tight coupling of peer and workers can sometimes interfere if mesh is sparse, so give workers a pseudoidentity but publish messages with the proper peer key * fix: reorder steps of join creation * fix: join verify frame source + ensure domain is properly padded (unnecessary but good for consistency) * fix: add delegate to protobuf <-> reified join conversion * fix: preempt prover from planning with no workers * fix: use the unallocated workers to generate a proof * qol: underflow causes join fail in first ten frames on test/devnets * qol: small logging tweaks for easier log correlation in debug mode * qol: use fisher-yates shuffle to ensure prover allocations are evenly distributed when scores are equal * qol: separate decisional logic on post-enrollment confirmation into consensus engine, proposer, and worker manager where relevant, refactor out scoring * reuse shard descriptors for both join planning and confirm/reject decisions * fix: add missing interface method and amend test blossomsub to use new peer id basis * fix: only check allocations if they exist * fix: pomw mint proof data needs to be hierarchically under global intrinsic domain * staging temporary state under diagnostics * fix: first phase of distributed lock refactoring * fix: compute intrinsic locking * fix: hypergraph intrinsic locking * fix: token intrinsic locking * fix: update execution engines to support new locking model * fix: adjust tests with new execution shape * fix: weave in lock/unlock semantics to liveness provider * fix lock fallthrough, add missing allocation update * qol: additional logging for diagnostics, also testnet/devnet handling for confirmations * fix: establish grace period on halt scenario to permit recovery * fix: support test/devnet defaults for coverage scenarios * fix: nil ref on consensus halts for non-archive nodes * fix: remove unnecessary prefix from prover ref * add test coverage for fork choice behaviors and replay – once passing, blocker (2) is resolved * fix: no fork replay on repeat for non-archive nodes, snap now behaves correctly * rollup of pre-liveness check lock interactions * ahead of tests, get the protobuf/metrics-related changes out so teams can prepare * add test coverage for distributed lock behaviors – once passing, blocker (3) is resolved * fix: blocker (3) * Dev docs improvements (#445) * Make install deps script more robust * Improve testing instructions * Worker node should stop upon OS SIGINT/SIGTERM signal (#447) * move pebble close to Stop() * move deferred Stop() to Start() * add core id to worker stop log message * create done os signal channel and stop worker upon message to it --------- Co-authored-by: Cassandra Heart <7929478+CassOnMars@users.noreply.github.com> --------- Co-authored-by: Daz <daz_the_corgi@proton.me> Co-authored-by: Black Swan <3999712+blacks1ne@users.noreply.github.com>
1930 lines
69 KiB
Go
1930 lines
69 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
// versions:
|
||
// protoc-gen-go v1.30.0
|
||
// protoc v5.29.3
|
||
// source: keys.proto
|
||
|
||
package protobufs
|
||
|
||
import (
|
||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||
reflect "reflect"
|
||
sync "sync"
|
||
)
|
||
|
||
const (
|
||
// Verify that this generated code is sufficiently up-to-date.
|
||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||
)
|
||
|
||
// Describes a raw Ed448 public key
|
||
type Ed448PublicKey struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 57 byte value
|
||
KeyValue []byte `protobuf:"bytes,1,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"`
|
||
}
|
||
|
||
func (x *Ed448PublicKey) Reset() {
|
||
*x = Ed448PublicKey{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_keys_proto_msgTypes[0]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *Ed448PublicKey) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*Ed448PublicKey) ProtoMessage() {}
|
||
|
||
func (x *Ed448PublicKey) ProtoReflect() protoreflect.Message {
|
||
mi := &file_keys_proto_msgTypes[0]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use Ed448PublicKey.ProtoReflect.Descriptor instead.
|
||
func (*Ed448PublicKey) Descriptor() ([]byte, []int) {
|
||
return file_keys_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
func (x *Ed448PublicKey) GetKeyValue() []byte {
|
||
if x != nil {
|
||
return x.KeyValue
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// Describes a raw Ed448 private key – notably this is post-derivation,
|
||
// not the seed.
|
||
type Ed448PrivateKey struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 57 byte value
|
||
KeyValue []byte `protobuf:"bytes,1,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"`
|
||
PublicKey *Ed448PublicKey `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
|
||
}
|
||
|
||
func (x *Ed448PrivateKey) Reset() {
|
||
*x = Ed448PrivateKey{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_keys_proto_msgTypes[1]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *Ed448PrivateKey) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*Ed448PrivateKey) ProtoMessage() {}
|
||
|
||
func (x *Ed448PrivateKey) ProtoReflect() protoreflect.Message {
|
||
mi := &file_keys_proto_msgTypes[1]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use Ed448PrivateKey.ProtoReflect.Descriptor instead.
|
||
func (*Ed448PrivateKey) Descriptor() ([]byte, []int) {
|
||
return file_keys_proto_rawDescGZIP(), []int{1}
|
||
}
|
||
|
||
func (x *Ed448PrivateKey) GetKeyValue() []byte {
|
||
if x != nil {
|
||
return x.KeyValue
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *Ed448PrivateKey) GetPublicKey() *Ed448PublicKey {
|
||
if x != nil {
|
||
return x.PublicKey
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// Describes a raw Ed448 signature
|
||
type Ed448Signature struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 114 byte value
|
||
Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
|
||
PublicKey *Ed448PublicKey `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
|
||
}
|
||
|
||
func (x *Ed448Signature) Reset() {
|
||
*x = Ed448Signature{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_keys_proto_msgTypes[2]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *Ed448Signature) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*Ed448Signature) ProtoMessage() {}
|
||
|
||
func (x *Ed448Signature) ProtoReflect() protoreflect.Message {
|
||
mi := &file_keys_proto_msgTypes[2]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use Ed448Signature.ProtoReflect.Descriptor instead.
|
||
func (*Ed448Signature) Descriptor() ([]byte, []int) {
|
||
return file_keys_proto_rawDescGZIP(), []int{2}
|
||
}
|
||
|
||
func (x *Ed448Signature) GetSignature() []byte {
|
||
if x != nil {
|
||
return x.Signature
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *Ed448Signature) GetPublicKey() *Ed448PublicKey {
|
||
if x != nil {
|
||
return x.PublicKey
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// Describes a raw X448 public key
|
||
type X448PublicKey struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 57 byte value
|
||
KeyValue []byte `protobuf:"bytes,1,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"`
|
||
}
|
||
|
||
func (x *X448PublicKey) Reset() {
|
||
*x = X448PublicKey{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_keys_proto_msgTypes[3]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *X448PublicKey) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*X448PublicKey) ProtoMessage() {}
|
||
|
||
func (x *X448PublicKey) ProtoReflect() protoreflect.Message {
|
||
mi := &file_keys_proto_msgTypes[3]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use X448PublicKey.ProtoReflect.Descriptor instead.
|
||
func (*X448PublicKey) Descriptor() ([]byte, []int) {
|
||
return file_keys_proto_rawDescGZIP(), []int{3}
|
||
}
|
||
|
||
func (x *X448PublicKey) GetKeyValue() []byte {
|
||
if x != nil {
|
||
return x.KeyValue
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// Describes a raw X448 private key – notably this is post-derivation,
|
||
// not the seed.
|
||
type X448PrivateKey struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 57 byte value
|
||
KeyValue []byte `protobuf:"bytes,1,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"`
|
||
PublicKey *X448PublicKey `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
|
||
}
|
||
|
||
func (x *X448PrivateKey) Reset() {
|
||
*x = X448PrivateKey{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_keys_proto_msgTypes[4]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *X448PrivateKey) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*X448PrivateKey) ProtoMessage() {}
|
||
|
||
func (x *X448PrivateKey) ProtoReflect() protoreflect.Message {
|
||
mi := &file_keys_proto_msgTypes[4]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use X448PrivateKey.ProtoReflect.Descriptor instead.
|
||
func (*X448PrivateKey) Descriptor() ([]byte, []int) {
|
||
return file_keys_proto_rawDescGZIP(), []int{4}
|
||
}
|
||
|
||
func (x *X448PrivateKey) GetKeyValue() []byte {
|
||
if x != nil {
|
||
return x.KeyValue
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *X448PrivateKey) GetPublicKey() *X448PublicKey {
|
||
if x != nil {
|
||
return x.PublicKey
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// Describes a raw PCAS public key
|
||
type PCASPublicKey struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 256 kilobyte value
|
||
KeyValue []byte `protobuf:"bytes,1,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"`
|
||
}
|
||
|
||
func (x *PCASPublicKey) Reset() {
|
||
*x = PCASPublicKey{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_keys_proto_msgTypes[5]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *PCASPublicKey) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*PCASPublicKey) ProtoMessage() {}
|
||
|
||
func (x *PCASPublicKey) ProtoReflect() protoreflect.Message {
|
||
mi := &file_keys_proto_msgTypes[5]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use PCASPublicKey.ProtoReflect.Descriptor instead.
|
||
func (*PCASPublicKey) Descriptor() ([]byte, []int) {
|
||
return file_keys_proto_rawDescGZIP(), []int{5}
|
||
}
|
||
|
||
func (x *PCASPublicKey) GetKeyValue() []byte {
|
||
if x != nil {
|
||
return x.KeyValue
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// Describes a raw PCAS private key
|
||
type PCASPrivateKey struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 256 byte value
|
||
KeyValue []byte `protobuf:"bytes,1,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"`
|
||
PublicKey *PCASPublicKey `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
|
||
}
|
||
|
||
func (x *PCASPrivateKey) Reset() {
|
||
*x = PCASPrivateKey{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_keys_proto_msgTypes[6]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *PCASPrivateKey) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*PCASPrivateKey) ProtoMessage() {}
|
||
|
||
func (x *PCASPrivateKey) ProtoReflect() protoreflect.Message {
|
||
mi := &file_keys_proto_msgTypes[6]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use PCASPrivateKey.ProtoReflect.Descriptor instead.
|
||
func (*PCASPrivateKey) Descriptor() ([]byte, []int) {
|
||
return file_keys_proto_rawDescGZIP(), []int{6}
|
||
}
|
||
|
||
func (x *PCASPrivateKey) GetKeyValue() []byte {
|
||
if x != nil {
|
||
return x.KeyValue
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *PCASPrivateKey) GetPublicKey() *PCASPublicKey {
|
||
if x != nil {
|
||
return x.PublicKey
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// Describes a raw compressed BLS48-581 G2 public key
|
||
type BLS48581G2PublicKey struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 585 byte value
|
||
KeyValue []byte `protobuf:"bytes,1,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"`
|
||
}
|
||
|
||
func (x *BLS48581G2PublicKey) Reset() {
|
||
*x = BLS48581G2PublicKey{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_keys_proto_msgTypes[7]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *BLS48581G2PublicKey) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*BLS48581G2PublicKey) ProtoMessage() {}
|
||
|
||
func (x *BLS48581G2PublicKey) ProtoReflect() protoreflect.Message {
|
||
mi := &file_keys_proto_msgTypes[7]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use BLS48581G2PublicKey.ProtoReflect.Descriptor instead.
|
||
func (*BLS48581G2PublicKey) Descriptor() ([]byte, []int) {
|
||
return file_keys_proto_rawDescGZIP(), []int{7}
|
||
}
|
||
|
||
func (x *BLS48581G2PublicKey) GetKeyValue() []byte {
|
||
if x != nil {
|
||
return x.KeyValue
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// Describes a raw BLS48-581 private key, with corresponding G2 public key
|
||
type BLS48581G2PrivateKey struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 73 byte value
|
||
KeyValue []byte `protobuf:"bytes,1,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"`
|
||
PublicKey *BLS48581G2PublicKey `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
|
||
}
|
||
|
||
func (x *BLS48581G2PrivateKey) Reset() {
|
||
*x = BLS48581G2PrivateKey{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_keys_proto_msgTypes[8]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *BLS48581G2PrivateKey) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*BLS48581G2PrivateKey) ProtoMessage() {}
|
||
|
||
func (x *BLS48581G2PrivateKey) ProtoReflect() protoreflect.Message {
|
||
mi := &file_keys_proto_msgTypes[8]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use BLS48581G2PrivateKey.ProtoReflect.Descriptor instead.
|
||
func (*BLS48581G2PrivateKey) Descriptor() ([]byte, []int) {
|
||
return file_keys_proto_rawDescGZIP(), []int{8}
|
||
}
|
||
|
||
func (x *BLS48581G2PrivateKey) GetKeyValue() []byte {
|
||
if x != nil {
|
||
return x.KeyValue
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *BLS48581G2PrivateKey) GetPublicKey() *BLS48581G2PublicKey {
|
||
if x != nil {
|
||
return x.PublicKey
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// Describes a raw BLS48-581 signature, minimal signature size variant
|
||
type BLS48581Signature struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 74 byte value
|
||
Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
|
||
PublicKey *BLS48581G2PublicKey `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
|
||
}
|
||
|
||
func (x *BLS48581Signature) Reset() {
|
||
*x = BLS48581Signature{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_keys_proto_msgTypes[9]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *BLS48581Signature) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*BLS48581Signature) ProtoMessage() {}
|
||
|
||
func (x *BLS48581Signature) ProtoReflect() protoreflect.Message {
|
||
mi := &file_keys_proto_msgTypes[9]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use BLS48581Signature.ProtoReflect.Descriptor instead.
|
||
func (*BLS48581Signature) Descriptor() ([]byte, []int) {
|
||
return file_keys_proto_rawDescGZIP(), []int{9}
|
||
}
|
||
|
||
func (x *BLS48581Signature) GetSignature() []byte {
|
||
if x != nil {
|
||
return x.Signature
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *BLS48581Signature) GetPublicKey() *BLS48581G2PublicKey {
|
||
if x != nil {
|
||
return x.PublicKey
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// Describes a raw BLS48-581 signature, minimal signature size variant
|
||
type BLS48581SignatureWithProofOfPossession struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 74 byte value
|
||
Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
|
||
// 585 byte value
|
||
PublicKey *BLS48581G2PublicKey `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
|
||
// 74 byte value
|
||
PopSignature []byte `protobuf:"bytes,3,opt,name=pop_signature,json=popSignature,proto3" json:"pop_signature,omitempty"`
|
||
}
|
||
|
||
func (x *BLS48581SignatureWithProofOfPossession) Reset() {
|
||
*x = BLS48581SignatureWithProofOfPossession{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_keys_proto_msgTypes[10]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *BLS48581SignatureWithProofOfPossession) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*BLS48581SignatureWithProofOfPossession) ProtoMessage() {}
|
||
|
||
func (x *BLS48581SignatureWithProofOfPossession) ProtoReflect() protoreflect.Message {
|
||
mi := &file_keys_proto_msgTypes[10]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use BLS48581SignatureWithProofOfPossession.ProtoReflect.Descriptor instead.
|
||
func (*BLS48581SignatureWithProofOfPossession) Descriptor() ([]byte, []int) {
|
||
return file_keys_proto_rawDescGZIP(), []int{10}
|
||
}
|
||
|
||
func (x *BLS48581SignatureWithProofOfPossession) GetSignature() []byte {
|
||
if x != nil {
|
||
return x.Signature
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *BLS48581SignatureWithProofOfPossession) GetPublicKey() *BLS48581G2PublicKey {
|
||
if x != nil {
|
||
return x.PublicKey
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *BLS48581SignatureWithProofOfPossession) GetPopSignature() []byte {
|
||
if x != nil {
|
||
return x.PopSignature
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// Describes a raw BLS48-581 signature, minimal signature size variant
|
||
type BLS48581AddressedSignature struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 74 byte value
|
||
Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
|
||
// 32 byte value
|
||
Address []byte `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
|
||
}
|
||
|
||
func (x *BLS48581AddressedSignature) Reset() {
|
||
*x = BLS48581AddressedSignature{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_keys_proto_msgTypes[11]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *BLS48581AddressedSignature) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*BLS48581AddressedSignature) ProtoMessage() {}
|
||
|
||
func (x *BLS48581AddressedSignature) ProtoReflect() protoreflect.Message {
|
||
mi := &file_keys_proto_msgTypes[11]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use BLS48581AddressedSignature.ProtoReflect.Descriptor instead.
|
||
func (*BLS48581AddressedSignature) Descriptor() ([]byte, []int) {
|
||
return file_keys_proto_rawDescGZIP(), []int{11}
|
||
}
|
||
|
||
func (x *BLS48581AddressedSignature) GetSignature() []byte {
|
||
if x != nil {
|
||
return x.Signature
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *BLS48581AddressedSignature) GetAddress() []byte {
|
||
if x != nil {
|
||
return x.Address
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// Describes an aggregated BLS48-581 signature, minimal signature size variant
|
||
type BLS48581AggregateSignature struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 74 byte value
|
||
Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
|
||
// 585 byte value
|
||
PublicKey *BLS48581G2PublicKey `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
|
||
Bitmask []byte `protobuf:"bytes,3,opt,name=bitmask,proto3" json:"bitmask,omitempty"`
|
||
}
|
||
|
||
func (x *BLS48581AggregateSignature) Reset() {
|
||
*x = BLS48581AggregateSignature{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_keys_proto_msgTypes[12]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *BLS48581AggregateSignature) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*BLS48581AggregateSignature) ProtoMessage() {}
|
||
|
||
func (x *BLS48581AggregateSignature) ProtoReflect() protoreflect.Message {
|
||
mi := &file_keys_proto_msgTypes[12]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use BLS48581AggregateSignature.ProtoReflect.Descriptor instead.
|
||
func (*BLS48581AggregateSignature) Descriptor() ([]byte, []int) {
|
||
return file_keys_proto_rawDescGZIP(), []int{12}
|
||
}
|
||
|
||
func (x *BLS48581AggregateSignature) GetSignature() []byte {
|
||
if x != nil {
|
||
return x.Signature
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *BLS48581AggregateSignature) GetPublicKey() *BLS48581G2PublicKey {
|
||
if x != nil {
|
||
return x.PublicKey
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *BLS48581AggregateSignature) GetBitmask() []byte {
|
||
if x != nil {
|
||
return x.Bitmask
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// Describes a raw Decaf448 public key
|
||
type Decaf448PublicKey struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 56 byte value
|
||
KeyValue []byte `protobuf:"bytes,1,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"`
|
||
}
|
||
|
||
func (x *Decaf448PublicKey) Reset() {
|
||
*x = Decaf448PublicKey{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_keys_proto_msgTypes[13]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *Decaf448PublicKey) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*Decaf448PublicKey) ProtoMessage() {}
|
||
|
||
func (x *Decaf448PublicKey) ProtoReflect() protoreflect.Message {
|
||
mi := &file_keys_proto_msgTypes[13]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use Decaf448PublicKey.ProtoReflect.Descriptor instead.
|
||
func (*Decaf448PublicKey) Descriptor() ([]byte, []int) {
|
||
return file_keys_proto_rawDescGZIP(), []int{13}
|
||
}
|
||
|
||
func (x *Decaf448PublicKey) GetKeyValue() []byte {
|
||
if x != nil {
|
||
return x.KeyValue
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// Describes a raw Decaf448 private key
|
||
type Decaf448PrivateKey struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 56 byte value
|
||
KeyValue []byte `protobuf:"bytes,1,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"`
|
||
PublicKey *Decaf448PublicKey `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
|
||
}
|
||
|
||
func (x *Decaf448PrivateKey) Reset() {
|
||
*x = Decaf448PrivateKey{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_keys_proto_msgTypes[14]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *Decaf448PrivateKey) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*Decaf448PrivateKey) ProtoMessage() {}
|
||
|
||
func (x *Decaf448PrivateKey) ProtoReflect() protoreflect.Message {
|
||
mi := &file_keys_proto_msgTypes[14]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use Decaf448PrivateKey.ProtoReflect.Descriptor instead.
|
||
func (*Decaf448PrivateKey) Descriptor() ([]byte, []int) {
|
||
return file_keys_proto_rawDescGZIP(), []int{14}
|
||
}
|
||
|
||
func (x *Decaf448PrivateKey) GetKeyValue() []byte {
|
||
if x != nil {
|
||
return x.KeyValue
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *Decaf448PrivateKey) GetPublicKey() *Decaf448PublicKey {
|
||
if x != nil {
|
||
return x.PublicKey
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// Describes a Schnorr signature over Decaf448
|
||
type Decaf448Signature struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 112 byte value (56 bytes R + 56 bytes S)
|
||
Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
|
||
PublicKey *Decaf448PublicKey `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
|
||
}
|
||
|
||
func (x *Decaf448Signature) Reset() {
|
||
*x = Decaf448Signature{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_keys_proto_msgTypes[15]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *Decaf448Signature) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*Decaf448Signature) ProtoMessage() {}
|
||
|
||
func (x *Decaf448Signature) ProtoReflect() protoreflect.Message {
|
||
mi := &file_keys_proto_msgTypes[15]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use Decaf448Signature.ProtoReflect.Descriptor instead.
|
||
func (*Decaf448Signature) Descriptor() ([]byte, []int) {
|
||
return file_keys_proto_rawDescGZIP(), []int{15}
|
||
}
|
||
|
||
func (x *Decaf448Signature) GetSignature() []byte {
|
||
if x != nil {
|
||
return x.Signature
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *Decaf448Signature) GetPublicKey() *Decaf448PublicKey {
|
||
if x != nil {
|
||
return x.PublicKey
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// Individual signed key with metadata
|
||
type SignedX448Key struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Key *X448PublicKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
||
// The parent key that signed this
|
||
ParentKeyAddress []byte `protobuf:"bytes,2,opt,name=parent_key_address,json=parentKeyAddress,proto3" json:"parent_key_address,omitempty"`
|
||
// Signature by the parent
|
||
//
|
||
// Types that are assignable to Signature:
|
||
//
|
||
// *SignedX448Key_Ed448Signature
|
||
// *SignedX448Key_BlsSignature
|
||
// *SignedX448Key_DecafSignature
|
||
Signature isSignedX448Key_Signature `protobuf_oneof:"signature"`
|
||
// Metadata
|
||
CreatedAt uint64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
||
// 0 means no expiry
|
||
ExpiresAt uint64 `protobuf:"varint,7,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
|
||
// "view", "spend", "inbox", "device", "pre"
|
||
KeyPurpose string `protobuf:"bytes,8,opt,name=key_purpose,json=keyPurpose,proto3" json:"key_purpose,omitempty"`
|
||
}
|
||
|
||
func (x *SignedX448Key) Reset() {
|
||
*x = SignedX448Key{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_keys_proto_msgTypes[16]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SignedX448Key) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SignedX448Key) ProtoMessage() {}
|
||
|
||
func (x *SignedX448Key) ProtoReflect() protoreflect.Message {
|
||
mi := &file_keys_proto_msgTypes[16]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use SignedX448Key.ProtoReflect.Descriptor instead.
|
||
func (*SignedX448Key) Descriptor() ([]byte, []int) {
|
||
return file_keys_proto_rawDescGZIP(), []int{16}
|
||
}
|
||
|
||
func (x *SignedX448Key) GetKey() *X448PublicKey {
|
||
if x != nil {
|
||
return x.Key
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *SignedX448Key) GetParentKeyAddress() []byte {
|
||
if x != nil {
|
||
return x.ParentKeyAddress
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (m *SignedX448Key) GetSignature() isSignedX448Key_Signature {
|
||
if m != nil {
|
||
return m.Signature
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *SignedX448Key) GetEd448Signature() *Ed448Signature {
|
||
if x, ok := x.GetSignature().(*SignedX448Key_Ed448Signature); ok {
|
||
return x.Ed448Signature
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *SignedX448Key) GetBlsSignature() *BLS48581Signature {
|
||
if x, ok := x.GetSignature().(*SignedX448Key_BlsSignature); ok {
|
||
return x.BlsSignature
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *SignedX448Key) GetDecafSignature() *Decaf448Signature {
|
||
if x, ok := x.GetSignature().(*SignedX448Key_DecafSignature); ok {
|
||
return x.DecafSignature
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *SignedX448Key) GetCreatedAt() uint64 {
|
||
if x != nil {
|
||
return x.CreatedAt
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SignedX448Key) GetExpiresAt() uint64 {
|
||
if x != nil {
|
||
return x.ExpiresAt
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SignedX448Key) GetKeyPurpose() string {
|
||
if x != nil {
|
||
return x.KeyPurpose
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type isSignedX448Key_Signature interface {
|
||
isSignedX448Key_Signature()
|
||
}
|
||
|
||
type SignedX448Key_Ed448Signature struct {
|
||
Ed448Signature *Ed448Signature `protobuf:"bytes,3,opt,name=ed448_signature,json=ed448Signature,proto3,oneof"`
|
||
}
|
||
|
||
type SignedX448Key_BlsSignature struct {
|
||
BlsSignature *BLS48581Signature `protobuf:"bytes,4,opt,name=bls_signature,json=blsSignature,proto3,oneof"`
|
||
}
|
||
|
||
type SignedX448Key_DecafSignature struct {
|
||
DecafSignature *Decaf448Signature `protobuf:"bytes,5,opt,name=decaf_signature,json=decafSignature,proto3,oneof"`
|
||
}
|
||
|
||
func (*SignedX448Key_Ed448Signature) isSignedX448Key_Signature() {}
|
||
|
||
func (*SignedX448Key_BlsSignature) isSignedX448Key_Signature() {}
|
||
|
||
func (*SignedX448Key_DecafSignature) isSignedX448Key_Signature() {}
|
||
|
||
// Individual signed key with metadata
|
||
type SignedDecaf448Key struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
Key *Decaf448PublicKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
||
// The parent key that signed this
|
||
ParentKeyAddress []byte `protobuf:"bytes,2,opt,name=parent_key_address,json=parentKeyAddress,proto3" json:"parent_key_address,omitempty"`
|
||
// Signature by the parent
|
||
//
|
||
// Types that are assignable to Signature:
|
||
//
|
||
// *SignedDecaf448Key_Ed448Signature
|
||
// *SignedDecaf448Key_BlsSignature
|
||
// *SignedDecaf448Key_DecafSignature
|
||
Signature isSignedDecaf448Key_Signature `protobuf_oneof:"signature"`
|
||
// Metadata
|
||
CreatedAt uint64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
||
// 0 means no expiry
|
||
ExpiresAt uint64 `protobuf:"varint,7,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
|
||
// "view", "spend", "inbox", "device", "pre"
|
||
KeyPurpose string `protobuf:"bytes,8,opt,name=key_purpose,json=keyPurpose,proto3" json:"key_purpose,omitempty"`
|
||
}
|
||
|
||
func (x *SignedDecaf448Key) Reset() {
|
||
*x = SignedDecaf448Key{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_keys_proto_msgTypes[17]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SignedDecaf448Key) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SignedDecaf448Key) ProtoMessage() {}
|
||
|
||
func (x *SignedDecaf448Key) ProtoReflect() protoreflect.Message {
|
||
mi := &file_keys_proto_msgTypes[17]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use SignedDecaf448Key.ProtoReflect.Descriptor instead.
|
||
func (*SignedDecaf448Key) Descriptor() ([]byte, []int) {
|
||
return file_keys_proto_rawDescGZIP(), []int{17}
|
||
}
|
||
|
||
func (x *SignedDecaf448Key) GetKey() *Decaf448PublicKey {
|
||
if x != nil {
|
||
return x.Key
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *SignedDecaf448Key) GetParentKeyAddress() []byte {
|
||
if x != nil {
|
||
return x.ParentKeyAddress
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (m *SignedDecaf448Key) GetSignature() isSignedDecaf448Key_Signature {
|
||
if m != nil {
|
||
return m.Signature
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *SignedDecaf448Key) GetEd448Signature() *Ed448Signature {
|
||
if x, ok := x.GetSignature().(*SignedDecaf448Key_Ed448Signature); ok {
|
||
return x.Ed448Signature
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *SignedDecaf448Key) GetBlsSignature() *BLS48581Signature {
|
||
if x, ok := x.GetSignature().(*SignedDecaf448Key_BlsSignature); ok {
|
||
return x.BlsSignature
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *SignedDecaf448Key) GetDecafSignature() *Decaf448Signature {
|
||
if x, ok := x.GetSignature().(*SignedDecaf448Key_DecafSignature); ok {
|
||
return x.DecafSignature
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *SignedDecaf448Key) GetCreatedAt() uint64 {
|
||
if x != nil {
|
||
return x.CreatedAt
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SignedDecaf448Key) GetExpiresAt() uint64 {
|
||
if x != nil {
|
||
return x.ExpiresAt
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SignedDecaf448Key) GetKeyPurpose() string {
|
||
if x != nil {
|
||
return x.KeyPurpose
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type isSignedDecaf448Key_Signature interface {
|
||
isSignedDecaf448Key_Signature()
|
||
}
|
||
|
||
type SignedDecaf448Key_Ed448Signature struct {
|
||
Ed448Signature *Ed448Signature `protobuf:"bytes,3,opt,name=ed448_signature,json=ed448Signature,proto3,oneof"`
|
||
}
|
||
|
||
type SignedDecaf448Key_BlsSignature struct {
|
||
BlsSignature *BLS48581Signature `protobuf:"bytes,4,opt,name=bls_signature,json=blsSignature,proto3,oneof"`
|
||
}
|
||
|
||
type SignedDecaf448Key_DecafSignature struct {
|
||
DecafSignature *Decaf448Signature `protobuf:"bytes,5,opt,name=decaf_signature,json=decafSignature,proto3,oneof"`
|
||
}
|
||
|
||
func (*SignedDecaf448Key_Ed448Signature) isSignedDecaf448Key_Signature() {}
|
||
|
||
func (*SignedDecaf448Key_BlsSignature) isSignedDecaf448Key_Signature() {}
|
||
|
||
func (*SignedDecaf448Key_DecafSignature) isSignedDecaf448Key_Signature() {}
|
||
|
||
// A collection of keys for a specific purpose
|
||
type KeyCollection struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// "view", "spend", "inbox", "device", "pre"
|
||
KeyPurpose string `protobuf:"bytes,1,opt,name=key_purpose,json=keyPurpose,proto3" json:"key_purpose,omitempty"`
|
||
X448Keys []*SignedX448Key `protobuf:"bytes,2,rep,name=x448_keys,json=x448Keys,proto3" json:"x448_keys,omitempty"`
|
||
Decaf448Keys []*SignedDecaf448Key `protobuf:"bytes,3,rep,name=decaf448_keys,json=decaf448Keys,proto3" json:"decaf448_keys,omitempty"`
|
||
}
|
||
|
||
func (x *KeyCollection) Reset() {
|
||
*x = KeyCollection{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_keys_proto_msgTypes[18]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *KeyCollection) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*KeyCollection) ProtoMessage() {}
|
||
|
||
func (x *KeyCollection) ProtoReflect() protoreflect.Message {
|
||
mi := &file_keys_proto_msgTypes[18]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use KeyCollection.ProtoReflect.Descriptor instead.
|
||
func (*KeyCollection) Descriptor() ([]byte, []int) {
|
||
return file_keys_proto_rawDescGZIP(), []int{18}
|
||
}
|
||
|
||
func (x *KeyCollection) GetKeyPurpose() string {
|
||
if x != nil {
|
||
return x.KeyPurpose
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *KeyCollection) GetX448Keys() []*SignedX448Key {
|
||
if x != nil {
|
||
return x.X448Keys
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *KeyCollection) GetDecaf448Keys() []*SignedDecaf448Key {
|
||
if x != nil {
|
||
return x.Decaf448Keys
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// Complete key registry (for querying all keys)
|
||
type KeyRegistry struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// Primary keys
|
||
IdentityKey *Ed448PublicKey `protobuf:"bytes,1,opt,name=identity_key,json=identityKey,proto3" json:"identity_key,omitempty"`
|
||
ProverKey *BLS48581G2PublicKey `protobuf:"bytes,2,opt,name=prover_key,json=proverKey,proto3" json:"prover_key,omitempty"`
|
||
// Cross signatures
|
||
IdentityToProver *Ed448Signature `protobuf:"bytes,3,opt,name=identity_to_prover,json=identityToProver,proto3" json:"identity_to_prover,omitempty"`
|
||
ProverToIdentity *BLS48581Signature `protobuf:"bytes,4,opt,name=prover_to_identity,json=proverToIdentity,proto3" json:"prover_to_identity,omitempty"`
|
||
// All signed keys by purpose
|
||
KeysByPurpose map[string]*KeyCollection `protobuf:"bytes,5,rep,name=keys_by_purpose,json=keysByPurpose,proto3" json:"keys_by_purpose,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||
// Metadata
|
||
LastUpdated uint64 `protobuf:"varint,6,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
|
||
}
|
||
|
||
func (x *KeyRegistry) Reset() {
|
||
*x = KeyRegistry{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_keys_proto_msgTypes[19]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *KeyRegistry) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*KeyRegistry) ProtoMessage() {}
|
||
|
||
func (x *KeyRegistry) ProtoReflect() protoreflect.Message {
|
||
mi := &file_keys_proto_msgTypes[19]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use KeyRegistry.ProtoReflect.Descriptor instead.
|
||
func (*KeyRegistry) Descriptor() ([]byte, []int) {
|
||
return file_keys_proto_rawDescGZIP(), []int{19}
|
||
}
|
||
|
||
func (x *KeyRegistry) GetIdentityKey() *Ed448PublicKey {
|
||
if x != nil {
|
||
return x.IdentityKey
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *KeyRegistry) GetProverKey() *BLS48581G2PublicKey {
|
||
if x != nil {
|
||
return x.ProverKey
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *KeyRegistry) GetIdentityToProver() *Ed448Signature {
|
||
if x != nil {
|
||
return x.IdentityToProver
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *KeyRegistry) GetProverToIdentity() *BLS48581Signature {
|
||
if x != nil {
|
||
return x.ProverToIdentity
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *KeyRegistry) GetKeysByPurpose() map[string]*KeyCollection {
|
||
if x != nil {
|
||
return x.KeysByPurpose
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *KeyRegistry) GetLastUpdated() uint64 {
|
||
if x != nil {
|
||
return x.LastUpdated
|
||
}
|
||
return 0
|
||
}
|
||
|
||
var File_keys_proto protoreflect.FileDescriptor
|
||
|
||
var file_keys_proto_rawDesc = []byte{
|
||
0x0a, 0x0a, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x71, 0x75,
|
||
0x69, 0x6c, 0x69, 0x62, 0x72, 0x69, 0x75, 0x6d, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x6b, 0x65,
|
||
0x79, 0x73, 0x2e, 0x70, 0x62, 0x22, 0x2d, 0x0a, 0x0e, 0x45, 0x64, 0x34, 0x34, 0x38, 0x50, 0x75,
|
||
0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x5f, 0x76,
|
||
0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x56,
|
||
0x61, 0x6c, 0x75, 0x65, 0x22, 0x76, 0x0a, 0x0f, 0x45, 0x64, 0x34, 0x34, 0x38, 0x50, 0x72, 0x69,
|
||
0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x5f, 0x76,
|
||
0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x56,
|
||
0x61, 0x6c, 0x75, 0x65, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b,
|
||
0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x71, 0x75, 0x69, 0x6c, 0x69,
|
||
0x62, 0x72, 0x69, 0x75, 0x6d, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x6b, 0x65, 0x79, 0x73, 0x2e,
|
||
0x70, 0x62, 0x2e, 0x45, 0x64, 0x34, 0x34, 0x38, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65,
|
||
0x79, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x22, 0x76, 0x0a, 0x0e,
|
||
0x45, 0x64, 0x34, 0x34, 0x38, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1c,
|
||
0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||
0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x46, 0x0a, 0x0a,
|
||
0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
|
||
0x32, 0x27, 0x2e, 0x71, 0x75, 0x69, 0x6c, 0x69, 0x62, 0x72, 0x69, 0x75, 0x6d, 0x2e, 0x6e, 0x6f,
|
||
0x64, 0x65, 0x2e, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x45, 0x64, 0x34, 0x34, 0x38,
|
||
0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69,
|
||
0x63, 0x4b, 0x65, 0x79, 0x22, 0x2c, 0x0a, 0x0d, 0x58, 0x34, 0x34, 0x38, 0x50, 0x75, 0x62, 0x6c,
|
||
0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x5f, 0x76, 0x61, 0x6c,
|
||
0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x56, 0x61, 0x6c,
|
||
0x75, 0x65, 0x22, 0x74, 0x0a, 0x0e, 0x58, 0x34, 0x34, 0x38, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74,
|
||
0x65, 0x4b, 0x65, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75,
|
||
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75,
|
||
0x65, 0x12, 0x45, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18,
|
||
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x71, 0x75, 0x69, 0x6c, 0x69, 0x62, 0x72, 0x69,
|
||
0x75, 0x6d, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x70, 0x62, 0x2e,
|
||
0x58, 0x34, 0x34, 0x38, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x09, 0x70,
|
||
0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x22, 0x2c, 0x0a, 0x0d, 0x50, 0x43, 0x41, 0x53,
|
||
0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x6b, 0x65, 0x79,
|
||
0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6b, 0x65,
|
||
0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x74, 0x0a, 0x0e, 0x50, 0x43, 0x41, 0x53, 0x50, 0x72,
|
||
0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x5f,
|
||
0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6b, 0x65, 0x79,
|
||
0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x45, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f,
|
||
0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x71, 0x75, 0x69, 0x6c,
|
||
0x69, 0x62, 0x72, 0x69, 0x75, 0x6d, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x6b, 0x65, 0x79, 0x73,
|
||
0x2e, 0x70, 0x62, 0x2e, 0x50, 0x43, 0x41, 0x53, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65,
|
||
0x79, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x22, 0x32, 0x0a, 0x13,
|
||
0x42, 0x4c, 0x53, 0x34, 0x38, 0x35, 0x38, 0x31, 0x47, 0x32, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63,
|
||
0x4b, 0x65, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
||
0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65,
|
||
0x22, 0x80, 0x01, 0x0a, 0x14, 0x42, 0x4c, 0x53, 0x34, 0x38, 0x35, 0x38, 0x31, 0x47, 0x32, 0x50,
|
||
0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x6b, 0x65, 0x79,
|
||
0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6b, 0x65,
|
||
0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x4b, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63,
|
||
0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x71, 0x75, 0x69,
|
||
0x6c, 0x69, 0x62, 0x72, 0x69, 0x75, 0x6d, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x6b, 0x65, 0x79,
|
||
0x73, 0x2e, 0x70, 0x62, 0x2e, 0x42, 0x4c, 0x53, 0x34, 0x38, 0x35, 0x38, 0x31, 0x47, 0x32, 0x50,
|
||
0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63,
|
||
0x4b, 0x65, 0x79, 0x22, 0x7e, 0x0a, 0x11, 0x42, 0x4c, 0x53, 0x34, 0x38, 0x35, 0x38, 0x31, 0x53,
|
||
0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e,
|
||
0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67,
|
||
0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x4b, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63,
|
||
0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x71, 0x75, 0x69,
|
||
0x6c, 0x69, 0x62, 0x72, 0x69, 0x75, 0x6d, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x6b, 0x65, 0x79,
|
||
0x73, 0x2e, 0x70, 0x62, 0x2e, 0x42, 0x4c, 0x53, 0x34, 0x38, 0x35, 0x38, 0x31, 0x47, 0x32, 0x50,
|
||
0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63,
|
||
0x4b, 0x65, 0x79, 0x22, 0xb8, 0x01, 0x0a, 0x26, 0x42, 0x4c, 0x53, 0x34, 0x38, 0x35, 0x38, 0x31,
|
||
0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x57, 0x69, 0x74, 0x68, 0x50, 0x72, 0x6f,
|
||
0x6f, 0x66, 0x4f, 0x66, 0x50, 0x6f, 0x73, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c,
|
||
0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||
0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x4b, 0x0a, 0x0a,
|
||
0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
|
||
0x32, 0x2c, 0x2e, 0x71, 0x75, 0x69, 0x6c, 0x69, 0x62, 0x72, 0x69, 0x75, 0x6d, 0x2e, 0x6e, 0x6f,
|
||
0x64, 0x65, 0x2e, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x42, 0x4c, 0x53, 0x34, 0x38,
|
||
0x35, 0x38, 0x31, 0x47, 0x32, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x09,
|
||
0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x6f, 0x70,
|
||
0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c,
|
||
0x52, 0x0c, 0x70, 0x6f, 0x70, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x54,
|
||
0x0a, 0x1a, 0x42, 0x4c, 0x53, 0x34, 0x38, 0x35, 0x38, 0x31, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73,
|
||
0x73, 0x65, 0x64, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1c, 0x0a, 0x09,
|
||
0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52,
|
||
0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64,
|
||
0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64,
|
||
0x72, 0x65, 0x73, 0x73, 0x22, 0xa1, 0x01, 0x0a, 0x1a, 0x42, 0x4c, 0x53, 0x34, 0x38, 0x35, 0x38,
|
||
0x31, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74,
|
||
0x75, 0x72, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65,
|
||
0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72,
|
||
0x65, 0x12, 0x4b, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18,
|
||
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x71, 0x75, 0x69, 0x6c, 0x69, 0x62, 0x72, 0x69,
|
||
0x75, 0x6d, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x70, 0x62, 0x2e,
|
||
0x42, 0x4c, 0x53, 0x34, 0x38, 0x35, 0x38, 0x31, 0x47, 0x32, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63,
|
||
0x4b, 0x65, 0x79, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x18,
|
||
0x0a, 0x07, 0x62, 0x69, 0x74, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52,
|
||
0x07, 0x62, 0x69, 0x74, 0x6d, 0x61, 0x73, 0x6b, 0x22, 0x30, 0x0a, 0x11, 0x44, 0x65, 0x63, 0x61,
|
||
0x66, 0x34, 0x34, 0x38, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x1b, 0x0a,
|
||
0x09, 0x6b, 0x65, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c,
|
||
0x52, 0x08, 0x6b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x7c, 0x0a, 0x12, 0x44, 0x65,
|
||
0x63, 0x61, 0x66, 0x34, 0x34, 0x38, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79,
|
||
0x12, 0x1b, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20,
|
||
0x01, 0x28, 0x0c, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x49, 0x0a,
|
||
0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||
0x0b, 0x32, 0x2a, 0x2e, 0x71, 0x75, 0x69, 0x6c, 0x69, 0x62, 0x72, 0x69, 0x75, 0x6d, 0x2e, 0x6e,
|
||
0x6f, 0x64, 0x65, 0x2e, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x63, 0x61,
|
||
0x66, 0x34, 0x34, 0x38, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x09, 0x70,
|
||
0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x22, 0x7c, 0x0a, 0x11, 0x44, 0x65, 0x63, 0x61,
|
||
0x66, 0x34, 0x34, 0x38, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1c, 0x0a,
|
||
0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c,
|
||
0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x49, 0x0a, 0x0a, 0x70,
|
||
0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||
0x2a, 0x2e, 0x71, 0x75, 0x69, 0x6c, 0x69, 0x62, 0x72, 0x69, 0x75, 0x6d, 0x2e, 0x6e, 0x6f, 0x64,
|
||
0x65, 0x2e, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x63, 0x61, 0x66, 0x34,
|
||
0x34, 0x38, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x09, 0x70, 0x75, 0x62,
|
||
0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x22, 0xe1, 0x03, 0x0a, 0x0d, 0x53, 0x69, 0x67, 0x6e, 0x65,
|
||
0x64, 0x58, 0x34, 0x34, 0x38, 0x4b, 0x65, 0x79, 0x12, 0x38, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
|
||
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x71, 0x75, 0x69, 0x6c, 0x69, 0x62, 0x72, 0x69,
|
||
0x75, 0x6d, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x70, 0x62, 0x2e,
|
||
0x58, 0x34, 0x34, 0x38, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b,
|
||
0x65, 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6b, 0x65, 0x79,
|
||
0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10,
|
||
0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
|
||
0x12, 0x52, 0x0a, 0x0f, 0x65, 0x64, 0x34, 0x34, 0x38, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74,
|
||
0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x71, 0x75, 0x69, 0x6c,
|
||
0x69, 0x62, 0x72, 0x69, 0x75, 0x6d, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x6b, 0x65, 0x79, 0x73,
|
||
0x2e, 0x70, 0x62, 0x2e, 0x45, 0x64, 0x34, 0x34, 0x38, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75,
|
||
0x72, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x65, 0x64, 0x34, 0x34, 0x38, 0x53, 0x69, 0x67, 0x6e, 0x61,
|
||
0x74, 0x75, 0x72, 0x65, 0x12, 0x51, 0x0a, 0x0d, 0x62, 0x6c, 0x73, 0x5f, 0x73, 0x69, 0x67, 0x6e,
|
||
0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x71, 0x75,
|
||
0x69, 0x6c, 0x69, 0x62, 0x72, 0x69, 0x75, 0x6d, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x6b, 0x65,
|
||
0x79, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x42, 0x4c, 0x53, 0x34, 0x38, 0x35, 0x38, 0x31, 0x53, 0x69,
|
||
0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x48, 0x00, 0x52, 0x0c, 0x62, 0x6c, 0x73, 0x53, 0x69,
|
||
0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x55, 0x0a, 0x0f, 0x64, 0x65, 0x63, 0x61, 0x66,
|
||
0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
|
||
0x32, 0x2a, 0x2e, 0x71, 0x75, 0x69, 0x6c, 0x69, 0x62, 0x72, 0x69, 0x75, 0x6d, 0x2e, 0x6e, 0x6f,
|
||
0x64, 0x65, 0x2e, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x63, 0x61, 0x66,
|
||
0x34, 0x34, 0x38, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x48, 0x00, 0x52, 0x0e,
|
||
0x64, 0x65, 0x63, 0x61, 0x66, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1d,
|
||
0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01,
|
||
0x28, 0x04, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a,
|
||
0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28,
|
||
0x04, 0x52, 0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x41, 0x74, 0x12, 0x1f, 0x0a, 0x0b,
|
||
0x6b, 0x65, 0x79, 0x5f, 0x70, 0x75, 0x72, 0x70, 0x6f, 0x73, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28,
|
||
0x09, 0x52, 0x0a, 0x6b, 0x65, 0x79, 0x50, 0x75, 0x72, 0x70, 0x6f, 0x73, 0x65, 0x42, 0x0b, 0x0a,
|
||
0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0xe9, 0x03, 0x0a, 0x11, 0x53,
|
||
0x69, 0x67, 0x6e, 0x65, 0x64, 0x44, 0x65, 0x63, 0x61, 0x66, 0x34, 0x34, 0x38, 0x4b, 0x65, 0x79,
|
||
0x12, 0x3c, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e,
|
||
0x71, 0x75, 0x69, 0x6c, 0x69, 0x62, 0x72, 0x69, 0x75, 0x6d, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e,
|
||
0x6b, 0x65, 0x79, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x63, 0x61, 0x66, 0x34, 0x34, 0x38,
|
||
0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c,
|
||
0x0a, 0x12, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x61, 0x64, 0x64,
|
||
0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x70, 0x61, 0x72, 0x65,
|
||
0x6e, 0x74, 0x4b, 0x65, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x52, 0x0a, 0x0f,
|
||
0x65, 0x64, 0x34, 0x34, 0x38, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18,
|
||
0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x71, 0x75, 0x69, 0x6c, 0x69, 0x62, 0x72, 0x69,
|
||
0x75, 0x6d, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x70, 0x62, 0x2e,
|
||
0x45, 0x64, 0x34, 0x34, 0x38, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x48, 0x00,
|
||
0x52, 0x0e, 0x65, 0x64, 0x34, 0x34, 0x38, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65,
|
||
0x12, 0x51, 0x0a, 0x0d, 0x62, 0x6c, 0x73, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72,
|
||
0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x71, 0x75, 0x69, 0x6c, 0x69, 0x62,
|
||
0x72, 0x69, 0x75, 0x6d, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x70,
|
||
0x62, 0x2e, 0x42, 0x4c, 0x53, 0x34, 0x38, 0x35, 0x38, 0x31, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74,
|
||
0x75, 0x72, 0x65, 0x48, 0x00, 0x52, 0x0c, 0x62, 0x6c, 0x73, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74,
|
||
0x75, 0x72, 0x65, 0x12, 0x55, 0x0a, 0x0f, 0x64, 0x65, 0x63, 0x61, 0x66, 0x5f, 0x73, 0x69, 0x67,
|
||
0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x71,
|
||
0x75, 0x69, 0x6c, 0x69, 0x62, 0x72, 0x69, 0x75, 0x6d, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x6b,
|
||
0x65, 0x79, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x63, 0x61, 0x66, 0x34, 0x34, 0x38, 0x53,
|
||
0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x64, 0x65, 0x63, 0x61,
|
||
0x66, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72,
|
||
0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09,
|
||
0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x78, 0x70,
|
||
0x69, 0x72, 0x65, 0x73, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x65,
|
||
0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x41, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6b, 0x65, 0x79, 0x5f,
|
||
0x70, 0x75, 0x72, 0x70, 0x6f, 0x73, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6b,
|
||
0x65, 0x79, 0x50, 0x75, 0x72, 0x70, 0x6f, 0x73, 0x65, 0x42, 0x0b, 0x0a, 0x09, 0x73, 0x69, 0x67,
|
||
0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0xc6, 0x01, 0x0a, 0x0d, 0x4b, 0x65, 0x79, 0x43, 0x6f,
|
||
0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x6b, 0x65, 0x79, 0x5f,
|
||
0x70, 0x75, 0x72, 0x70, 0x6f, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6b,
|
||
0x65, 0x79, 0x50, 0x75, 0x72, 0x70, 0x6f, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x09, 0x78, 0x34, 0x34,
|
||
0x38, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x71,
|
||
0x75, 0x69, 0x6c, 0x69, 0x62, 0x72, 0x69, 0x75, 0x6d, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x6b,
|
||
0x65, 0x79, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x58, 0x34, 0x34,
|
||
0x38, 0x4b, 0x65, 0x79, 0x52, 0x08, 0x78, 0x34, 0x34, 0x38, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x4f,
|
||
0x0a, 0x0d, 0x64, 0x65, 0x63, 0x61, 0x66, 0x34, 0x34, 0x38, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18,
|
||
0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x71, 0x75, 0x69, 0x6c, 0x69, 0x62, 0x72, 0x69,
|
||
0x75, 0x6d, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x70, 0x62, 0x2e,
|
||
0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x44, 0x65, 0x63, 0x61, 0x66, 0x34, 0x34, 0x38, 0x4b, 0x65,
|
||
0x79, 0x52, 0x0c, 0x64, 0x65, 0x63, 0x61, 0x66, 0x34, 0x34, 0x38, 0x4b, 0x65, 0x79, 0x73, 0x22,
|
||
0xc5, 0x04, 0x0a, 0x0b, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x12,
|
||
0x4a, 0x0a, 0x0c, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x18,
|
||
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x71, 0x75, 0x69, 0x6c, 0x69, 0x62, 0x72, 0x69,
|
||
0x75, 0x6d, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x70, 0x62, 0x2e,
|
||
0x45, 0x64, 0x34, 0x34, 0x38, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x0b,
|
||
0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4b, 0x65, 0x79, 0x12, 0x4b, 0x0a, 0x0a, 0x70,
|
||
0x72, 0x6f, 0x76, 0x65, 0x72, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||
0x2c, 0x2e, 0x71, 0x75, 0x69, 0x6c, 0x69, 0x62, 0x72, 0x69, 0x75, 0x6d, 0x2e, 0x6e, 0x6f, 0x64,
|
||
0x65, 0x2e, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x42, 0x4c, 0x53, 0x34, 0x38, 0x35,
|
||
0x38, 0x31, 0x47, 0x32, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x09, 0x70,
|
||
0x72, 0x6f, 0x76, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x12, 0x55, 0x0a, 0x12, 0x69, 0x64, 0x65, 0x6e,
|
||
0x74, 0x69, 0x74, 0x79, 0x5f, 0x74, 0x6f, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x72, 0x18, 0x03,
|
||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x71, 0x75, 0x69, 0x6c, 0x69, 0x62, 0x72, 0x69, 0x75,
|
||
0x6d, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x45,
|
||
0x64, 0x34, 0x34, 0x38, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x10, 0x69,
|
||
0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x54, 0x6f, 0x50, 0x72, 0x6f, 0x76, 0x65, 0x72, 0x12,
|
||
0x58, 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x72, 0x5f, 0x74, 0x6f, 0x5f, 0x69, 0x64, 0x65,
|
||
0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x71, 0x75,
|
||
0x69, 0x6c, 0x69, 0x62, 0x72, 0x69, 0x75, 0x6d, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x6b, 0x65,
|
||
0x79, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x42, 0x4c, 0x53, 0x34, 0x38, 0x35, 0x38, 0x31, 0x53, 0x69,
|
||
0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x10, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x72, 0x54,
|
||
0x6f, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x5f, 0x0a, 0x0f, 0x6b, 0x65, 0x79,
|
||
0x73, 0x5f, 0x62, 0x79, 0x5f, 0x70, 0x75, 0x72, 0x70, 0x6f, 0x73, 0x65, 0x18, 0x05, 0x20, 0x03,
|
||
0x28, 0x0b, 0x32, 0x37, 0x2e, 0x71, 0x75, 0x69, 0x6c, 0x69, 0x62, 0x72, 0x69, 0x75, 0x6d, 0x2e,
|
||
0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x4b, 0x65, 0x79,
|
||
0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x42, 0x79, 0x50,
|
||
0x75, 0x72, 0x70, 0x6f, 0x73, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x6b, 0x65, 0x79,
|
||
0x73, 0x42, 0x79, 0x50, 0x75, 0x72, 0x70, 0x6f, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6c, 0x61,
|
||
0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04,
|
||
0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x1a, 0x68, 0x0a,
|
||
0x12, 0x4b, 0x65, 0x79, 0x73, 0x42, 0x79, 0x50, 0x75, 0x72, 0x70, 0x6f, 0x73, 0x65, 0x45, 0x6e,
|
||
0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
||
0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
|
||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x71, 0x75, 0x69, 0x6c, 0x69, 0x62, 0x72, 0x69, 0x75,
|
||
0x6d, 0x2e, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x4b,
|
||
0x65, 0x79, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x76, 0x61,
|
||
0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x3a, 0x5a, 0x38, 0x73, 0x6f, 0x75, 0x72, 0x63,
|
||
0x65, 0x2e, 0x71, 0x75, 0x69, 0x6c, 0x69, 0x62, 0x72, 0x69, 0x75, 0x6d, 0x2e, 0x63, 0x6f, 0x6d,
|
||
0x2f, 0x71, 0x75, 0x69, 0x6c, 0x69, 0x62, 0x72, 0x69, 0x75, 0x6d, 0x2f, 0x6d, 0x6f, 0x6e, 0x6f,
|
||
0x72, 0x65, 0x70, 0x6f, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
|
||
0x75, 0x66, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||
}
|
||
|
||
var (
|
||
file_keys_proto_rawDescOnce sync.Once
|
||
file_keys_proto_rawDescData = file_keys_proto_rawDesc
|
||
)
|
||
|
||
func file_keys_proto_rawDescGZIP() []byte {
|
||
file_keys_proto_rawDescOnce.Do(func() {
|
||
file_keys_proto_rawDescData = protoimpl.X.CompressGZIP(file_keys_proto_rawDescData)
|
||
})
|
||
return file_keys_proto_rawDescData
|
||
}
|
||
|
||
var file_keys_proto_msgTypes = make([]protoimpl.MessageInfo, 21)
|
||
var file_keys_proto_goTypes = []interface{}{
|
||
(*Ed448PublicKey)(nil), // 0: quilibrium.node.keys.pb.Ed448PublicKey
|
||
(*Ed448PrivateKey)(nil), // 1: quilibrium.node.keys.pb.Ed448PrivateKey
|
||
(*Ed448Signature)(nil), // 2: quilibrium.node.keys.pb.Ed448Signature
|
||
(*X448PublicKey)(nil), // 3: quilibrium.node.keys.pb.X448PublicKey
|
||
(*X448PrivateKey)(nil), // 4: quilibrium.node.keys.pb.X448PrivateKey
|
||
(*PCASPublicKey)(nil), // 5: quilibrium.node.keys.pb.PCASPublicKey
|
||
(*PCASPrivateKey)(nil), // 6: quilibrium.node.keys.pb.PCASPrivateKey
|
||
(*BLS48581G2PublicKey)(nil), // 7: quilibrium.node.keys.pb.BLS48581G2PublicKey
|
||
(*BLS48581G2PrivateKey)(nil), // 8: quilibrium.node.keys.pb.BLS48581G2PrivateKey
|
||
(*BLS48581Signature)(nil), // 9: quilibrium.node.keys.pb.BLS48581Signature
|
||
(*BLS48581SignatureWithProofOfPossession)(nil), // 10: quilibrium.node.keys.pb.BLS48581SignatureWithProofOfPossession
|
||
(*BLS48581AddressedSignature)(nil), // 11: quilibrium.node.keys.pb.BLS48581AddressedSignature
|
||
(*BLS48581AggregateSignature)(nil), // 12: quilibrium.node.keys.pb.BLS48581AggregateSignature
|
||
(*Decaf448PublicKey)(nil), // 13: quilibrium.node.keys.pb.Decaf448PublicKey
|
||
(*Decaf448PrivateKey)(nil), // 14: quilibrium.node.keys.pb.Decaf448PrivateKey
|
||
(*Decaf448Signature)(nil), // 15: quilibrium.node.keys.pb.Decaf448Signature
|
||
(*SignedX448Key)(nil), // 16: quilibrium.node.keys.pb.SignedX448Key
|
||
(*SignedDecaf448Key)(nil), // 17: quilibrium.node.keys.pb.SignedDecaf448Key
|
||
(*KeyCollection)(nil), // 18: quilibrium.node.keys.pb.KeyCollection
|
||
(*KeyRegistry)(nil), // 19: quilibrium.node.keys.pb.KeyRegistry
|
||
nil, // 20: quilibrium.node.keys.pb.KeyRegistry.KeysByPurposeEntry
|
||
}
|
||
var file_keys_proto_depIdxs = []int32{
|
||
0, // 0: quilibrium.node.keys.pb.Ed448PrivateKey.public_key:type_name -> quilibrium.node.keys.pb.Ed448PublicKey
|
||
0, // 1: quilibrium.node.keys.pb.Ed448Signature.public_key:type_name -> quilibrium.node.keys.pb.Ed448PublicKey
|
||
3, // 2: quilibrium.node.keys.pb.X448PrivateKey.public_key:type_name -> quilibrium.node.keys.pb.X448PublicKey
|
||
5, // 3: quilibrium.node.keys.pb.PCASPrivateKey.public_key:type_name -> quilibrium.node.keys.pb.PCASPublicKey
|
||
7, // 4: quilibrium.node.keys.pb.BLS48581G2PrivateKey.public_key:type_name -> quilibrium.node.keys.pb.BLS48581G2PublicKey
|
||
7, // 5: quilibrium.node.keys.pb.BLS48581Signature.public_key:type_name -> quilibrium.node.keys.pb.BLS48581G2PublicKey
|
||
7, // 6: quilibrium.node.keys.pb.BLS48581SignatureWithProofOfPossession.public_key:type_name -> quilibrium.node.keys.pb.BLS48581G2PublicKey
|
||
7, // 7: quilibrium.node.keys.pb.BLS48581AggregateSignature.public_key:type_name -> quilibrium.node.keys.pb.BLS48581G2PublicKey
|
||
13, // 8: quilibrium.node.keys.pb.Decaf448PrivateKey.public_key:type_name -> quilibrium.node.keys.pb.Decaf448PublicKey
|
||
13, // 9: quilibrium.node.keys.pb.Decaf448Signature.public_key:type_name -> quilibrium.node.keys.pb.Decaf448PublicKey
|
||
3, // 10: quilibrium.node.keys.pb.SignedX448Key.key:type_name -> quilibrium.node.keys.pb.X448PublicKey
|
||
2, // 11: quilibrium.node.keys.pb.SignedX448Key.ed448_signature:type_name -> quilibrium.node.keys.pb.Ed448Signature
|
||
9, // 12: quilibrium.node.keys.pb.SignedX448Key.bls_signature:type_name -> quilibrium.node.keys.pb.BLS48581Signature
|
||
15, // 13: quilibrium.node.keys.pb.SignedX448Key.decaf_signature:type_name -> quilibrium.node.keys.pb.Decaf448Signature
|
||
13, // 14: quilibrium.node.keys.pb.SignedDecaf448Key.key:type_name -> quilibrium.node.keys.pb.Decaf448PublicKey
|
||
2, // 15: quilibrium.node.keys.pb.SignedDecaf448Key.ed448_signature:type_name -> quilibrium.node.keys.pb.Ed448Signature
|
||
9, // 16: quilibrium.node.keys.pb.SignedDecaf448Key.bls_signature:type_name -> quilibrium.node.keys.pb.BLS48581Signature
|
||
15, // 17: quilibrium.node.keys.pb.SignedDecaf448Key.decaf_signature:type_name -> quilibrium.node.keys.pb.Decaf448Signature
|
||
16, // 18: quilibrium.node.keys.pb.KeyCollection.x448_keys:type_name -> quilibrium.node.keys.pb.SignedX448Key
|
||
17, // 19: quilibrium.node.keys.pb.KeyCollection.decaf448_keys:type_name -> quilibrium.node.keys.pb.SignedDecaf448Key
|
||
0, // 20: quilibrium.node.keys.pb.KeyRegistry.identity_key:type_name -> quilibrium.node.keys.pb.Ed448PublicKey
|
||
7, // 21: quilibrium.node.keys.pb.KeyRegistry.prover_key:type_name -> quilibrium.node.keys.pb.BLS48581G2PublicKey
|
||
2, // 22: quilibrium.node.keys.pb.KeyRegistry.identity_to_prover:type_name -> quilibrium.node.keys.pb.Ed448Signature
|
||
9, // 23: quilibrium.node.keys.pb.KeyRegistry.prover_to_identity:type_name -> quilibrium.node.keys.pb.BLS48581Signature
|
||
20, // 24: quilibrium.node.keys.pb.KeyRegistry.keys_by_purpose:type_name -> quilibrium.node.keys.pb.KeyRegistry.KeysByPurposeEntry
|
||
18, // 25: quilibrium.node.keys.pb.KeyRegistry.KeysByPurposeEntry.value:type_name -> quilibrium.node.keys.pb.KeyCollection
|
||
26, // [26:26] is the sub-list for method output_type
|
||
26, // [26:26] is the sub-list for method input_type
|
||
26, // [26:26] is the sub-list for extension type_name
|
||
26, // [26:26] is the sub-list for extension extendee
|
||
0, // [0:26] is the sub-list for field type_name
|
||
}
|
||
|
||
func init() { file_keys_proto_init() }
|
||
func file_keys_proto_init() {
|
||
if File_keys_proto != nil {
|
||
return
|
||
}
|
||
if !protoimpl.UnsafeEnabled {
|
||
file_keys_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*Ed448PublicKey); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_keys_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*Ed448PrivateKey); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_keys_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*Ed448Signature); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_keys_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*X448PublicKey); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_keys_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*X448PrivateKey); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_keys_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*PCASPublicKey); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_keys_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*PCASPrivateKey); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_keys_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*BLS48581G2PublicKey); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_keys_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*BLS48581G2PrivateKey); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_keys_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*BLS48581Signature); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_keys_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*BLS48581SignatureWithProofOfPossession); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_keys_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*BLS48581AddressedSignature); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_keys_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*BLS48581AggregateSignature); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_keys_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*Decaf448PublicKey); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_keys_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*Decaf448PrivateKey); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_keys_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*Decaf448Signature); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_keys_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SignedX448Key); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_keys_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SignedDecaf448Key); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_keys_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*KeyCollection); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_keys_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*KeyRegistry); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
}
|
||
file_keys_proto_msgTypes[16].OneofWrappers = []interface{}{
|
||
(*SignedX448Key_Ed448Signature)(nil),
|
||
(*SignedX448Key_BlsSignature)(nil),
|
||
(*SignedX448Key_DecafSignature)(nil),
|
||
}
|
||
file_keys_proto_msgTypes[17].OneofWrappers = []interface{}{
|
||
(*SignedDecaf448Key_Ed448Signature)(nil),
|
||
(*SignedDecaf448Key_BlsSignature)(nil),
|
||
(*SignedDecaf448Key_DecafSignature)(nil),
|
||
}
|
||
type x struct{}
|
||
out := protoimpl.TypeBuilder{
|
||
File: protoimpl.DescBuilder{
|
||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
RawDescriptor: file_keys_proto_rawDesc,
|
||
NumEnums: 0,
|
||
NumMessages: 21,
|
||
NumExtensions: 0,
|
||
NumServices: 0,
|
||
},
|
||
GoTypes: file_keys_proto_goTypes,
|
||
DependencyIndexes: file_keys_proto_depIdxs,
|
||
MessageInfos: file_keys_proto_msgTypes,
|
||
}.Build()
|
||
File_keys_proto = out.File
|
||
file_keys_proto_rawDesc = nil
|
||
file_keys_proto_goTypes = nil
|
||
file_keys_proto_depIdxs = nil
|
||
}
|