Values and constants
hash signature mechanism
For HashSignatureMechanism the following values values are supported:
- SHA256withRSA
- SHA384withRSA
- SHA512withRSA
- SHA256withECDSA
- SHA384withECDSA
- SHA512withECDSA
ECDSA signature format
The signature created by the A-Trust server is an ECDSA signature in the following format:
Errorcodes
The following error messages are returned by the A-Trust service
| HTTP statuscode | description |
|---|---|
| 200 | OK & success |
| 400 | bad request & error parsing the request |
| 404 | not found & no seal for the given serial number or authentication certificate found |
| 422 | unprocessable entity & given and do not match |
| 500 | internal server error & internal error |