Signs JSON Web Token
POST/vedhsm/api/signjwt
Signs and returns a JSON Web Token (JWT). Because a CodeSign Protect certificate digitally signed the token, the claims in the token can be verified and trusted.
The ResultData object that is returned is a URL Safe Base-64 encoded value of the signed JWT. If this API call was unsuccessful, the value is missing. After you use a tool to convert this value to JSON, the value includes these JOSE headers:
- typ: JWT.
- alg: The algorithm.
- kid: The key ID.
- x5u: The resource for the X.509 public key of a certificate or certificate chain.
Required scope: codesignclient
Request
Responses
- 200
- 400
- 401
- 403
Success
Missing or invalid request property.
A valid access token is required.
The API requires a scope not granted to the provided access token