Standard implements an HMAC-SHA-256 authentication provider. It may be supplied additional data at creation time that will be used as request || additional-data with the HMAC.
| 38 | // be supplied additional data at creation time that will be used as |
| 39 | // request || additional-data with the HMAC. |
| 40 | type Standard struct { |
| 41 | key []byte |
| 42 | ad []byte |
| 43 | } |
| 44 | |
| 45 | // New generates a new standard authentication provider from the key |
| 46 | // and additional data. The additional data will be used when |
nothing calls this directly
no outgoing calls
no test coverage detected