Credentials - Architecture¶
General Message Flow¶
HttpRequestValidator¶
These classes validate the http attributes for requests, e.g. content-types, body size etc.
RequestMessageParser¶
These classes parse PKI messages, e.g., CSRs and CMP messages.
Authentication¶
The Authentication classes explicitly only handle the authentication, that is, they check if the authentication method applied to the request is allowed and validate it. If all checks were successfull, the corresponding DeviceModel is returned.
CsrAdapter¶
This class is an implementation of the adapter pattern so that the same code for handling certificate requests can be used.