Documentation
¶
Index ¶
Constants ¶
View Source
const (
// KMSBasePath is the base path for all KMS endpoints.
KMSBasePath = "/kms"
)
Endpoints.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
AuthService authService
KMSService kms.Service
CryptoBoxCreator func(keyManager arieskms.KeyManager) (arieskms.CryptoBox, error)
JSONLDLoader ld.DocumentLoader
Logger log.Logger
Tracer trace.Tracer
BaseURL string
VDRResolver zcapld.VDRResolver
}
Config defines configuration for KMS operations.
type Handler ¶
type Handler interface {
Path() string
Method() string
Handle() http.HandlerFunc
Name() string
}
Handler defines an HTTP handler for the API endpoint.
type Operation ¶
type Operation struct {
// contains filtered or unexported fields
}
Operation holds dependencies for handlers.
func (*Operation) GetRESTHandlers ¶
GetRESTHandlers gets handlers available for the kms REST API.
type UpdateCapabilityReq ¶
type UpdateCapabilityReq struct {
EDVCapability json.RawMessage `json:"edvCapability,omitempty"`
}
UpdateCapabilityReq update capability request.
Click to show internal directories.
Click to hide internal directories.