Skip to main content

Module authorization

Module authorization 

Source
Expand description

Authorization of an enrolled ITS-S with an AA (ETSI TS 102 941 V2.2.1 clause 6.2.3.3): request an Authorization Ticket (AT). The message construction is in super::messages; this module sends the request and checks the response.

Structs§

AuthorizationError
The authorization failed: code is the AuthorizationResponseCode returned by the AA (e.g. its-aa-unknownea) or the name of the failed check.

Functions§

authorize
Send an AuthorizationRequestMessage (with POP when pop) to aa_url and return the issued AT. With retry the same message is repeated while no response is received (ETSI TS 103 601 V2.1.1 clause 5.2).
response_code_name
ASN.1 name of an AuthorizationResponseCode (its-aa-unknownea, …).