types

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthSharedTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSharedTypes          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSharedTypes = fmt.Errorf("proto: unexpected end of group")
)

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"`
}

ActivePublicKey defines the pubkey currently in use

func (*ActivePublicKey) Descriptor added in v0.6.0

func (*ActivePublicKey) Descriptor() ([]byte, []int)

func (*ActivePublicKey) GetCreator added in v0.6.0

func (m *ActivePublicKey) GetCreator() string

func (*ActivePublicKey) GetExpiry added in v0.6.0

func (m *ActivePublicKey) GetExpiry() uint64

func (*ActivePublicKey) GetPublicKey added in v0.6.0

func (m *ActivePublicKey) GetPublicKey() string

func (*ActivePublicKey) Marshal added in v0.6.0

func (m *ActivePublicKey) Marshal() (dAtA []byte, err error)

func (*ActivePublicKey) MarshalTo added in v0.6.0

func (m *ActivePublicKey) MarshalTo(dAtA []byte) (int, error)

func (*ActivePublicKey) MarshalToSizedBuffer added in v0.6.0

func (m *ActivePublicKey) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ActivePublicKey) ProtoMessage added in v0.6.0

func (*ActivePublicKey) ProtoMessage()

func (*ActivePublicKey) Reset added in v0.6.0

func (m *ActivePublicKey) Reset()

func (*ActivePublicKey) Size added in v0.6.0

func (m *ActivePublicKey) Size() (n int)

func (*ActivePublicKey) String added in v0.6.0

func (m *ActivePublicKey) String() string

func (*ActivePublicKey) Unmarshal added in v0.6.0

func (m *ActivePublicKey) Unmarshal(dAtA []byte) error

func (*ActivePublicKey) XXX_DiscardUnknown added in v0.6.0

func (m *ActivePublicKey) XXX_DiscardUnknown()

func (*ActivePublicKey) XXX_Marshal added in v0.6.0

func (m *ActivePublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ActivePublicKey) XXX_Merge added in v0.6.0

func (m *ActivePublicKey) XXX_Merge(src proto.Message)

func (*ActivePublicKey) XXX_Size added in v0.6.0

func (m *ActivePublicKey) XXX_Size() int

func (*ActivePublicKey) XXX_Unmarshal added in v0.6.0

func (m *ActivePublicKey) XXX_Unmarshal(b []byte) error

type GetDecryptionKey added in v0.10.0

type GetDecryptionKey struct {
	// id can either be a request id or a proposal id
	//
	// Types that are valid to be assigned to Id:
	//
	//	*GetDecryptionKey_ProposalId
	//	*GetDecryptionKey_RequestId
	Id       isGetDecryptionKey_Id `protobuf_oneof:"id"`
	Identity string                `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"`
}

GetDecryptionKey defines a struct for the data payload

func (*GetDecryptionKey) Descriptor added in v0.10.0

func (*GetDecryptionKey) Descriptor() ([]byte, []int)

func (*GetDecryptionKey) GetId added in v0.10.0

func (m *GetDecryptionKey) GetId() isGetDecryptionKey_Id

func (*GetDecryptionKey) GetIdentity added in v0.10.0

func (m *GetDecryptionKey) GetIdentity() string

func (*GetDecryptionKey) GetProposalId added in v0.10.0

func (m *GetDecryptionKey) GetProposalId() string

func (*GetDecryptionKey) GetRequestId added in v0.10.0

func (m *GetDecryptionKey) GetRequestId() string

func (*GetDecryptionKey) Marshal added in v0.10.0

func (m *GetDecryptionKey) Marshal() (dAtA []byte, err error)

func (*GetDecryptionKey) MarshalTo added in v0.10.0

func (m *GetDecryptionKey) MarshalTo(dAtA []byte) (int, error)

func (*GetDecryptionKey) MarshalToSizedBuffer added in v0.10.0

func (m *GetDecryptionKey) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetDecryptionKey) ProtoMessage added in v0.10.0

func (*GetDecryptionKey) ProtoMessage()

func (*GetDecryptionKey) Reset added in v0.10.0

