Documentation
¶
Index ¶
Constants ¶
View Source
const ( MethodSecretsGet = "confidential.secrets.get" MethodCapabilityExec = "confidential.capability.execute" DomainSecretsGet = "ConfidentialSecretsGet" DomainCapabilityExec = "ConfidentialCapabilityExecute" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CapabilityRequestParams ¶
type CapabilityRequestParams struct {
WorkflowID string `json:"workflow_id"`
CapabilityID string `json:"capability_id"`
Payload string `json:"payload"`
Attestation string `json:"attestation,omitempty"`
}
CapabilityRequestParams is the JSON-RPC params for "confidential.capability.execute".
type CapabilityResponseResult ¶
type CapabilityResponseResult struct {
Payload string `json:"payload,omitempty"`
Error string `json:"error,omitempty"`
}
CapabilityResponseResult is the JSON-RPC result for "confidential.capability.execute".
type SecretEntry ¶
type SecretEntry struct {
ID SecretIdentifier `json:"id"`
Ciphertext string `json:"ciphertext"`
}
SecretEntry is a single secret in the relay DON's response.
type SecretIdentifier ¶
SecretIdentifier identifies a secret by key and namespace.
type SecretsRequestParams ¶
type SecretsRequestParams struct {
WorkflowID string `json:"workflow_id"`
Secrets []SecretIdentifier `json:"secrets"`
EnclavePublicKey string `json:"enclave_public_key"`
Attestation string `json:"attestation,omitempty"`
}
SecretsRequestParams is the JSON-RPC params for "confidential.secrets.get".
type SecretsResponseResult ¶
type SecretsResponseResult struct {
Secrets []SecretEntry `json:"secrets"`
MasterPublicKey string `json:"master_public_key"`
Threshold int `json:"threshold"`
}
SecretsResponseResult is the JSON-RPC result for "confidential.secrets.get".
Click to show internal directories.
Click to hide internal directories.