|
Preamble
4. Protocol Directives
4.11. mac
|
4.11. macThe To create a message authentication code for a message either prior to sending it or in order to validate it, the appropriate computation is made as follows: Request: mac = base64enc( HMAC( request-mac-key, request-transcript ) ) Response: mac = base64enc( HMAC( response-mac-key, response-transcript ) ) where the following apply:
The message authentication codes are formulated so as to provide the following:
The sender of a message computes and provides the message authentication code for that message. To validate it,
the recipient of the message also computes its message authentication code and compares the received value with the
computed value. If (1) they are strictly equal, and (2) the |