func (m *GetDecryptionKey) Reset()

func (*GetDecryptionKey) Size added in v0.10.0

func (m *GetDecryptionKey) Size() (n int)

func (*GetDecryptionKey) String added in v0.10.0

func (m *GetDecryptionKey) String() string

func (*GetDecryptionKey) Unmarshal added in v0.10.0

func (m *GetDecryptionKey) Unmarshal(dAtA []byte) error

func (*GetDecryptionKey) XXX_DiscardUnknown added in v0.10.0

func (m *GetDecryptionKey) XXX_DiscardUnknown()

func (*GetDecryptionKey) XXX_Marshal added in v0.10.0

func (m *GetDecryptionKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetDecryptionKey) XXX_Merge added in v0.10.0

func (m *GetDecryptionKey) XXX_Merge(src proto.Message)

func (*GetDecryptionKey) XXX_OneofWrappers added in v0.10.0

func (*GetDecryptionKey) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*GetDecryptionKey) XXX_Size added in v0.10.0

func (m *GetDecryptionKey) XXX_Size() int

func (*GetDecryptionKey) XXX_Unmarshal added in v0.10.0

func (m *GetDecryptionKey) XXX_Unmarshal(b []byte) error

type GetDecryptionKeyResponse added in v0.10.0

type GetDecryptionKeyResponse struct {
}

GetDecryptionKeyResponse defines the response to the GetDecryptionKey message

func (*GetDecryptionKeyResponse) Descriptor added in v0.10.0

func (*GetDecryptionKeyResponse) Descriptor() ([]byte, []int)

func (*GetDecryptionKeyResponse) Marshal added in v0.10.0

func (m *GetDecryptionKeyResponse) Marshal() (dAtA []byte, err error)

func (*GetDecryptionKeyResponse) MarshalTo added in v0.10.0

func (m *GetDecryptionKeyResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetDecryptionKeyResponse) MarshalToSizedBuffer added in v0.10.0

func (m *GetDecryptionKeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetDecryptionKeyResponse) ProtoMessage added in v0.10.0

func (*GetDecryptionKeyResponse) ProtoMessage()

func (*GetDecryptionKeyResponse) Reset added in v0.10.0

func (m *GetDecryptionKeyResponse) Reset()

func (*GetDecryptionKeyResponse) Size added in v0.10.0

func (m *GetDecryptionKeyResponse) Size() (n int)

func (*GetDecryptionKeyResponse) String added in v0.10.0

func (m *GetDecryptionKeyResponse) String() string

func (*GetDecryptionKeyResponse) Unmarshal added in v0.10.0

func (m *GetDecryptionKeyResponse) Unmarshal(dAtA []byte) error

func (*GetDecryptionKeyResponse) XXX_DiscardUnknown added in v0.10.0

func (m *GetDecryptionKeyResponse) XXX_DiscardUnknown()

func (*GetDecryptionKeyResponse) XXX_Marshal added in v0.10.0

func (m *GetDecryptionKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetDecryptionKeyResponse) XXX_Merge added in v0.10.0

func (m *GetDecryptionKeyResponse) XXX_Merge(src proto.Message)

func (*GetDecryptionKeyResponse) XXX_Size added in v0.10.0

func (m *GetDecryptionKeyResponse) XXX_Size() int

func (*GetDecryptionKeyResponse) XXX_Unmarshal added in v0.10.0

func (m *GetDecryptionKeyResponse) XXX_Unmarshal(b []byte) error

type GetDecryptionKey_ProposalId added in v0.10.0

type GetDecryptionKey_ProposalId struct {
	ProposalId string `protobuf:"bytes,1,opt,name=proposal_id,json=proposalId,proto3,oneof" json:"proposal_id,omitempty"`
}

func (*GetDecryptionKey_ProposalId) MarshalTo added in v0.10.0

func (m *GetDecryptionKey_ProposalId) MarshalTo(dAtA []byte) (int, error)

func (*GetDecryptionKey_ProposalId) MarshalToSizedBuffer added in v0.10.0

func (m *GetDecryptionKey_ProposalId) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetDecryptionKey_ProposalId) Size added in v0.10.0

func (m *GetDecryptionKey_ProposalId) Size() (n int)

type GetDecryptionKey_RequestId added in v0.10.0

type GetDecryptionKey_RequestId struct {
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3,oneof" json:"request_id,omitempty"`
}

func (*GetDecryptionKey_RequestId) MarshalTo added in v0.10.0

func (m *GetDecryptionKey_RequestId) MarshalTo(dAtA []byte) (int, error)

func (*GetDecryptionKey_RequestId) MarshalToSizedBuffer added in v0.10.0

func (m *GetDecryptionKey_RequestId) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetDecryptionKey_RequestId) Size added in v0.10.0

func (m *GetDecryptionKey_RequestId) Size() (n int)

type GetPrivateDecryptionKey added in v0.10.0

type GetPrivateDecryptionKey struct {
	RequestId  string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	Identity   string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"`
	Requester  string `protobuf:"bytes,3,opt,name=requester,proto3" json:"requester,omitempty"`
	SecpPubkey string `protobuf:"bytes,4,opt,name=secp_pubkey,json=secpPubkey,proto3" json:"secp_pubkey,omitempty"`
}

GetPrivateDecryptionKey defines a struct for the data payload

func (*GetPrivateDecryptionKey) Descriptor added in v0.10.0

func (*GetPrivateDecryptionKey) Descriptor() ([]byte, []int)

func (*GetPrivateDecryptionKey) GetIdentity added in v0.10.0

func (m *GetPrivateDecryptionKey) GetIdentity() string

func (*GetPrivateDecryptionKey) GetRequestId added in v0.10.0

func (m *GetPrivateDecryptionKey) GetRequestId() string

func (*GetPrivateDecryptionKey) GetRequester added in v0.10.0

func (m *GetPrivateDecryptionKey) GetRequester() string

func (*GetPrivateDecryptionKey) GetSecpPubkey added in v0.10.0

func (m *GetPrivateDecryptionKey) GetSecpPubkey() string

func (*GetPrivateDecryptionKey) Marshal added in v0.10.0

func (m *GetPrivateDecryptionKey) Marshal() (dAtA []byte, err error)

func (*GetPrivateDecryptionKey) MarshalTo added in v0.10.0

func (m *GetPrivateDecryptionKey) MarshalTo(dAtA []byte) (int, error)

func (*GetPrivateDecryptionKey) MarshalToSizedBuffer added in v0.10.0

func (m *GetPrivateDecryptionKey) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetPrivateDecryptionKey) ProtoMessage added in v0.10.0

func (*GetPrivateDecryptionKey) ProtoMessage()

func (*GetPrivateDecryptionKey) Reset added in v0.10.0

func (m *GetPrivateDecryptionKey) Reset()

func (*GetPrivateDecryptionKey) Size added in v0.10.0

func (m *GetPrivateDecryptionKey) Size() (n int)

func (*GetPrivateDecryptionKey) String added in v0.10.0

func (m *GetPrivateDecryptionKey) String() string

func (*GetPrivateDecryptionKey) Unmarshal added in v0.10.0

func (m *GetPrivateDecryptionKey) Unmarshal(dAtA []byte) error

func (*GetPrivateDecryptionKey) XXX_DiscardUnknown added in v0.10.0

func (m *GetPrivateDecryptionKey) XXX_DiscardUnknown()

func (*GetPrivateDecryptionKey) XXX_Marshal added in v0.10.0

func (m *GetPrivateDecryptionKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetPrivateDecryptionKey) XXX_Merge added in v0.10.0

func (m *GetPrivateDecryptionKey) XXX_Merge(src proto.Message)

func (*GetPrivateDecryptionKey) XXX_Size added in v0.10.0

func (m *GetPrivateDecryptionKey) XXX_Size() int

func (*GetPrivateDecryptionKey) XXX_Unmarshal added in v0.10.0

func (m *GetPrivateDecryptionKey) XXX_Unmarshal(b []byte) error

type GetPrivateDecryptionKeyResponse added in v0.10.0

type GetPrivateDecryptionKeyResponse struct {
	Pubkey string `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
}

GetPrivateDecryptionKeyResponse defines the response to the GetPrivateDecryptionKey message

func (*GetPrivateDecryptionKeyResponse) Descriptor added in v0.10.0

func (*GetPrivateDecryptionKeyResponse) Descriptor() ([]byte, []int)

func (*GetPrivateDecryptionKeyResponse) GetPubkey added in v0.10.0

func (m *GetPrivateDecryptionKeyResponse) GetPubkey() string

func (*GetPrivateDecryptionKeyResponse) Marshal added in v0.10.0

func (m *GetPrivateDecryptionKeyResponse) Marshal() (dAtA []byte, err error)

func (*GetPrivateDecryptionKeyResponse) MarshalTo added in v0.10.0

func (m *GetPrivateDecryptionKeyResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetPrivateDecryptionKeyResponse) MarshalToSizedBuffer added in v0.10.0

func (m *GetPrivateDecryptionKeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetPrivateDecryptionKeyResponse) ProtoMessage added in v0.10.0

func (*GetPrivateDecryptionKeyResponse) ProtoMessage()

func (*GetPrivateDecryptionKeyResponse) Reset added in v0.10.0

func (*GetPrivateDecryptionKeyResponse) Size added in v0.10.0

func (m *GetPrivateDecryptionKeyResponse) Size() (n int)

func (*GetPrivateDecryptionKeyResponse) String added in v0.10.0

func (*GetPrivateDecryptionKeyResponse) Unmarshal added in v0.10.0

func (m *GetPrivateDecryptionKeyResponse) Unmarshal(dAtA []byte) error

func (*GetPrivateDecryptionKeyResponse) XXX_DiscardUnknown added in v0.10.0

func (m *GetPrivateDecryptionKeyResponse) XXX_DiscardUnknown()

func (*GetPrivateDecryptionKeyResponse) XXX_Marshal added in v0.10.0

func (m *GetPrivateDecryptionKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetPrivateDecryptionKeyResponse) XXX_Merge added in v0.10.0

func (m *GetPrivateDecryptionKeyResponse) XXX_Merge(src proto.Message)

func (*GetPrivateDecryptionKeyResponse) XXX_Size added in v0.10.0

func (m *GetPrivateDecryptionKeyResponse) XXX_Size() int

func (*GetPrivateDecryptionKeyResponse) XXX_Unmarshal added in v0.10.0

func (m *GetPrivateDecryptionKeyResponse) XXX_Unmarshal(b []byte) error

type IndexedEncryptedKeyshare added in v0.9.0

type IndexedEncryptedKeyshare struct {
	EncryptedKeyshareValue string `` /* 129-byte string literal not displayed */
	EncryptedKeyshareIndex uint64 `` /* 130-byte string literal not displayed */
}

IndexedEncryptedKeyshare defines the storage of submitted encrypted keyshares along with their indices (can be decrypted and aggregated)

func (*IndexedEncryptedKeyshare) Descriptor added in v0.9.0

func (*IndexedEncryptedKeyshare) Descriptor() ([]byte, []int)

func (*IndexedEncryptedKeyshare) GetEncryptedKeyshareIndex added in v0.9.0

func (m *IndexedEncryptedKeyshare) GetEncryptedKeyshareIndex() uint64

func (*IndexedEncryptedKeyshare) GetEncryptedKeyshareValue added in v0.9.0

func (m *IndexedEncryptedKeyshare) GetEncryptedKeyshareValue() string

func (*IndexedEncryptedKeyshare) Marshal added in v0.9.0

func (m *IndexedEncryptedKeyshare) Marshal() (dAtA []byte, err error)

func (*IndexedEncryptedKeyshare) MarshalTo added in v0.9.0

func (m *IndexedEncryptedKeyshare) MarshalTo(dAtA []byte) (int, error)

func (*IndexedEncryptedKeyshare) MarshalToSizedBuffer added in v0.9.0

func (m *IndexedEncryptedKeyshare) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IndexedEncryptedKeyshare) ProtoMessage added in v0.9.0

func (*IndexedEncryptedKeyshare) ProtoMessage()

func (*IndexedEncryptedKeyshare) Reset added in v0.9.0

func (m *IndexedEncryptedKeyshare) Reset()

func (*IndexedEncryptedKeyshare) Size added in v0.9.0

func (m *IndexedEncryptedKeyshare) Size() (n int)

func (*IndexedEncryptedKeyshare) String added in v0.9.0

func (m *IndexedEncryptedKeyshare) String() string

func (*IndexedEncryptedKeyshare) Unmarshal added in v0.9.0

func (m *IndexedEncryptedKeyshare) Unmarshal(dAtA []byte) error

func (*IndexedEncryptedKeyshare) XXX_DiscardUnknown added in v0.9.0

func (m *IndexedEncryptedKeyshare) XXX_DiscardUnknown()

func (*IndexedEncryptedKeyshare) XXX_Marshal added in v0.9.0

func (m *IndexedEncryptedKeyshare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IndexedEncryptedKeyshare) XXX_Merge added in v0.9.0

func (m *IndexedEncryptedKeyshare) XXX_Merge(src proto.Message)

func (*IndexedEncryptedKeyshare) XXX_Size added in v0.9.0

func (m *IndexedEncryptedKeyshare) XXX_Size() int

func (*IndexedEncryptedKeyshare) XXX_Unmarshal added in v0.9.0

func (m *IndexedEncryptedKeyshare) XXX_Unmarshal(b []byte) error

type PrivateDecryptionKey added in v0.10.0

type PrivateDecryptionKey struct {
	Requester        string                      `protobuf:"bytes,1,opt,name=requester,proto3" json:"requester,omitempty"`
	PrivateKeyshares []*IndexedEncryptedKeyshare `protobuf:"bytes,2,rep,name=private_keyshares,json=privateKeyshares,proto3" json:"private_keyshares,omitempty"`
}

PrivateDecryptionKey defines the storage structure for the list of encrypted keyshares (unaggregated)

func (*PrivateDecryptionKey) Descriptor added in v0.10.0

func (*PrivateDecryptionKey) Descriptor() ([]byte, []int)

func (*PrivateDecryptionKey) GetPrivateKeyshares added in v0.10.0

func (m *PrivateDecryptionKey) GetPrivateKeyshares() []*IndexedEncryptedKeyshare

func (*PrivateDecryptionKey) GetRequester added in v0.10.0

func (m *PrivateDecryptionKey) GetRequester() string

func (*PrivateDecryptionKey) Marshal added in v0.10.0

func (m *PrivateDecryptionKey) Marshal() (dAtA []byte, err error)

func (*PrivateDecryptionKey) MarshalTo added in v0.10.0

func (m *PrivateDecryptionKey) MarshalTo(dAtA []byte) (int, error)

func (*PrivateDecryptionKey) MarshalToSizedBuffer added in v0.10.0

func (m *PrivateDecryptionKey) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PrivateDecryptionKey) ProtoMessage added in v0.10.0

func (*PrivateDecryptionKey) ProtoMessage()

func (*PrivateDecryptionKey) Reset added in v0.10.0

func (m *PrivateDecryptionKey) Reset()

func (*PrivateDecryptionKey) Size added in v0.10.0

func (m *PrivateDecryptionKey) Size() (n int)

func (*PrivateDecryptionKey) String added in v0.10.0

func (m *PrivateDecryptionKey) String() string

func (*PrivateDecryptionKey) Unmarshal added in v0.10.0

func (m *PrivateDecryptionKey) Unmarshal(dAtA []byte) error

func (*PrivateDecryptionKey) XXX_DiscardUnknown added in v0.10.0

func (m *PrivateDecryptionKey) XXX_DiscardUnknown()

func (*PrivateDecryptionKey) XXX_Marshal added in v0.10.0

func (m *PrivateDecryptionKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrivateDecryptionKey) XXX_Merge added in v0.10.0

func (m *PrivateDecryptionKey) XXX_Merge(src proto.Message)

func (*PrivateDecryptionKey) XXX_Size added in v0.10.0

func (m *PrivateDecryptionKey) XXX_Size() int

func (*PrivateDecryptionKey) XXX_Unmarshal added in v0.10.0

func (m *PrivateDecryptionKey) XXX_Unmarshal(b []byte) error

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"`
}

