Documentation ¶
Index ¶
- func NewDecryptionQueue(maxQueueLength int, maxCiphertextBytes int, maxCiphertextIdLen int, ...) *decryptionQueue
- func NewThresholdService(sharedOracleArgs *libocr2.OCR2OracleArgs, conf *ThresholdServicesConfig) (job.ServiceCtx, error)
- func UnmarshalKeys(raw []byte) (publicKey tdh2easy.PublicKey, privateShare tdh2easy.PrivateShare, err error)
- type Decryptor
- type KeyshareWithPubKey
- type ThresholdServicesConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDecryptionQueue ¶
func NewThresholdService ¶ added in v2.4.0
func NewThresholdService(sharedOracleArgs *libocr2.OCR2OracleArgs, conf *ThresholdServicesConfig) (job.ServiceCtx, error)
func UnmarshalKeys ¶ added in v2.4.0
Types ¶
type Decryptor ¶
type Decryptor interface {
Decrypt(ctx context.Context, ciphertextId decryptionPlugin.CiphertextId, ciphertext []byte) ([]byte, error)
}
type KeyshareWithPubKey ¶ added in v2.4.0
type KeyshareWithPubKey struct {}
type ThresholdServicesConfig ¶ added in v2.4.0
type ThresholdServicesConfig struct { DecryptionQueue decryptionPlugin.DecryptionQueuingService ConfigParser decryptionPluginConfig.ConfigParser }
Click to show internal directories.
Click to hide internal directories.