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 NewDecryptJweRequest(server string, body DecryptJweJSONRequestBody) (*http.Request, error) + func NewDecryptJweRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewEncryptJweRequest(server string, body EncryptJweJSONRequestBody) (*http.Request, error) + func NewEncryptJweRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewSignJwsRequest(server string, body SignJwsJSONRequestBody) (*http.Request, error) + func NewSignJwsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewSignJwtRequest(server string, body SignJwtJSONRequestBody) (*http.Request, error) + func NewSignJwtRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func RegisterHandlers(router EchoRouter, si ServerInterface) + func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string) + type Client struct + Client HttpRequestDoer + RequestEditors []RequestEditorFn + Server string + func NewClient(server string, opts ...ClientOption) (*Client, error) + func (c *Client) DecryptJwe(ctx context.Context, body DecryptJweJSONRequestBody, ...) (*http.Response, error) + func (c *Client) DecryptJweWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) EncryptJwe(ctx context.Context, body EncryptJweJSONRequestBody, ...) (*http.Response, error) + func (c *Client) EncryptJweWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) SignJws(ctx context.Context, body SignJwsJSONRequestBody, ...) (*http.Response, error) + func (c *Client) SignJwsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) SignJwt(ctx context.Context, body SignJwtJSONRequestBody, ...) (*http.Response, error) + func (c *Client) SignJwtWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + type ClientInterface interface + DecryptJwe func(ctx context.Context, body DecryptJweJSONRequestBody, ...) (*http.Response, error) + DecryptJweWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + EncryptJwe func(ctx context.Context, body EncryptJweJSONRequestBody, ...) (*http.Response, error) + EncryptJweWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + SignJws func(ctx context.Context, body SignJwsJSONRequestBody, ...) (*http.Response, error) + SignJwsWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + SignJwt func(ctx context.Context, body SignJwtJSONRequestBody, ...) (*http.Response, error) + SignJwtWithBody func(ctx context.Context, 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) DecryptJweWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*DecryptJweResponse, error) + func (c *ClientWithResponses) DecryptJweWithResponse(ctx context.Context, body DecryptJweJSONRequestBody, ...) (*DecryptJweResponse, error) + func (c *ClientWithResponses) EncryptJweWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*EncryptJweResponse, error) + func (c *ClientWithResponses) EncryptJweWithResponse(ctx context.Context, body EncryptJweJSONRequestBody, ...) (*EncryptJweResponse, error) + func (c *ClientWithResponses) SignJwsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SignJwsResponse, error) + func (c *ClientWithResponses) SignJwsWithResponse(ctx context.Context, body SignJwsJSONRequestBody, ...) (*SignJwsResponse, error) + func (c *ClientWithResponses) SignJwtWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SignJwtResponse, error) + func (c *ClientWithResponses) SignJwtWithResponse(ctx context.Context, body SignJwtJSONRequestBody, ...) (*SignJwtResponse, error) + type ClientWithResponsesInterface interface + DecryptJweWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*DecryptJweResponse, error) + DecryptJweWithResponse func(ctx context.Context, body DecryptJweJSONRequestBody, ...) (*DecryptJweResponse, error) + EncryptJweWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*EncryptJweResponse, error) + EncryptJweWithResponse func(ctx context.Context, body EncryptJweJSONRequestBody, ...) (*EncryptJweResponse, error) + SignJwsWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*SignJwsResponse, error) + SignJwsWithResponse func(ctx context.Context, body SignJwsJSONRequestBody, ...) (*SignJwsResponse, error) + SignJwtWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*SignJwtResponse, error) + SignJwtWithResponse func(ctx context.Context, body SignJwtJSONRequestBody, ...) (*SignJwtResponse, error) + type DecryptJwe200JSONResponse struct + Body []byte + Headers map[string]interface{} + func (response DecryptJwe200JSONResponse) VisitDecryptJweResponse(w http.ResponseWriter) error + type DecryptJweJSONRequestBody = DecryptJweRequest + type DecryptJweRequest struct + Message string + type DecryptJweRequestObject struct + Body *DecryptJweJSONRequestBody + type DecryptJweResponse struct + ApplicationproblemJSONDefault ... + Body []byte + HTTPResponse *http.Response + JSON200 ... + func ParseDecryptJweResponse(rsp *http.Response) (*DecryptJweResponse, error) + func (r DecryptJweResponse) Status() string + func (r DecryptJweResponse) StatusCode() int + type DecryptJweResponseObject interface + VisitDecryptJweResponse func(w http.ResponseWriter) error + type DecryptJwedefaultApplicationProblemPlusJSONResponse struct + Body struct{ ... } + StatusCode int + func (response DecryptJwedefaultApplicationProblemPlusJSONResponse) VisitDecryptJweResponse(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 EncryptJwe200TextResponse string + func (response EncryptJwe200TextResponse) VisitEncryptJweResponse(w http.ResponseWriter) error + type EncryptJweJSONRequestBody = EncryptJweRequest + type EncryptJweRequest struct + Headers map[string]interface{} + Payload []byte + Receiver string + type EncryptJweRequestObject struct + Body *EncryptJweJSONRequestBody + type EncryptJweResponse struct + ApplicationproblemJSONDefault ... + Body []byte + HTTPResponse *http.Response + func ParseEncryptJweResponse(rsp *http.Response) (*EncryptJweResponse, error) + func (r EncryptJweResponse) Status() string + func (r EncryptJweResponse) StatusCode() int + type EncryptJweResponseObject interface + VisitEncryptJweResponse func(w http.ResponseWriter) error + type EncryptJwedefaultApplicationProblemPlusJSONResponse struct + Body struct{ ... } + StatusCode int + func (response EncryptJwedefaultApplicationProblemPlusJSONResponse) VisitEncryptJweResponse(w http.ResponseWriter) 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 + DecryptJwe func(ctx echo.Context) error + EncryptJwe func(ctx echo.Context) error + SignJws func(ctx echo.Context) error + SignJwt func(ctx echo.Context) error + func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface + type ServerInterfaceWrapper struct + Handler ServerInterface + func (w *ServerInterfaceWrapper) DecryptJwe(ctx echo.Context) error + func (w *ServerInterfaceWrapper) EncryptJwe(ctx echo.Context) error + func (w *ServerInterfaceWrapper) SignJws(ctx echo.Context) error + func (w *ServerInterfaceWrapper) SignJwt(ctx echo.Context) error + type SignJws200TextResponse string + func (response SignJws200TextResponse) VisitSignJwsResponse(w http.ResponseWriter) error + type SignJwsJSONRequestBody = SignJwsRequest + type SignJwsRequest struct + Detached *bool + Headers map[string]interface{} + Kid string + Payload []byte + type SignJwsRequestObject struct + Body *SignJwsJSONRequestBody + type SignJwsResponse struct + ApplicationproblemJSONDefault ... + Body []byte + HTTPResponse *http.Response + func ParseSignJwsResponse(rsp *http.Response) (*SignJwsResponse, error) + func (r SignJwsResponse) Status() string + func (r SignJwsResponse) StatusCode() int + type SignJwsResponseObject interface + VisitSignJwsResponse func(w http.ResponseWriter) error + type SignJwsdefaultApplicationProblemPlusJSONResponse struct + Body struct{ ... } + StatusCode int + func (response SignJwsdefaultApplicationProblemPlusJSONResponse) VisitSignJwsResponse(w http.ResponseWriter) error + type SignJwt200TextResponse string + func (response SignJwt200TextResponse) VisitSignJwtResponse(w http.ResponseWriter) error + type SignJwtJSONRequestBody = SignJwtRequest + type SignJwtRequest struct + Claims map[string]interface{} + Kid string + type SignJwtRequestObject struct + Body *SignJwtJSONRequestBody + type SignJwtResponse struct + ApplicationproblemJSONDefault ... + Body []byte + HTTPResponse *http.Response + func ParseSignJwtResponse(rsp *http.Response) (*SignJwtResponse, error) + func (r SignJwtResponse) Status() string + func (r SignJwtResponse) StatusCode() int + type SignJwtResponseObject interface + VisitSignJwtResponse func(w http.ResponseWriter) error + type SignJwtdefaultApplicationProblemPlusJSONResponse struct + Body struct{ ... } + StatusCode int + func (response SignJwtdefaultApplicationProblemPlusJSONResponse) VisitSignJwtResponse(w http.ResponseWriter) error + type StrictHandlerFunc = strictecho.StrictEchoHandlerFunc + type StrictMiddlewareFunc = strictecho.StrictEchoMiddlewareFunc + type StrictServerInterface interface + DecryptJwe func(ctx context.Context, request DecryptJweRequestObject) (DecryptJweResponseObject, error) + EncryptJwe func(ctx context.Context, request EncryptJweRequestObject) (EncryptJweResponseObject, error) + SignJws func(ctx context.Context, request SignJwsRequestObject) (SignJwsResponseObject, error) + SignJwt func(ctx context.Context, request SignJwtRequestObject) (SignJwtResponseObject, error) + type Wrapper struct + C crypto.KeyStore + K resolver.KeyResolver + func (w *Wrapper) DecryptJwe(ctx context.Context, request DecryptJweRequestObject) (DecryptJweResponseObject, error) + func (w *Wrapper) EncryptJwe(ctx context.Context, request EncryptJweRequestObject) (EncryptJweResponseObject, error) + func (w *Wrapper) ResolveStatusCode(err error) int + func (w *Wrapper) Routes(router core.EchoRouter) + func (w *Wrapper) SignJws(ctx context.Context, request SignJwsRequestObject) (SignJwsResponseObject, error) + func (w *Wrapper) SignJwt(ctx context.Context, signRequest SignJwtRequestObject) (SignJwtResponseObject, error) Other modules containing this package github.com/nuts-foundation/nuts-node github.com/nuts-foundation/nuts-node/v5