QueuedPublicKey defines the pubkey that (when set) will replace the acive pubkey when it expires

func (*QueuedPublicKey) Descriptor added in v0.6.0

func (*QueuedPublicKey) Descriptor() ([]byte, []int)

func (*QueuedPublicKey) GetCreator added in v0.6.0

func (m *QueuedPublicKey) GetCreator() string

func (*QueuedPublicKey) GetExpiry added in v0.6.0

func (m *QueuedPublicKey) GetExpiry() uint64

func (*QueuedPublicKey) GetPublicKey added in v0.6.0

func (m *QueuedPublicKey) GetPublicKey() string

func (*QueuedPublicKey) Marshal added in v0.6.0

func (m *QueuedPublicKey) Marshal() (dAtA []byte, err error)

func (*QueuedPublicKey) MarshalTo added in v0.6.0

func (m *QueuedPublicKey) MarshalTo(dAtA []byte) (int, error)

func (*QueuedPublicKey) MarshalToSizedBuffer added in v0.6.0

func (m *QueuedPublicKey) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueuedPublicKey) ProtoMessage added in v0.6.0

func (*QueuedPublicKey) ProtoMessage()

func (*QueuedPublicKey) Reset added in v0.6.0

func (m *QueuedPublicKey) Reset()

func (*QueuedPublicKey) Size added in v0.6.0

func (m *QueuedPublicKey) Size() (n int)

func (*QueuedPublicKey) String added in v0.6.0

func (m *QueuedPublicKey) String() string

func (*QueuedPublicKey) Unmarshal added in v0.6.0

func (m *QueuedPublicKey) Unmarshal(dAtA []byte) error

func (*QueuedPublicKey) XXX_DiscardUnknown added in v0.6.0

func (m *QueuedPublicKey) XXX_DiscardUnknown()

func (*QueuedPublicKey) XXX_Marshal added in v0.6.0

func (m *QueuedPublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueuedPublicKey) XXX_Merge added in v0.6.0

func (m *QueuedPublicKey) XXX_Merge(src proto.Message)

func (*QueuedPublicKey) XXX_Size added in v0.6.0

func (m *QueuedPublicKey) XXX_Size() int

func (*QueuedPublicKey) XXX_Unmarshal added in v0.6.0

func (m *QueuedPublicKey) XXX_Unmarshal(b []byte) error

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 request id or a proposal id
	//
	// Types that are valid to be assigned to Id:
	//	*RequestDecryptionKey_ProposalId
	//	*RequestDecryptionKey_RequestId
	Id             isRequestDecryptionKey_Id `protobuf_oneof:"id"`
	EstimatedDelay *time.Duration            `protobuf:"bytes,4,opt,name=estimated_delay,json=estimatedDelay,proto3,stdduration" json:"estimated_delay,omitempty"`
}

RequestDecryptionKey defines a struct for the data payload

func (*RequestDecryptionKey) Descriptor added in v0.10.0

func (*RequestDecryptionKey) Descriptor() ([]byte, []int)

func (*RequestDecryptionKey) GetCreator added in v0.10.0

func (m *RequestDecryptionKey) GetCreator() string

func (*RequestDecryptionKey) GetEstimatedDelay added in v0.10.0

func (m *RequestDecryptionKey) GetEstimatedDelay() *time.Duration

func (*RequestDecryptionKey) GetId added in v0.10.0

func (m *RequestDecryptionKey) GetId() isRequestDecryptionKey_Id

func (*RequestDecryptionKey) GetProposalId added in v0.10.0

func (m *RequestDecryptionKey) GetProposalId() string

func (*RequestDecryptionKey) GetRequestId added in v0.10.0

func (m *RequestDecryptionKey) GetRequestId() string

func (*RequestDecryptionKey) Marshal added in v0.10.0

func (m *RequestDecryptionKey) Marshal() (dAtA []byte, err error)

