Versions in this module Expand all Collapse all v6 v6.2.13 Sep 22, 2026 v6.2.12 Sep 21, 2026 Changes in this version + const JwtBearerAuthScopes + func NewAddNewVerificationMethodRequest(server string, did string, body AddNewVerificationMethodJSONRequestBody) (*http.Request, error) + func NewAddNewVerificationMethodRequestWithBody(server string, did string, contentType string, body io.Reader) (*http.Request, error) + func NewConflictedDIDsRequest(server string) (*http.Request, error) + func NewCreateDIDRequest(server string, body CreateDIDJSONRequestBody) (*http.Request, error) + func NewCreateDIDRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewDeactivateDIDRequest(server string, did string) (*http.Request, error) + func NewDeleteVerificationMethodRequest(server string, did string, kid string) (*http.Request, error) + func NewGetDIDRequest(server string, did string, params *GetDIDParams) (*http.Request, error) + func NewUpdateDIDRequest(server string, did string, body UpdateDIDJSONRequestBody) (*http.Request, error) + func NewUpdateDIDRequestWithBody(server string, did string, contentType string, body io.Reader) (*http.Request, error) + func RegisterHandlers(router EchoRouter, si ServerInterface) + func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string) + type AddNewVerificationMethod200JSONResponse VerificationMethod + func (response AddNewVerificationMethod200JSONResponse) VisitAddNewVerificationMethodResponse(w http.ResponseWriter) error + type AddNewVerificationMethodJSONRequestBody = VerificationMethodRelationship + type AddNewVerificationMethodRequestObject struct + Body *AddNewVerificationMethodJSONRequestBody + Did string + type AddNewVerificationMethodResponse struct + ApplicationproblemJSONDefault ... + Body []byte + HTTPResponse *http.Response + JSON200 *VerificationMethod + func ParseAddNewVerificationMethodResponse(rsp *http.Response) (*AddNewVerificationMethodResponse, error) + func (r AddNewVerificationMethodResponse) Status() string + func (r AddNewVerificationMethodResponse) StatusCode() int + type AddNewVerificationMethodResponseObject interface + VisitAddNewVerificationMethodResponse func(w http.ResponseWriter) error + type AddNewVerificationMethoddefaultApplicationProblemPlusJSONResponse struct + Body struct{ ... } + StatusCode int + func (response AddNewVerificationMethoddefaultApplicationProblemPlusJSONResponse) VisitAddNewVerificationMethodResponse(w http.ResponseWriter) error + type Client struct + Client HttpRequestDoer + RequestEditors []RequestEditorFn + Server string + func NewClient(server string, opts ...ClientOption) (*Client, error) + func (c *Client) AddNewVerificationMethod(ctx context.Context, did string, body AddNewVerificationMethodJSONRequestBody, ...) (*http.Response, error) + func (c *Client) AddNewVerificationMethodWithBody(ctx context.Context, did string, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) ConflictedDIDs(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) CreateDID(ctx context.Context, body CreateDIDJSONRequestBody, ...) (*http.Response, error) + func (c *Client) CreateDIDWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) DeactivateDID(ctx context.Context, did string, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) DeleteVerificationMethod(ctx context.Context, did string, kid string, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) GetDID(ctx context.Context, did string, params *GetDIDParams, ...) (*http.Response, error) + func (c *Client) UpdateDID(ctx context.Context, did string, body UpdateDIDJSONRequestBody, ...) (*http.Response, error) + func (c *Client) UpdateDIDWithBody(ctx context.Context, did string, contentType string, body io.Reader, ...) (*http.Response, error) + type ClientInterface interface + AddNewVerificationMethod func(ctx context.Context, did string, body AddNewVerificationMethodJSONRequestBody, ...) (*http.Response, error) + AddNewVerificationMethodWithBody func(ctx context.Context, did string, contentType string, body io.Reader, ...) (*http.Response, error) + ConflictedDIDs func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + CreateDID func(ctx context.Context, body CreateDIDJSONRequestBody, ...) (*http.Response, error) + CreateDIDWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + DeactivateDID func(ctx context.Context, did string, reqEditors ...RequestEditorFn) (*http.Response, error) + DeleteVerificationMethod func(ctx context.Context, did string, kid string, reqEditors ...RequestEditorFn) (*http.Response, error) + GetDID func(ctx context.Context, did string, params *GetDIDParams, ...) (*http.Response, error) + UpdateDID func(ctx context.Context, did string, body UpdateDIDJSONRequestBody, ...) (*http.Response, error) + UpdateDIDWithBody func(ctx context.Context, did string, contentType string, body io.Reader, ...) (*http.Response, error) + type ClientOption func(*Client) error + func WithBaseURL(baseURL string) ClientOption + func WithHTTPClient(doer HttpRequestDoer) ClientOption + func WithRequestEditorFn(fn RequestEditorFn) ClientOption + type ClientWithResponses struct + func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error) + func (c *ClientWithResponses) AddNewVerificationMethodWithBodyWithResponse(ctx context.Context, did string, contentType string, body io.Reader, ...) (*AddNewVerificationMethodResponse, error) + func (c *ClientWithResponses) AddNewVerificationMethodWithResponse(ctx context.Context, did string, body AddNewVerificationMethodJSONRequestBody, ...) (*AddNewVerificationMethodResponse, error) + func (c *ClientWithResponses) ConflictedDIDsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ConflictedDIDsResponse, error) + func (c *ClientWithResponses) CreateDIDWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateDIDResponse, error) + func (c *ClientWithResponses) CreateDIDWithResponse(ctx context.Context, body CreateDIDJSONRequestBody, ...) (*CreateDIDResponse, error) + func (c *ClientWithResponses) DeactivateDIDWithResponse(ctx context.Context, did string, reqEditors ...RequestEditorFn) (*DeactivateDIDResponse, error) + func (c *ClientWithResponses) DeleteVerificationMethodWithResponse(ctx context.Context, did string, kid string, reqEditors ...RequestEditorFn) (*DeleteVerificationMethodResponse, error) + func (c *ClientWithResponses) GetDIDWithResponse(ctx context.Context, did string, params *GetDIDParams, ...) (*GetDIDResponse, error) + func (c *ClientWithResponses) UpdateDIDWithBodyWithResponse(ctx context.Context, did string, contentType string, body io.Reader, ...) (*UpdateDIDResponse, error) + func (c *ClientWithResponses) UpdateDIDWithResponse(ctx context.Context, did string, body UpdateDIDJSONRequestBody, ...) (*UpdateDIDResponse, error) + type ClientWithResponsesInterface interface + AddNewVerificationMethodWithBodyWithResponse func(ctx context.Context, did string, contentType string, body io.Reader, ...) (*AddNewVerificationMethodResponse, error) + AddNewVerificationMethodWithResponse func(ctx context.Context, did string, body AddNewVerificationMethodJSONRequestBody, ...) (*AddNewVerificationMethodResponse, error) + ConflictedDIDsWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*ConflictedDIDsResponse, error) + CreateDIDWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*CreateDIDResponse, error) + CreateDIDWithResponse func(ctx context.Context, body CreateDIDJSONRequestBody, ...) (*CreateDIDResponse, error) + DeactivateDIDWithResponse func(ctx context.Context, did string, reqEditors ...RequestEditorFn) (*DeactivateDIDResponse, error) + DeleteVerificationMethodWithResponse func(ctx context.Context, did string, kid string, reqEditors ...RequestEditorFn) (*DeleteVerificationMethodResponse, error) + GetDIDWithResponse func(ctx context.Context, did string, params *GetDIDParams, ...) (*GetDIDResponse, error) + UpdateDIDWithBodyWithResponse func(ctx context.Context, did string, contentType string, body io.Reader, ...) (*UpdateDIDResponse, error) + UpdateDIDWithResponse func(ctx context.Context, did string, body UpdateDIDJSONRequestBody, ...) (*UpdateDIDResponse, error) + type ConflictedDIDs200JSONResponse []DIDResolutionResult + func (response ConflictedDIDs200JSONResponse) VisitConflictedDIDsResponse(w http.ResponseWriter) error + type ConflictedDIDsRequestObject struct + type ConflictedDIDsResponse struct + ApplicationproblemJSONDefault ... + Body []byte + HTTPResponse *http.Response + JSON200 *[]DIDResolutionResult + func ParseConflictedDIDsResponse(rsp *http.Response) (*ConflictedDIDsResponse, error) + func (r ConflictedDIDsResponse) Status() string + func (r ConflictedDIDsResponse) StatusCode() int + type ConflictedDIDsResponseObject interface + VisitConflictedDIDsResponse func(w http.ResponseWriter) error + type ConflictedDIDsdefaultApplicationProblemPlusJSONResponse struct + Body struct{ ... } + StatusCode int + func (response ConflictedDIDsdefaultApplicationProblemPlusJSONResponse) VisitConflictedDIDsResponse(w http.ResponseWriter) error + type CreateDID200JSONResponse DIDDocument + func (response CreateDID200JSONResponse) VisitCreateDIDResponse(w http.ResponseWriter) error + type CreateDIDJSONRequestBody = DIDCreateRequest + type CreateDIDRequestObject struct + Body *CreateDIDJSONRequestBody + type CreateDIDResponse struct + ApplicationproblemJSONDefault ... + Body []byte + HTTPResponse *http.Response + JSON200 *DIDDocument + func ParseCreateDIDResponse(rsp *http.Response) (*CreateDIDResponse, error) + func (r CreateDIDResponse) Status() string + func (r CreateDIDResponse) StatusCode() int + type CreateDIDResponseObject interface + VisitCreateDIDResponse func(w http.ResponseWriter) error + type CreateDIDdefaultApplicationProblemPlusJSONResponse struct + Body struct{ ... } + StatusCode int + func (response CreateDIDdefaultApplicationProblemPlusJSONResponse) VisitCreateDIDResponse(w http.ResponseWriter) error + type DIDCreateRequest struct + Controllers *[]string + SelfControl *bool + type DIDDocument = did.Document + type DIDDocumentMetadata = resolver.DocumentMetadata + type DIDResolutionResult struct + Document DIDDocument + DocumentMetadata DIDDocumentMetadata + type DIDUpdateRequest struct + CurrentHash string + Document DIDDocument + type DeactivateDID200Response struct + func (response DeactivateDID200Response) VisitDeactivateDIDResponse(w http.ResponseWriter) error + type DeactivateDIDRequestObject struct + Did string + type DeactivateDIDResponse struct + ApplicationproblemJSONDefault ... + Body []byte + HTTPResponse *http.Response + func ParseDeactivateDIDResponse(rsp *http.Response) (*DeactivateDIDResponse, error) + func (r DeactivateDIDResponse) Status() string + func (r DeactivateDIDResponse) StatusCode() int + type DeactivateDIDResponseObject interface + VisitDeactivateDIDResponse func(w http.ResponseWriter) error + type DeactivateDIDdefaultApplicationProblemPlusJSONResponse struct + Body struct{ ... } + StatusCode int + func (response DeactivateDIDdefaultApplicationProblemPlusJSONResponse) VisitDeactivateDIDResponse(w http.ResponseWriter) error + type DeleteVerificationMethod204Response struct + func (response DeleteVerificationMethod204Response) VisitDeleteVerificationMethodResponse(w http.ResponseWriter) error + type DeleteVerificationMethodRequestObject struct + Did string + Kid string + type DeleteVerificationMethodResponse struct + ApplicationproblemJSONDefault ... + Body []byte + HTTPResponse *http.Response + func ParseDeleteVerificationMethodResponse(rsp *http.Response) (*DeleteVerificationMethodResponse, error) + func (r DeleteVerificationMethodResponse) Status() string + func (r DeleteVerificationMethodResponse) StatusCode() int + type DeleteVerificationMethodResponseObject interface + VisitDeleteVerificationMethodResponse func(w http.ResponseWriter) error + type DeleteVerificationMethoddefaultApplicationProblemPlusJSONResponse struct + Body struct{ ... } + StatusCode int + func (response DeleteVerificationMethoddefaultApplicationProblemPlusJSONResponse) VisitDeleteVerificationMethodResponse(w http.ResponseWriter) error + type EchoRouter interface + CONNECT func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + DELETE func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + GET func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + HEAD func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + OPTIONS func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + PATCH func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + POST func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + PUT func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + TRACE func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + type GetDID200JSONResponse DIDResolutionResult + func (response GetDID200JSONResponse) VisitGetDIDResponse(w http.ResponseWriter) error + type GetDIDParams struct + VersionId *string + VersionTime *string + type GetDIDRequestObject struct + Did string + Params GetDIDParams + type GetDIDResponse struct + ApplicationproblemJSONDefault ... + Body []byte + HTTPResponse *http.Response + JSON200 *DIDResolutionResult + func ParseGetDIDResponse(rsp *http.Response) (*GetDIDResponse, error) + func (r GetDIDResponse) Status() string + func (r GetDIDResponse) StatusCode() int + type GetDIDResponseObject interface + VisitGetDIDResponse func(w http.ResponseWriter) error + type GetDIDdefaultApplicationProblemPlusJSONResponse struct + Body struct{ ... } + StatusCode int + func (response GetDIDdefaultApplicationProblemPlusJSONResponse) VisitGetDIDResponse(w http.ResponseWriter) error + type HTTPClient struct + TokenGenerator core.AuthorizationTokenGenerator + func (hb HTTPClient) AddNewVerificationMethod(DID string) (*did.VerificationMethod, error) + func (hb HTTPClient) ConflictedDIDs() ([]DIDResolutionResult, error) + func (hb HTTPClient) Create(createRequest DIDCreateRequest) (*did.Document, error) + func (hb HTTPClient) Deactivate(DID string) error + func (hb HTTPClient) DeleteVerificationMethod(DID, kid string) error + func (hb HTTPClient) Get(DID string) (*DIDDocument, *DIDDocumentMetadata, error) + func (hb HTTPClient) Update(DID string, current string, next did.Document) (*did.Document, error) + type HttpRequestDoer interface + Do func(req *http.Request) (*http.Response, error) + type RequestEditorFn func(ctx context.Context, req *http.Request) error + type ServerInterface interface + AddNewVerificationMethod func(ctx echo.Context, did string) error + ConflictedDIDs func(ctx echo.Context) error + CreateDID func(ctx echo.Context) error + DeactivateDID func(ctx echo.Context, did string) error + DeleteVerificationMethod func(ctx echo.Context, did string, kid string) error + GetDID func(ctx echo.Context, did string, params GetDIDParams) error + UpdateDID func(ctx echo.Context, did string) error + func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface + type ServerInterfaceWrapper struct + Handler ServerInterface + func (w *ServerInterfaceWrapper) AddNewVerificationMethod(ctx echo.Context) error + func (w *ServerInterfaceWrapper) ConflictedDIDs(ctx echo.Context) error + func (w *ServerInterfaceWrapper) CreateDID(ctx echo.Context) error + func (w *ServerInterfaceWrapper) DeactivateDID(ctx echo.Context) error + func (w *ServerInterfaceWrapper) DeleteVerificationMethod(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetDID(ctx echo.Context) error + func (w *ServerInterfaceWrapper) UpdateDID(ctx echo.Context) error + type StrictHandlerFunc = strictecho.StrictEchoHandlerFunc + type StrictMiddlewareFunc = strictecho.StrictEchoMiddlewareFunc + type StrictServerInterface interface + AddNewVerificationMethod func(ctx context.Context, request AddNewVerificationMethodRequestObject) (AddNewVerificationMethodResponseObject, error) + ConflictedDIDs func(ctx context.Context, request ConflictedDIDsRequestObject) (ConflictedDIDsResponseObject, error) + CreateDID func(ctx context.Context, request CreateDIDRequestObject) (CreateDIDResponseObject, error) + DeactivateDID func(ctx context.Context, request DeactivateDIDRequestObject) (DeactivateDIDResponseObject, error) + DeleteVerificationMethod func(ctx context.Context, request DeleteVerificationMethodRequestObject) (DeleteVerificationMethodResponseObject, error) + GetDID func(ctx context.Context, request GetDIDRequestObject) (GetDIDResponseObject, error) + UpdateDID func(ctx context.Context, request UpdateDIDRequestObject) (UpdateDIDResponseObject, error) + type UpdateDID200JSONResponse DIDDocument + func (response UpdateDID200JSONResponse) VisitUpdateDIDResponse(w http.ResponseWriter) error + type UpdateDIDJSONRequestBody = DIDUpdateRequest + type UpdateDIDRequestObject struct + Body *UpdateDIDJSONRequestBody + Did string + type UpdateDIDResponse struct + ApplicationproblemJSONDefault ... + Body []byte + HTTPResponse *http.Response + JSON200 *DIDDocument + func ParseUpdateDIDResponse(rsp *http.Response) (*UpdateDIDResponse, error) + func (r UpdateDIDResponse) Status() string + func (r UpdateDIDResponse) StatusCode() int + type UpdateDIDResponseObject interface + VisitUpdateDIDResponse func(w http.ResponseWriter) error + type UpdateDIDdefaultApplicationProblemPlusJSONResponse struct + Body struct{ ... } + StatusCode int + func (response UpdateDIDdefaultApplicationProblemPlusJSONResponse) VisitUpdateDIDResponse(w http.ResponseWriter) error + type VerificationMethod = did.VerificationMethod + type VerificationMethodRelationship struct + AssertionMethod *bool + Authentication *bool + CapabilityDelegation *bool + CapabilityInvocation *bool + KeyAgreement *bool + func (r VerificationMethodRelationship) ToFlags(defaults orm.DIDKeyFlags) orm.DIDKeyFlags + type Wrapper struct + SubjectManager didsubject.Manager + VDR vdr.VDR + func (a *Wrapper) AddNewVerificationMethod(ctx context.Context, request AddNewVerificationMethodRequestObject) (AddNewVerificationMethodResponseObject, error) + func (a *Wrapper) ConflictedDIDs(_ context.Context, _ ConflictedDIDsRequestObject) (ConflictedDIDsResponseObject, error) + func (a *Wrapper) CreateDID(ctx context.Context, _ CreateDIDRequestObject) (CreateDIDResponseObject, error) + func (a *Wrapper) DeactivateDID(ctx context.Context, request DeactivateDIDRequestObject) (DeactivateDIDResponseObject, error) + func (a *Wrapper) DeleteVerificationMethod(ctx context.Context, request DeleteVerificationMethodRequestObject) (DeleteVerificationMethodResponseObject, error) + func (a *Wrapper) GetDID(ctx context.Context, request GetDIDRequestObject) (GetDIDResponseObject, error) + func (a *Wrapper) ResolveStatusCode(err error) int + func (a *Wrapper) Routes(router core.EchoRouter) + func (a *Wrapper) UpdateDID(ctx context.Context, request UpdateDIDRequestObject) (UpdateDIDResponseObject, error) Other modules containing this package github.com/nuts-foundation/nuts-node github.com/nuts-foundation/nuts-node/v5