Documentation
¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Variables
- type ActivePublicKey
- func (*ActivePublicKey) Descriptor() ([]byte, []int)deprecated
- func (x *ActivePublicKey) GetCreator() string
- func (x *ActivePublicKey) GetExpiry() uint64
- func (x *ActivePublicKey) GetPublicKey() string
- func (*ActivePublicKey) ProtoMessage()
- func (x *ActivePublicKey) ProtoReflect() protoreflect.Message
- func (x *ActivePublicKey) Reset()
- func (x *ActivePublicKey) String() string
- type GetDecryptionKey
- func (*GetDecryptionKey) Descriptor() ([]byte, []int)deprecated
- func (x *GetDecryptionKey) GetIdentity() string
- func (x *GetDecryptionKey) GetIsGovernanceProposal() bool
- func (x *GetDecryptionKey) GetProposalId() string
- func (*GetDecryptionKey) ProtoMessage()
- func (x *GetDecryptionKey) ProtoReflect() protoreflect.Message
- func (x *GetDecryptionKey) Reset()
- func (x *GetDecryptionKey) String() string
- type GetDecryptionKeyResponse
- type GetPrivateDecryptionKey
- func (*GetPrivateDecryptionKey) Descriptor() ([]byte, []int)deprecated
- func (x *GetPrivateDecryptionKey) GetIdentity() string
- func (x *GetPrivateDecryptionKey) GetRequester() string
- func (x *GetPrivateDecryptionKey) GetSecpPubkey() string
- func (*GetPrivateDecryptionKey) ProtoMessage()
- func (x *GetPrivateDecryptionKey) ProtoReflect() protoreflect.Message
- func (x *GetPrivateDecryptionKey) Reset()
- func (x *GetPrivateDecryptionKey) String() string
- type GetPrivateDecryptionKeyResponse
- func (*GetPrivateDecryptionKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPrivateDecryptionKeyResponse) GetPubkey() string
- func (*GetPrivateDecryptionKeyResponse) ProtoMessage()
- func (x *GetPrivateDecryptionKeyResponse) ProtoReflect() protoreflect.Message
- func (x *GetPrivateDecryptionKeyResponse) Reset()
- func (x *GetPrivateDecryptionKeyResponse) String() string
- type IndexedEncryptedKeyshare
- func (*IndexedEncryptedKeyshare) Descriptor() ([]byte, []int)deprecated
- func (x *IndexedEncryptedKeyshare) GetEncryptedKeyshareIndex() uint64
- func (x *IndexedEncryptedKeyshare) GetEncryptedKeyshareValue() string
- func (*IndexedEncryptedKeyshare) ProtoMessage()
- func (x *IndexedEncryptedKeyshare) ProtoReflect() protoreflect.Message
- func (x *IndexedEncryptedKeyshare) Reset()
- func (x *IndexedEncryptedKeyshare) String() string
- type PrivateDecryptionKey
- func (*PrivateDecryptionKey) Descriptor() ([]byte, []int)deprecated
- func (x *PrivateDecryptionKey) GetPrivateKeyshares() []*IndexedEncryptedKeyshare
- func (x *PrivateDecryptionKey) GetRequester() string
- func (*PrivateDecryptionKey) ProtoMessage()
- func (x *PrivateDecryptionKey) ProtoReflect() protoreflect.Message
- func (x *PrivateDecryptionKey) Reset()
- func (x *PrivateDecryptionKey) String() string
- type QueuedPublicKey
- func (*QueuedPublicKey) Descriptor() ([]byte, []int)deprecated
- func (x *QueuedPublicKey) GetCreator() string
- func (x *QueuedPublicKey) GetExpiry() uint64
- func (x *QueuedPublicKey) GetPublicKey() string
- func (*QueuedPublicKey) ProtoMessage()
- func (x *QueuedPublicKey) ProtoReflect() protoreflect.Message
- func (x *QueuedPublicKey) Reset()
- func (x *QueuedPublicKey) String() string
- type RequestDecryptionKey
- func (*RequestDecryptionKey) Descriptor() ([]byte, []int)deprecated
- func (x *RequestDecryptionKey) GetCreator() string
- func (x *RequestDecryptionKey) GetEstimatedDelay() *durationpb.Duration
- func (x *RequestDecryptionKey) GetId() isRequestDecryptionKey_Id
- func (x *RequestDecryptionKey) GetIdentity() string
- func (x *RequestDecryptionKey) GetProposalId() string
- func (*RequestDecryptionKey) ProtoMessage()
- func (x *RequestDecryptionKey) ProtoReflect() protoreflect.Message
- func (x *RequestDecryptionKey) Reset()
- func (x *RequestDecryptionKey) String() string
- type RequestDecryptionKeyResponse
- func (*RequestDecryptionKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RequestDecryptionKeyResponse) GetIdentity() string
- func (x *RequestDecryptionKeyResponse) GetPubkey() string
- func (*RequestDecryptionKeyResponse) ProtoMessage()
- func (x *RequestDecryptionKeyResponse) ProtoReflect() protoreflect.Message
- func (x *RequestDecryptionKeyResponse) Reset()
- func (x *RequestDecryptionKeyResponse) String() string
- type RequestDecryptionKey_Identity
- type RequestDecryptionKey_ProposalId
- type RequestPrivateDecryptionKey
- func (*RequestPrivateDecryptionKey) Descriptor() ([]byte, []int)deprecated
- func (x *RequestPrivateDecryptionKey) GetCreator() string
- func (x *RequestPrivateDecryptionKey) GetIdentity() string
- func (*RequestPrivateDecryptionKey) ProtoMessage()
- func (x *RequestPrivateDecryptionKey) ProtoReflect() protoreflect.Message
- func (x *RequestPrivateDecryptionKey) Reset()
- func (x *RequestPrivateDecryptionKey) String() string
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type ActivePublicKey ¶ added in v0.6.0
type ActivePublicKey struct {
PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
Expiry uint64 `protobuf:"varint,3,opt,name=expiry,proto3" json:"expiry,omitempty"`
// contains filtered or unexported fields
}
ActivePublicKey defines the pubkey currently in use
func (*ActivePublicKey) Descriptor
deprecated
added in
v0.6.0
func (*ActivePublicKey) Descriptor() ([]byte, []int)
Deprecated: Use ActivePublicKey.ProtoReflect.Descriptor instead.
func (*ActivePublicKey) GetCreator ¶ added in v0.6.0
func (x *ActivePublicKey) GetCreator() string
func (*ActivePublicKey) GetExpiry ¶ added in v0.6.0
func (x *ActivePublicKey) GetExpiry() uint64
func (*ActivePublicKey) GetPublicKey ¶ added in v0.6.0
func (x *ActivePublicKey) GetPublicKey() string
func (*ActivePublicKey) ProtoMessage ¶ added in v0.6.0
func (*ActivePublicKey) ProtoMessage()
func (*ActivePublicKey) ProtoReflect ¶ added in v0.6.0
func (x *ActivePublicKey) ProtoReflect() protoreflect.Message
func (*ActivePublicKey) Reset ¶ added in v0.6.0
func (x *ActivePublicKey) Reset()
func (*ActivePublicKey) String ¶ added in v0.6.0
func (x *ActivePublicKey) String() string
type GetDecryptionKey ¶ added in v0.10.0
type GetDecryptionKey struct {
IsGovernanceProposal bool `protobuf:"varint,1,opt,name=is_governance_proposal,json=isGovernanceProposal,proto3" json:"is_governance_proposal,omitempty"`
ProposalId string `protobuf:"bytes,2,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"`
Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"`
// contains filtered or unexported fields
}
GetDecryptionKey defines a struct for the data payload
func (*GetDecryptionKey) Descriptor
deprecated
added in
v0.10.0
func (*GetDecryptionKey) Descriptor() ([]byte, []int)
Deprecated: Use GetDecryptionKey.ProtoReflect.Descriptor instead.
func (*GetDecryptionKey) GetIdentity ¶ added in v0.10.0
func (x *GetDecryptionKey) GetIdentity() string
func (*GetDecryptionKey) GetIsGovernanceProposal ¶ added in v0.10.2
func (x *GetDecryptionKey) GetIsGovernanceProposal() bool
func (*GetDecryptionKey) GetProposalId ¶ added in v0.10.0
func (x *GetDecryptionKey) GetProposalId() string
func (*GetDecryptionKey) ProtoMessage ¶ added in v0.10.0
func (*GetDecryptionKey) ProtoMessage()
func (*GetDecryptionKey) ProtoReflect ¶ added in v0.10.0
func (x *GetDecryptionKey) ProtoReflect() protoreflect.Message
func (*GetDecryptionKey) Reset ¶ added in v0.10.0
func (x *GetDecryptionKey) Reset()
func (*GetDecryptionKey) String ¶ added in v0.10.0
func (x *GetDecryptionKey) String() string
type GetDecryptionKeyResponse ¶ added in v0.10.0
type GetDecryptionKeyResponse struct {
// contains filtered or unexported fields
}
GetDecryptionKeyResponse defines the response to the GetDecryptionKey message
func (*GetDecryptionKeyResponse) Descriptor
deprecated
added in
v0.10.0
func (*GetDecryptionKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDecryptionKeyResponse.ProtoReflect.Descriptor instead.
func (*GetDecryptionKeyResponse) ProtoMessage ¶ added in v0.10.0
func (*GetDecryptionKeyResponse) ProtoMessage()
func (*GetDecryptionKeyResponse) ProtoReflect ¶ added in v0.10.0
func (x *GetDecryptionKeyResponse) ProtoReflect() protoreflect.Message
func (*GetDecryptionKeyResponse) Reset ¶ added in v0.10.0
func (x *GetDecryptionKeyResponse) Reset()
func (*GetDecryptionKeyResponse) String ¶ added in v0.10.0
func (x *GetDecryptionKeyResponse) String() string
type GetPrivateDecryptionKey ¶ added in v0.10.0
type GetPrivateDecryptionKey struct {
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
Requester string `protobuf:"bytes,2,opt,name=requester,proto3" json:"requester,omitempty"`
SecpPubkey string `protobuf:"bytes,3,opt,name=secp_pubkey,json=secpPubkey,proto3" json:"secp_pubkey,omitempty"`
// contains filtered or unexported fields
}
GetPrivateDecryptionKey defines a struct for the data payload
func (*GetPrivateDecryptionKey) Descriptor
deprecated
added in
v0.10.0
func (*GetPrivateDecryptionKey) Descriptor() ([]byte, []int)
Deprecated: Use GetPrivateDecryptionKey.ProtoReflect.Descriptor instead.
func (*GetPrivateDecryptionKey) GetIdentity ¶ added in v0.10.0
func (x *GetPrivateDecryptionKey) GetIdentity() string
func (*GetPrivateDecryptionKey) GetRequester ¶ added in v0.10.0
func (x *GetPrivateDecryptionKey) GetRequester() string
func (*GetPrivateDecryptionKey) GetSecpPubkey ¶ added in v0.10.0
func (x *GetPrivateDecryptionKey) GetSecpPubkey() string
func (*GetPrivateDecryptionKey) ProtoMessage ¶ added in v0.10.0
func (*GetPrivateDecryptionKey) ProtoMessage()
func (*GetPrivateDecryptionKey) ProtoReflect ¶ added in v0.10.0
func (x *GetPrivateDecryptionKey) ProtoReflect() protoreflect.Message
func (*GetPrivateDecryptionKey) Reset ¶ added in v0.10.0
func (x *GetPrivateDecryptionKey) Reset()
func (*GetPrivateDecryptionKey) String ¶ added in v0.10.0
func (x *GetPrivateDecryptionKey) String() string
type GetPrivateDecryptionKeyResponse ¶ added in v0.10.0
type GetPrivateDecryptionKeyResponse struct {
Pubkey string `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
// contains filtered or unexported fields
}
GetPrivateDecryptionKeyResponse defines the response to the GetPrivateDecryptionKey message
func (*GetPrivateDecryptionKeyResponse) Descriptor
deprecated
added in
v0.10.0
func (*GetPrivateDecryptionKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPrivateDecryptionKeyResponse.ProtoReflect.Descriptor instead.
func (*GetPrivateDecryptionKeyResponse) GetPubkey ¶ added in v0.10.0
func (x *GetPrivateDecryptionKeyResponse) GetPubkey() string
func (*GetPrivateDecryptionKeyResponse) ProtoMessage ¶ added in v0.10.0
func (*GetPrivateDecryptionKeyResponse) ProtoMessage()
func (*GetPrivateDecryptionKeyResponse) ProtoReflect ¶ added in v0.10.0
func (x *GetPrivateDecryptionKeyResponse) ProtoReflect() protoreflect.Message
func (*GetPrivateDecryptionKeyResponse) Reset ¶ added in v0.10.0
func (x *GetPrivateDecryptionKeyResponse) Reset()
func (*GetPrivateDecryptionKeyResponse) String ¶ added in v0.10.0
func (x *GetPrivateDecryptionKeyResponse) String() string
type IndexedEncryptedKeyshare ¶ added in v0.9.0
type IndexedEncryptedKeyshare struct {
// contains filtered or unexported fields
}
IndexedEncryptedKeyshare defines the storage of submitted encrypted keyshares along with their indices (can be decrypted and aggregated)
func (*IndexedEncryptedKeyshare) Descriptor
deprecated
added in
v0.9.0
func (*IndexedEncryptedKeyshare) Descriptor() ([]byte, []int)
Deprecated: Use IndexedEncryptedKeyshare.ProtoReflect.Descriptor instead.
func (*IndexedEncryptedKeyshare) GetEncryptedKeyshareIndex ¶ added in v0.9.0
func (x *IndexedEncryptedKeyshare) GetEncryptedKeyshareIndex() uint64
func (*IndexedEncryptedKeyshare) GetEncryptedKeyshareValue ¶ added in v0.9.0
func (x *IndexedEncryptedKeyshare) GetEncryptedKeyshareValue() string
func (*IndexedEncryptedKeyshare) ProtoMessage ¶ added in v0.9.0
func (*IndexedEncryptedKeyshare) ProtoMessage()
func (*IndexedEncryptedKeyshare) ProtoReflect ¶ added in v0.9.0
func (x *IndexedEncryptedKeyshare) ProtoReflect() protoreflect.Message
func (*IndexedEncryptedKeyshare) Reset ¶ added in v0.9.0
func (x *IndexedEncryptedKeyshare) Reset()
func (*IndexedEncryptedKeyshare) String ¶ added in v0.9.0
func (x *IndexedEncryptedKeyshare) String() string
type PrivateDecryptionKey ¶ added in v0.10.0
type PrivateDecryptionKey struct {
Requester string `protobuf:"bytes,1,opt,name=requester,proto3" json:"requester,omitempty"`
// contains filtered or unexported fields
}
PrivateDecryptionKey defines the storage structure for the list of encrypted keyshares (unaggregated)
func (*PrivateDecryptionKey) Descriptor
deprecated
added in
v0.10.0
func (*PrivateDecryptionKey) Descriptor() ([]byte, []int)
Deprecated: Use PrivateDecryptionKey.ProtoReflect.Descriptor instead.
func (*PrivateDecryptionKey) GetPrivateKeyshares ¶ added in v0.10.0
func (x *PrivateDecryptionKey) GetPrivateKeyshares() []*IndexedEncryptedKeyshare
func (*PrivateDecryptionKey) GetRequester ¶ added in v0.10.0
func (x *PrivateDecryptionKey) GetRequester() string
func (*PrivateDecryptionKey) ProtoMessage ¶ added in v0.10.0
func (*PrivateDecryptionKey) ProtoMessage()
func (*PrivateDecryptionKey) ProtoReflect ¶ added in v0.10.0
func (x *PrivateDecryptionKey) ProtoReflect() protoreflect.Message
func (*PrivateDecryptionKey) Reset ¶ added in v0.10.0
func (x *PrivateDecryptionKey) Reset()
func (*PrivateDecryptionKey) String ¶ added in v0.10.0
func (x *PrivateDecryptionKey) String() string
type QueuedPublicKey ¶ added in v0.6.0
type QueuedPublicKey struct {
PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
Expiry uint64 `protobuf:"varint,3,opt,name=expiry,proto3" json:"expiry,omitempty"`
// contains filtered or unexported fields
}
QueuedPublicKey defines the pubkey that (when set) will replace the acive pubkey when it expires
func (*QueuedPublicKey) Descriptor
deprecated
added in
v0.6.0
func (*QueuedPublicKey) Descriptor() ([]byte, []int)
Deprecated: Use QueuedPublicKey.ProtoReflect.Descriptor instead.
func (*QueuedPublicKey) GetCreator ¶ added in v0.6.0
func (x *QueuedPublicKey) GetCreator() string
func (*QueuedPublicKey) GetExpiry ¶ added in v0.6.0
func (x *QueuedPublicKey) GetExpiry() uint64
func (*QueuedPublicKey) GetPublicKey ¶ added in v0.6.0
func (x *QueuedPublicKey) GetPublicKey() string
func (*QueuedPublicKey) ProtoMessage ¶ added in v0.6.0
func (*QueuedPublicKey) ProtoMessage()
func (*QueuedPublicKey) ProtoReflect ¶ added in v0.6.0
func (x *QueuedPublicKey) ProtoReflect() protoreflect.Message
func (*QueuedPublicKey) Reset ¶ added in v0.6.0
func (x *QueuedPublicKey) Reset()
func (*QueuedPublicKey) String ¶ added in v0.6.0
func (x *QueuedPublicKey) String() string
type RequestDecryptionKey ¶ added in v0.10.0
type RequestDecryptionKey struct {
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
// id can either be a identity or a proposal id
//
// Types that are assignable to Id:
//
// *RequestDecryptionKey_ProposalId
// *RequestDecryptionKey_Identity
Id isRequestDecryptionKey_Id `protobuf_oneof:"id"`
EstimatedDelay *durationpb.Duration `protobuf:"bytes,4,opt,name=estimated_delay,json=estimatedDelay,proto3" json:"estimated_delay,omitempty"`
// contains filtered or unexported fields
}
RequestDecryptionKey defines a struct for the data payload
func (*RequestDecryptionKey) Descriptor
deprecated
added in
v0.10.0
func (*RequestDecryptionKey) Descriptor() ([]byte, []int)
Deprecated: Use RequestDecryptionKey.ProtoReflect.Descriptor instead.
func (*RequestDecryptionKey) GetCreator ¶ added in v0.10.0
func (x *RequestDecryptionKey) GetCreator() string
func (*RequestDecryptionKey) GetEstimatedDelay ¶ added in v0.10.0
func (x *RequestDecryptionKey) GetEstimatedDelay() *durationpb.Duration
func (*RequestDecryptionKey) GetId ¶ added in v0.10.0
func (x *RequestDecryptionKey) GetId() isRequestDecryptionKey_Id
func (*RequestDecryptionKey) GetIdentity ¶ added in v0.10.2
func (x *RequestDecryptionKey) GetIdentity() string
func (*RequestDecryptionKey) GetProposalId ¶ added in v0.10.0
func (x *RequestDecryptionKey) GetProposalId() string
func (*RequestDecryptionKey) ProtoMessage ¶ added in v0.10.0
func (*RequestDecryptionKey) ProtoMessage()
func (*RequestDecryptionKey) ProtoReflect ¶ added in v0.10.0
func (x *RequestDecryptionKey) ProtoReflect() protoreflect.Message
func (*RequestDecryptionKey) Reset ¶ added in v0.10.0
func (x *RequestDecryptionKey) Reset()
func (*RequestDecryptionKey) String ¶ added in v0.10.0
func (x *RequestDecryptionKey) String() string
type RequestDecryptionKeyResponse ¶ added in v0.10.0
type RequestDecryptionKeyResponse struct {
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
Pubkey string `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
// contains filtered or unexported fields
}
RequestDecryptionKeyResponse defines the response to the RequestDecryptionKey message
func (*RequestDecryptionKeyResponse) Descriptor
deprecated
added in
v0.10.0
func (*RequestDecryptionKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use RequestDecryptionKeyResponse.ProtoReflect.Descriptor instead.
func (*RequestDecryptionKeyResponse) GetIdentity ¶ added in v0.10.0
func (x *RequestDecryptionKeyResponse) GetIdentity() string
func (*RequestDecryptionKeyResponse) GetPubkey ¶ added in v0.10.0
func (x *RequestDecryptionKeyResponse) GetPubkey() string
func (*RequestDecryptionKeyResponse) ProtoMessage ¶ added in v0.10.0
func (*RequestDecryptionKeyResponse) ProtoMessage()
func (*RequestDecryptionKeyResponse) ProtoReflect ¶ added in v0.10.0
func (x *RequestDecryptionKeyResponse) ProtoReflect() protoreflect.Message
func (*RequestDecryptionKeyResponse) Reset ¶ added in v0.10.0
func (x *RequestDecryptionKeyResponse) Reset()
func (*RequestDecryptionKeyResponse) String ¶ added in v0.10.0
func (x *RequestDecryptionKeyResponse) String() string
type RequestDecryptionKey_Identity ¶ added in v0.10.2
type RequestDecryptionKey_Identity struct {
Identity string `protobuf:"bytes,3,opt,name=identity,proto3,oneof"`
}
type RequestDecryptionKey_ProposalId ¶ added in v0.10.0
type RequestDecryptionKey_ProposalId struct {
ProposalId string `protobuf:"bytes,2,opt,name=proposal_id,json=proposalId,proto3,oneof"`
}
type RequestPrivateDecryptionKey ¶ added in v0.10.0
type RequestPrivateDecryptionKey struct {
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"`
// contains filtered or unexported fields
}
RequestPrivateDecryptionKey defines the structure to request for encrypted and unaggregated keyshares
func (*RequestPrivateDecryptionKey) Descriptor
deprecated
added in
v0.10.0
func (*RequestPrivateDecryptionKey) Descriptor() ([]byte, []int)
Deprecated: Use RequestPrivateDecryptionKey.ProtoReflect.Descriptor instead.
func (*RequestPrivateDecryptionKey) GetCreator ¶ added in v0.10.0
func (x *RequestPrivateDecryptionKey) GetCreator() string
func (*RequestPrivateDecryptionKey) GetIdentity ¶ added in v0.10.2
func (x *RequestPrivateDecryptionKey) GetIdentity() string
func (*RequestPrivateDecryptionKey) ProtoMessage ¶ added in v0.10.0
func (*RequestPrivateDecryptionKey) ProtoMessage()
func (*RequestPrivateDecryptionKey) ProtoReflect ¶ added in v0.10.0
func (x *RequestPrivateDecryptionKey) ProtoReflect() protoreflect.Message
func (*RequestPrivateDecryptionKey) Reset ¶ added in v0.10.0
func (x *RequestPrivateDecryptionKey) Reset()
func (*RequestPrivateDecryptionKey) String ¶ added in v0.10.0
func (x *RequestPrivateDecryptionKey) String() string