func (*RequestDecryptionKey) MarshalTo added in v0.10.0

func (m *RequestDecryptionKey) MarshalTo(dAtA []byte) (int, error)

func (*RequestDecryptionKey) MarshalToSizedBuffer added in v0.10.0

func (m *RequestDecryptionKey) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestDecryptionKey) ProtoMessage added in v0.10.0

func (*RequestDecryptionKey) ProtoMessage()

func (*RequestDecryptionKey) Reset added in v0.10.0

func (m *RequestDecryptionKey) Reset()

func (*RequestDecryptionKey) Size added in v0.10.0

func (m *RequestDecryptionKey) Size() (n int)

func (*RequestDecryptionKey) String added in v0.10.0

func (m *RequestDecryptionKey) String() string

func (*RequestDecryptionKey) Unmarshal added in v0.10.0

func (m *RequestDecryptionKey) Unmarshal(dAtA []byte) error

func (*RequestDecryptionKey) XXX_DiscardUnknown added in v0.10.0

func (m *RequestDecryptionKey) XXX_DiscardUnknown()

func (*RequestDecryptionKey) XXX_Marshal added in v0.10.0

func (m *RequestDecryptionKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestDecryptionKey) XXX_Merge added in v0.10.0

func (m *RequestDecryptionKey) XXX_Merge(src proto.Message)

func (*RequestDecryptionKey) XXX_OneofWrappers added in v0.10.0

func (*RequestDecryptionKey) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*RequestDecryptionKey) XXX_Size added in v0.10.0

func (m *RequestDecryptionKey) XXX_Size() int

func (*RequestDecryptionKey) XXX_Unmarshal added in v0.10.0

func (m *RequestDecryptionKey) XXX_Unmarshal(b []byte) error

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"`
}

RequestDecryptionKeyResponse defines the response to the RequestDecryptionKey message

func (*RequestDecryptionKeyResponse) Descriptor added in v0.10.0

func (*RequestDecryptionKeyResponse) Descriptor() ([]byte, []int)

func (*RequestDecryptionKeyResponse) GetIdentity added in v0.10.0

func (m *RequestDecryptionKeyResponse) GetIdentity() string

func (*RequestDecryptionKeyResponse) GetPubkey added in v0.10.0

func (m *RequestDecryptionKeyResponse) GetPubkey() string

func (*RequestDecryptionKeyResponse) Marshal added in v0.10.0

func (m *RequestDecryptionKeyResponse) Marshal() (dAtA []byte, err error)

func (*RequestDecryptionKeyResponse) MarshalTo added in v0.10.0

func (m *RequestDecryptionKeyResponse) MarshalTo(dAtA []byte) (int, error)

func (*RequestDecryptionKeyResponse) MarshalToSizedBuffer added in v0.10.0

func (m *RequestDecryptionKeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestDecryptionKeyResponse) ProtoMessage added in v0.10.0

func (*RequestDecryptionKeyResponse) ProtoMessage()

func (*RequestDecryptionKeyResponse) Reset added in v0.10.0

func (m *RequestDecryptionKeyResponse) Reset()

func (*RequestDecryptionKeyResponse) Size added in v0.10.0

func (m *RequestDecryptionKeyResponse) Size() (n int)

func (*RequestDecryptionKeyResponse) String added in v0.10.0

func (*RequestDecryptionKeyResponse) Unmarshal added in v0.10.0

func (m *RequestDecryptionKeyResponse) Unmarshal(dAtA []byte) error

func (*RequestDecryptionKeyResponse) XXX_DiscardUnknown added in v0.10.0

func (m *RequestDecryptionKeyResponse) XXX_DiscardUnknown()

func (*RequestDecryptionKeyResponse) XXX_Marshal added in v0.10.0

func (m *RequestDecryptionKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestDecryptionKeyResponse) XXX_Merge added in v0.10.0

func (m *RequestDecryptionKeyResponse) XXX_Merge(src proto.Message)

func (*RequestDecryptionKeyResponse) XXX_Size added in v0.10.0

func (m *RequestDecryptionKeyResponse) XXX_Size() int

func (*RequestDecryptionKeyResponse) XXX_Unmarshal added in v0.10.0

func (m *RequestDecryptionKeyResponse) XXX_Unmarshal(b []byte) error

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" json:"proposal_id,omitempty"`
}

func (*RequestDecryptionKey_ProposalId) MarshalTo added in v0.10.0

func (m *RequestDecryptionKey_ProposalId) MarshalTo(dAtA []byte) (int, error)

func (*RequestDecryptionKey_ProposalId) MarshalToSizedBuffer added in v0.10.0

func (m *RequestDecryptionKey_ProposalId) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestDecryptionKey_ProposalId) Size added in v0.10.0

func (m *RequestDecryptionKey_ProposalId) Size() (n int)

type RequestDecryptionKey_RequestId added in v0.10.0

type RequestDecryptionKey_RequestId struct {
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3,oneof" json:"request_id,omitempty"`
}

func (*RequestDecryptionKey_RequestId) MarshalTo added in v0.10.0

func (m *RequestDecryptionKey_RequestId) MarshalTo(dAtA []byte) (int, error)

func (*RequestDecryptionKey_RequestId) MarshalToSizedBuffer added in v0.10.0

func (m *RequestDecryptionKey_RequestId) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestDecryptionKey_RequestId) Size added in v0.10.0

func (m *RequestDecryptionKey_RequestId) Size() (n int)

type RequestPrivateDecryptionKey added in v0.10.0

type RequestPrivateDecryptionKey struct {
	Creator   string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
}

RequestPrivateDecryptionKey defines the structure to request for encrypted and unaggregated keyshares

func (*RequestPrivateDecryptionKey) Descriptor added in v0.10.0

func (*RequestPrivateDecryptionKey) Descriptor() ([]byte, []int)

func (*RequestPrivateDecryptionKey) GetCreator added in v0.10.0

func (m *RequestPrivateDecryptionKey) GetCreator() string

func (*RequestPrivateDecryptionKey) GetRequestId added in v0.10.0

func (m *RequestPrivateDecryptionKey) GetRequestId() string

func (*RequestPrivateDecryptionKey) Marshal added in v0.10.0

func (m *RequestPrivateDecryptionKey) Marshal() (dAtA []byte, err error)

func (*RequestPrivateDecryptionKey) MarshalTo added in v0.10.0

func (m *RequestPrivateDecryptionKey) MarshalTo(dAtA []byte) (int, error)

func (*RequestPrivateDecryptionKey) MarshalToSizedBuffer added in v0.10.0

func (m *RequestPrivateDecryptionKey) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestPrivateDecryptionKey) ProtoMessage added in v0.10.0

func (*RequestPrivateDecryptionKey) ProtoMessage()

func (*RequestPrivateDecryptionKey) Reset added in v0.10.0

func (m *RequestPrivateDecryptionKey) Reset()

func (*RequestPrivateDecryptionKey) Size added in v0.10.0

func (m *RequestPrivateDecryptionKey) Size() (n int)

func (*RequestPrivateDecryptionKey) String added in v0.10.0

func (m *RequestPrivateDecryptionKey) String() string

func (*RequestPrivateDecryptionKey) Unmarshal added in v0.10.0

func (m *RequestPrivateDecryptionKey) Unmarshal(dAtA []byte) error

func (*RequestPrivateDecryptionKey) XXX_DiscardUnknown added in v0.10.0

func (m *RequestPrivateDecryptionKey) XXX_DiscardUnknown()

func (*RequestPrivateDecryptionKey) XXX_Marshal added in v0.10.0

func (m *RequestPrivateDecryptionKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestPrivateDecryptionKey) XXX_Merge added in v0.10.0

func (m *RequestPrivateDecryptionKey) XXX_Merge(src proto.Message)

func (*RequestPrivateDecryptionKey) XXX_Size added in v0.10.0

func (m *RequestPrivateDecryptionKey) XXX_Size() int

func (*RequestPrivateDecryptionKey) XXX_Unmarshal added in v0.10.0

func (m *RequestPrivateDecryptionKey) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL