Documentation
¶
Index ¶
- Variables
- func ExecuteSignalAccountKeys(_ context.Context, ...) (*sdk.TypedStepResult[*contracts.AccountKeysOutput], error)
- func ExecuteSignalBackupAuthPrepare(_ context.Context, ...) (*sdk.TypedStepResult[*contracts.ServiceOperationPrepareOutput], error)
- func ExecuteSignalBackupManifestVerify(_ context.Context, ...) (*sdk.TypedStepResult[*contracts.ServiceOperationPrepareOutput], error)
- func ExecuteSignalBlobDecrypt(ctx context.Context, ...) (*sdk.TypedStepResult[*contracts.BlobDecryptOutput], error)
- func ExecuteSignalBlobEncrypt(ctx context.Context, ...) (*sdk.TypedStepResult[*contracts.BlobEncryptOutput], error)
- func ExecuteSignalCustodyAttest(_ context.Context, ...) (*sdk.TypedStepResult[*contracts.CustodyAttestOutput], error)
- func ExecuteSignalCustodyCreate(_ context.Context, ...) (*sdk.TypedStepResult[*contracts.CustodyCreateOutput], error)
- func ExecuteSignalCustodyExportRequest(_ context.Context, ...) (*sdk.TypedStepResult[*contracts.CustodyExportRequestOutput], error)
- func ExecuteSignalCustodyInspect(_ context.Context, ...) (*sdk.TypedStepResult[*contracts.CustodyInspectOutput], error)
- func ExecuteSignalCustodyRestore(_ context.Context, ...) (*sdk.TypedStepResult[*contracts.CustodyRestoreOutput], error)
- func ExecuteSignalCustodyRevoke(_ context.Context, ...) (*sdk.TypedStepResult[*contracts.CustodyRevokeOutput], error)
- func ExecuteSignalCustodyRotate(_ context.Context, ...) (*sdk.TypedStepResult[*contracts.CustodyRotateOutput], error)
- func ExecuteSignalDecrypt(ctx context.Context, ...) (*sdk.TypedStepResult[*contracts.SignalDecryptOutput], error)
- func ExecuteSignalEncrypt(ctx context.Context, ...) (*sdk.TypedStepResult[*contracts.SignalEncryptOutput], error)
- func ExecuteSignalFingerprint(ctx context.Context, ...) (*sdk.TypedStepResult[*contracts.SignalFingerprintOutput], error)
- func ExecuteSignalInboxDecrypt(ctx context.Context, ...) (*sdk.TypedStepResult[*contracts.InboxDecryptOutput], error)
- func ExecuteSignalInboxReceive(_ context.Context, ...) (*sdk.TypedStepResult[*contracts.InboxReceiveOutput], error)
- func ExecuteSignalOutboxClaim(_ context.Context, ...) (*sdk.TypedStepResult[*contracts.OutboxClaimOutput], error)
- func ExecuteSignalOutboxEnqueue(_ context.Context, ...) (*sdk.TypedStepResult[*contracts.OutboxEnqueueOutput], error)
- func ExecuteSignalPublicPreKeyPublish(ctx context.Context, ...) (*sdk.TypedStepResult[*contracts.PublicPreKeyPublishOutput], error)
- func ExecuteSignalPublicPreKeyResolve(ctx context.Context, ...) (*sdk.TypedStepResult[*contracts.PublicPreKeyResolveOutput], error)
- func ExecuteSignalServiceApprovalValidate(_ context.Context, ...) (*sdk.TypedStepResult[*contracts.ServiceApprovalValidateOutput], error)
- func ExecuteSignalServiceChallengeRespond(_ context.Context, ...) (*sdk.TypedStepResult[*contracts.ServiceOperationPrepareOutput], error)
- func ExecuteSignalServiceComplianceCheck(_ context.Context, ...) (*sdk.TypedStepResult[*contracts.ServiceComplianceCheckOutput], error)
- func ExecuteSignalServiceContractCheck(_ context.Context, ...) (*sdk.TypedStepResult[*contracts.ServiceContractCheckOutput], error)
- func ExecuteSignalServiceLinkPrepare(_ context.Context, ...) (*sdk.TypedStepResult[*contracts.ServiceOperationPrepareOutput], error)
- func ExecuteSignalServiceLiveSubmit(ctx context.Context, ...) (*sdk.TypedStepResult[*contracts.ServiceSubmitOutput], error)
- func ExecuteSignalServicePolicyCheck(_ context.Context, ...) (*sdk.TypedStepResult[*contracts.ServicePolicyCheckOutput], error)
- func ExecuteSignalServiceReceiveAdmit(_ context.Context, ...) (*sdk.TypedStepResult[*contracts.ServiceOperationPrepareOutput], error)
- func ExecuteSignalServiceRegisterPrepare(_ context.Context, ...) (*sdk.TypedStepResult[*contracts.ServiceOperationPrepareOutput], error)
- func ExecuteSignalServiceSendPrepare(_ context.Context, ...) (*sdk.TypedStepResult[*contracts.ServiceOperationPrepareOutput], error)
- func ExecuteSignalServiceTestBackupDownload(ctx context.Context, ...) (*sdk.TypedStepResult[*contracts.ServiceTestOutput], error)
- func ExecuteSignalServiceTestBackupUpload(ctx context.Context, ...) (*sdk.TypedStepResult[*contracts.ServiceTestOutput], error)
- func ExecuteSignalServiceTestLinkDevice(ctx context.Context, ...) (*sdk.TypedStepResult[*contracts.ServiceTestOutput], error)
- func ExecuteSignalServiceTestReceive(ctx context.Context, ...) (*sdk.TypedStepResult[*contracts.ServiceTestOutput], error)
- func ExecuteSignalServiceTestRegister(ctx context.Context, ...) (*sdk.TypedStepResult[*contracts.ServiceTestOutput], error)
- func ExecuteSignalServiceTestSend(ctx context.Context, ...) (*sdk.TypedStepResult[*contracts.ServiceTestOutput], error)
- func ExecuteSignalServiceTestUsernameReserve(ctx context.Context, ...) (*sdk.TypedStepResult[*contracts.ServiceTestOutput], error)
- func ExecuteSignalSessionPrepare(_ context.Context, ...) (*sdk.TypedStepResult[*contracts.SessionPrepareOutput], error)
- func ExecuteSignalUsernameLinkCreate(_ context.Context, ...) (*sdk.TypedStepResult[*contracts.UsernameLinkCreateOutput], error)
- func ExecuteSignalUsernameLinkDecrypt(_ context.Context, ...) (*sdk.TypedStepResult[*contracts.UsernameLinkDecryptOutput], error)
- func ExecuteSignalUsernameProofPrepare(_ context.Context, ...) (*sdk.TypedStepResult[*contracts.ServiceOperationPrepareOutput], error)
- type SignalProvider
- func (p *SignalProvider) ContractRegistry() *pb.ContractRegistry
- func (p *SignalProvider) CreateTypedModule(typeName, name string, config *anypb.Any) (sdk.ModuleInstance, error)
- func (p *SignalProvider) CreateTypedStep(typeName, name string, config *anypb.Any) (sdk.StepInstance, error)
- func (p *SignalProvider) Manifest() sdk.PluginManifest
- func (p *SignalProvider) TypedModuleTypes() []string
- func (p *SignalProvider) TypedStepTypes() []string
Constants ¶
This section is empty.
Variables ¶
var Version = "dev"
Version is injected by the release build so runtime manifests report the tag.
Functions ¶
func ExecuteSignalAccountKeys ¶ added in v0.3.0
func ExecuteSignalAccountKeys( _ context.Context, req sdk.TypedStepRequest[*contracts.AccountKeysConfig, *contracts.AccountKeysInput], ) (*sdk.TypedStepResult[*contracts.AccountKeysOutput], error)
ExecuteSignalAccountKeys derives Signal account keys from an entropy pool.
func ExecuteSignalBackupAuthPrepare ¶ added in v0.9.0
func ExecuteSignalBackupAuthPrepare( _ context.Context, req sdk.TypedStepRequest[*contracts.BackupAuthPrepareConfig, *contracts.BackupAuthPrepareInput], ) (*sdk.TypedStepResult[*contracts.ServiceOperationPrepareOutput], error)
func ExecuteSignalBackupManifestVerify ¶ added in v0.9.0
func ExecuteSignalBackupManifestVerify( _ context.Context, req sdk.TypedStepRequest[*contracts.BackupManifestVerifyConfig, *contracts.BackupManifestVerifyInput], ) (*sdk.TypedStepResult[*contracts.ServiceOperationPrepareOutput], error)
func ExecuteSignalBlobDecrypt ¶ added in v0.13.0
func ExecuteSignalBlobDecrypt( ctx context.Context, req sdk.TypedStepRequest[*contracts.BlobDecryptConfig, *contracts.BlobDecryptInput], ) (*sdk.TypedStepResult[*contracts.BlobDecryptOutput], error)
func ExecuteSignalBlobEncrypt ¶ added in v0.13.0
func ExecuteSignalBlobEncrypt( ctx context.Context, req sdk.TypedStepRequest[*contracts.BlobEncryptConfig, *contracts.BlobEncryptInput], ) (*sdk.TypedStepResult[*contracts.BlobEncryptOutput], error)
func ExecuteSignalCustodyAttest ¶ added in v0.12.0
func ExecuteSignalCustodyAttest( _ context.Context, req sdk.TypedStepRequest[*contracts.CustodyAttestConfig, *contracts.CustodyAttestInput], ) (*sdk.TypedStepResult[*contracts.CustodyAttestOutput], error)
func ExecuteSignalCustodyCreate ¶ added in v0.8.0
func ExecuteSignalCustodyCreate( _ context.Context, req sdk.TypedStepRequest[*contracts.CustodyCreateConfig, *contracts.CustodyCreateInput], ) (*sdk.TypedStepResult[*contracts.CustodyCreateOutput], error)
func ExecuteSignalCustodyExportRequest ¶ added in v0.12.0
func ExecuteSignalCustodyExportRequest( _ context.Context, req sdk.TypedStepRequest[*contracts.CustodyExportRequestConfig, *contracts.CustodyExportRequestInput], ) (*sdk.TypedStepResult[*contracts.CustodyExportRequestOutput], error)
func ExecuteSignalCustodyInspect ¶ added in v0.8.0
func ExecuteSignalCustodyInspect( _ context.Context, req sdk.TypedStepRequest[*contracts.CustodyInspectConfig, *contracts.CustodyInspectInput], ) (*sdk.TypedStepResult[*contracts.CustodyInspectOutput], error)
func ExecuteSignalCustodyRestore ¶ added in v0.8.0
func ExecuteSignalCustodyRestore( _ context.Context, req sdk.TypedStepRequest[*contracts.CustodyRestoreConfig, *contracts.CustodyRestoreInput], ) (*sdk.TypedStepResult[*contracts.CustodyRestoreOutput], error)
func ExecuteSignalCustodyRevoke ¶ added in v0.8.0
func ExecuteSignalCustodyRevoke( _ context.Context, req sdk.TypedStepRequest[*contracts.CustodyRevokeConfig, *contracts.CustodyRevokeInput], ) (*sdk.TypedStepResult[*contracts.CustodyRevokeOutput], error)
func ExecuteSignalCustodyRotate ¶ added in v0.8.0
func ExecuteSignalCustodyRotate( _ context.Context, req sdk.TypedStepRequest[*contracts.CustodyRotateConfig, *contracts.CustodyRotateInput], ) (*sdk.TypedStepResult[*contracts.CustodyRotateOutput], error)
func ExecuteSignalDecrypt ¶ added in v0.2.0
func ExecuteSignalDecrypt( ctx context.Context, req sdk.TypedStepRequest[*contracts.SignalDecryptConfig, *contracts.SignalDecryptInput], ) (*sdk.TypedStepResult[*contracts.SignalDecryptOutput], error)
func ExecuteSignalEncrypt ¶ added in v0.2.0
func ExecuteSignalEncrypt( ctx context.Context, req sdk.TypedStepRequest[*contracts.SignalEncryptConfig, *contracts.SignalEncryptInput], ) (*sdk.TypedStepResult[*contracts.SignalEncryptOutput], error)
func ExecuteSignalFingerprint ¶
func ExecuteSignalFingerprint( ctx context.Context, req sdk.TypedStepRequest[*contracts.SignalFingerprintConfig, *contracts.SignalFingerprintInput], ) (*sdk.TypedStepResult[*contracts.SignalFingerprintOutput], error)
ExecuteSignalFingerprint computes a Signal safety number and scannable fingerprint from serialized identity public keys.
func ExecuteSignalInboxDecrypt ¶ added in v0.12.0
func ExecuteSignalInboxDecrypt( ctx context.Context, req sdk.TypedStepRequest[*contracts.InboxDecryptConfig, *contracts.InboxDecryptInput], ) (*sdk.TypedStepResult[*contracts.InboxDecryptOutput], error)
func ExecuteSignalInboxReceive ¶ added in v0.12.0
func ExecuteSignalInboxReceive( _ context.Context, req sdk.TypedStepRequest[*contracts.InboxReceiveConfig, *contracts.InboxReceiveInput], ) (*sdk.TypedStepResult[*contracts.InboxReceiveOutput], error)
func ExecuteSignalOutboxClaim ¶ added in v0.12.0
func ExecuteSignalOutboxClaim( _ context.Context, req sdk.TypedStepRequest[*contracts.OutboxClaimConfig, *contracts.OutboxClaimInput], ) (*sdk.TypedStepResult[*contracts.OutboxClaimOutput], error)
func ExecuteSignalOutboxEnqueue ¶ added in v0.12.0
func ExecuteSignalOutboxEnqueue( _ context.Context, req sdk.TypedStepRequest[*contracts.OutboxEnqueueConfig, *contracts.OutboxEnqueueInput], ) (*sdk.TypedStepResult[*contracts.OutboxEnqueueOutput], error)
func ExecuteSignalPublicPreKeyPublish ¶ added in v0.15.0
func ExecuteSignalPublicPreKeyPublish( ctx context.Context, req sdk.TypedStepRequest[*contracts.PublicPreKeyPublishConfig, *contracts.PublicPreKeyPublishInput], ) (*sdk.TypedStepResult[*contracts.PublicPreKeyPublishOutput], error)
func ExecuteSignalPublicPreKeyResolve ¶ added in v0.15.0
func ExecuteSignalPublicPreKeyResolve( ctx context.Context, req sdk.TypedStepRequest[*contracts.PublicPreKeyResolveConfig, *contracts.PublicPreKeyResolveInput], ) (*sdk.TypedStepResult[*contracts.PublicPreKeyResolveOutput], error)
func ExecuteSignalServiceApprovalValidate ¶ added in v0.7.0
func ExecuteSignalServiceApprovalValidate( _ context.Context, req sdk.TypedStepRequest[*contracts.ServiceApprovalValidateConfig, *contracts.ServiceApprovalValidateInput], ) (*sdk.TypedStepResult[*contracts.ServiceApprovalValidateOutput], error)
func ExecuteSignalServiceChallengeRespond ¶ added in v0.9.0
func ExecuteSignalServiceChallengeRespond( _ context.Context, req sdk.TypedStepRequest[*contracts.ServiceChallengeRespondConfig, *contracts.ServiceChallengeRespondInput], ) (*sdk.TypedStepResult[*contracts.ServiceOperationPrepareOutput], error)
func ExecuteSignalServiceComplianceCheck ¶ added in v0.5.0
func ExecuteSignalServiceComplianceCheck( _ context.Context, req sdk.TypedStepRequest[*contracts.ServiceComplianceCheckConfig, *contracts.ServiceComplianceCheckInput], ) (*sdk.TypedStepResult[*contracts.ServiceComplianceCheckOutput], error)
func ExecuteSignalServiceContractCheck ¶ added in v0.4.0
func ExecuteSignalServiceContractCheck( _ context.Context, req sdk.TypedStepRequest[*contracts.ServiceContractCheckConfig, *contracts.ServiceContractCheckInput], ) (*sdk.TypedStepResult[*contracts.ServiceContractCheckOutput], error)
func ExecuteSignalServiceLinkPrepare ¶ added in v0.9.0
func ExecuteSignalServiceLinkPrepare( _ context.Context, req sdk.TypedStepRequest[*contracts.ServiceLinkPrepareConfig, *contracts.ServiceLinkPrepareInput], ) (*sdk.TypedStepResult[*contracts.ServiceOperationPrepareOutput], error)
func ExecuteSignalServiceLiveSubmit ¶ added in v0.7.0
func ExecuteSignalServiceLiveSubmit( ctx context.Context, req sdk.TypedStepRequest[*contracts.ServiceLiveSubmitConfig, *contracts.ServiceLiveSubmitInput], ) (*sdk.TypedStepResult[*contracts.ServiceSubmitOutput], error)
func ExecuteSignalServicePolicyCheck ¶ added in v0.6.0
func ExecuteSignalServicePolicyCheck( _ context.Context, req sdk.TypedStepRequest[*contracts.ServicePolicyCheckConfig, *contracts.ServicePolicyCheckInput], ) (*sdk.TypedStepResult[*contracts.ServicePolicyCheckOutput], error)
func ExecuteSignalServiceReceiveAdmit ¶ added in v0.9.0
func ExecuteSignalServiceReceiveAdmit( _ context.Context, req sdk.TypedStepRequest[*contracts.ServiceReceiveAdmitConfig, *contracts.ServiceReceiveAdmitInput], ) (*sdk.TypedStepResult[*contracts.ServiceOperationPrepareOutput], error)
func ExecuteSignalServiceRegisterPrepare ¶ added in v0.9.0
func ExecuteSignalServiceRegisterPrepare( _ context.Context, req sdk.TypedStepRequest[*contracts.ServiceRegisterPrepareConfig, *contracts.ServiceRegisterPrepareInput], ) (*sdk.TypedStepResult[*contracts.ServiceOperationPrepareOutput], error)
func ExecuteSignalServiceSendPrepare ¶ added in v0.9.0
func ExecuteSignalServiceSendPrepare( _ context.Context, req sdk.TypedStepRequest[*contracts.ServiceSendPrepareConfig, *contracts.ServiceSendPrepareInput], ) (*sdk.TypedStepResult[*contracts.ServiceOperationPrepareOutput], error)
func ExecuteSignalServiceTestBackupDownload ¶ added in v0.10.0
func ExecuteSignalServiceTestBackupDownload( ctx context.Context, req sdk.TypedStepRequest[*contracts.ServiceTestBackupDownloadConfig, *contracts.ServiceTestBackupDownloadInput], ) (*sdk.TypedStepResult[*contracts.ServiceTestOutput], error)
func ExecuteSignalServiceTestBackupUpload ¶ added in v0.10.0
func ExecuteSignalServiceTestBackupUpload( ctx context.Context, req sdk.TypedStepRequest[*contracts.ServiceTestBackupUploadConfig, *contracts.ServiceTestBackupUploadInput], ) (*sdk.TypedStepResult[*contracts.ServiceTestOutput], error)
func ExecuteSignalServiceTestLinkDevice ¶ added in v0.6.0
func ExecuteSignalServiceTestLinkDevice( ctx context.Context, req sdk.TypedStepRequest[*contracts.ServiceTestLinkDeviceConfig, *contracts.ServiceTestLinkDeviceInput], ) (*sdk.TypedStepResult[*contracts.ServiceTestOutput], error)
func ExecuteSignalServiceTestReceive ¶ added in v0.6.0
func ExecuteSignalServiceTestReceive( ctx context.Context, req sdk.TypedStepRequest[*contracts.ServiceTestReceiveConfig, *contracts.ServiceTestReceiveInput], ) (*sdk.TypedStepResult[*contracts.ServiceTestOutput], error)
func ExecuteSignalServiceTestRegister ¶ added in v0.6.0
func ExecuteSignalServiceTestRegister( ctx context.Context, req sdk.TypedStepRequest[*contracts.ServiceTestRegisterConfig, *contracts.ServiceTestRegisterInput], ) (*sdk.TypedStepResult[*contracts.ServiceTestOutput], error)
func ExecuteSignalServiceTestSend ¶ added in v0.6.0
func ExecuteSignalServiceTestSend( ctx context.Context, req sdk.TypedStepRequest[*contracts.ServiceTestSendConfig, *contracts.ServiceTestSendInput], ) (*sdk.TypedStepResult[*contracts.ServiceTestOutput], error)
func ExecuteSignalServiceTestUsernameReserve ¶ added in v0.10.0
func ExecuteSignalServiceTestUsernameReserve( ctx context.Context, req sdk.TypedStepRequest[*contracts.ServiceTestUsernameReserveConfig, *contracts.ServiceTestUsernameReserveInput], ) (*sdk.TypedStepResult[*contracts.ServiceTestOutput], error)
func ExecuteSignalSessionPrepare ¶ added in v0.2.0
func ExecuteSignalSessionPrepare( _ context.Context, req sdk.TypedStepRequest[*contracts.SessionPrepareConfig, *contracts.SessionPrepareInput], ) (*sdk.TypedStepResult[*contracts.SessionPrepareOutput], error)
func ExecuteSignalUsernameLinkCreate ¶ added in v0.3.0
func ExecuteSignalUsernameLinkCreate( _ context.Context, req sdk.TypedStepRequest[*contracts.UsernameLinkCreateConfig, *contracts.UsernameLinkCreateInput], ) (*sdk.TypedStepResult[*contracts.UsernameLinkCreateOutput], error)
ExecuteSignalUsernameLinkCreate creates a Signal username-link ciphertext.
func ExecuteSignalUsernameLinkDecrypt ¶ added in v0.3.0
func ExecuteSignalUsernameLinkDecrypt( _ context.Context, req sdk.TypedStepRequest[*contracts.UsernameLinkDecryptConfig, *contracts.UsernameLinkDecryptInput], ) (*sdk.TypedStepResult[*contracts.UsernameLinkDecryptOutput], error)
ExecuteSignalUsernameLinkDecrypt decrypts a Signal username-link ciphertext.
func ExecuteSignalUsernameProofPrepare ¶ added in v0.9.0
func ExecuteSignalUsernameProofPrepare( _ context.Context, req sdk.TypedStepRequest[*contracts.UsernameProofPrepareConfig, *contracts.UsernameProofPrepareInput], ) (*sdk.TypedStepResult[*contracts.ServiceOperationPrepareOutput], error)
Types ¶
type SignalProvider ¶
type SignalProvider struct{}
SignalProvider implements sdk.PluginProvider, sdk.TypedModuleProvider, sdk.TypedStepProvider, and sdk.ContractProvider.
func NewSignalProvider ¶
func NewSignalProvider() *SignalProvider
NewSignalProvider creates a new SignalProvider.
func (*SignalProvider) ContractRegistry ¶
func (p *SignalProvider) ContractRegistry() *pb.ContractRegistry
ContractRegistry implements sdk.ContractProvider.
func (*SignalProvider) CreateTypedModule ¶ added in v0.2.0
func (p *SignalProvider) CreateTypedModule(typeName, name string, config *anypb.Any) (sdk.ModuleInstance, error)
CreateTypedModule implements sdk.TypedModuleProvider.
func (*SignalProvider) CreateTypedStep ¶
func (p *SignalProvider) CreateTypedStep(typeName, name string, config *anypb.Any) (sdk.StepInstance, error)
CreateTypedStep implements sdk.TypedStepProvider.
func (*SignalProvider) Manifest ¶
func (p *SignalProvider) Manifest() sdk.PluginManifest
Manifest implements sdk.PluginProvider.
func (*SignalProvider) TypedModuleTypes ¶ added in v0.2.0
func (p *SignalProvider) TypedModuleTypes() []string
TypedModuleTypes implements sdk.TypedModuleProvider.
func (*SignalProvider) TypedStepTypes ¶
func (p *SignalProvider) TypedStepTypes() []string
TypedStepTypes implements sdk.TypedStepProvider.