MCPcopy Create free account
hub / github.com/cloudflare/cfssl / Standard

Struct Standard

auth/auth.go:40–43  ·  view source on GitHub ↗

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.

Source from the content-addressed store, hash-verified

38// be supplied additional data at creation time that will be used as
39// request || additional-data with the HMAC.
40type 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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected