Documentation ¶
Index ¶
- Constants
- type Address
- type Ciphertext
- type Deal
- type DealerResponse
- type DecryptReply
- type DecryptRequest
- type EncryptedDeal
- type Message
- type PublicKey
- type ReencryptReply
- type ReencryptRequest
- type Reshare
- type Response
- type ShareAndProof
- type Start
- type StartDone
- type StartResharing
- type VerifiableDecryptReply
- type VerifiableDecryptRequest
Constants ¶
View Source
const ERROR_MARSHAL_K = "couldn't marshal K: %v"
View Source
const ERROR_UNMARSHAL_K = "couldn't unmarshal K: %v"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ciphertext ¶
type Deal ¶
type Deal struct { Index uint32 Signature []byte EncryptedDeal EncryptedDeal }
type DealerResponse ¶
type DecryptReply ¶
type DecryptRequest ¶
type EncryptedDeal ¶
type Message ¶
type Message struct { Start *Start `json:",omitempty"` StartResharing *StartResharing `json:",omitempty"` Deal *Deal `json:",omitempty"` Response *Response `json:",omitempty"` StartDone *StartDone `json:",omitempty"` DecryptRequest *DecryptRequest `json:",omitempty"` DecryptReply *DecryptReply `json:",omitempty"` VerifiableDecryptReply *VerifiableDecryptReply `json:",omitempty"` VerifiableDecryptRequest *VerifiableDecryptRequest `json:",omitempty"` ReencryptRequest *ReencryptRequest `json:",omitempty"` ReencryptReply *ReencryptReply `json:",omitempty"` }
type ReencryptReply ¶
type ReencryptRequest ¶
type Response ¶
type Response struct { Index uint32 Response DealerResponse }
type ShareAndProof ¶
type ShareAndProof struct {}
type StartResharing ¶
type VerifiableDecryptReply ¶
type VerifiableDecryptReply struct {
Sp []ShareAndProof
}
type VerifiableDecryptRequest ¶
type VerifiableDecryptRequest struct {
Ciphertexts []Ciphertext
}
Click to show internal directories.
Click to hide internal directories.