urisigning

package
v5.1.2+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const CDNURIKeysBucket = "cdn_uri_sig_keys"

CDNURIKeysBucket is the namespace or bucket used for CDN URI signing keys.

Variables

This section is empty.

Functions

func GetURIsignkeysHandler

func GetURIsignkeysHandler(w http.ResponseWriter, r *http.Request)

endpoint handler for fetching uri signing keys from riak

func RemoveDeliveryServiceURIKeysHandler

func RemoveDeliveryServiceURIKeysHandler(w http.ResponseWriter, r *http.Request)

removeDeliveryServiceURIKeysHandler is the HTTP DELETE handler used to remove urisigning keys assigned to a delivery service.

func SaveDeliveryServiceURIKeysHandler

func SaveDeliveryServiceURIKeysHandler(w http.ResponseWriter, r *http.Request)

saveDeliveryServiceURIKeysHandler is the HTTP POST or PUT handler used to store urisigning keys to a delivery service.

Types

type URISignerKeyset

type URISignerKeyset struct {
	RenewalKid *string               `json:"renewal_kid"`
	Keys       []jwk.EssentialHeader `json:"keys"`
}

URISignerKeyset is the container for the CDN URI signing keys

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL