# Functions
CreateResource constructs, validates, and returns a resource URL string.
LoadEncryptedPEMPrivKey decrypts the PEM encoded private key using the password provided returning a RSA private key.
LoadPEMPrivKey reads a PEM encoded RSA private key from the io.Reader.
LoadPEMPrivKeyFile reads a PEM encoded RSA private key from the file name.
NewAWSEpochTime returns a new AWSEpochTime pointer wrapping the Go time provided.
NewCannedPolicy returns a new Canned Policy constructed using the resource and expires time.
NewCookieSigner constructs and returns a new CookieSigner to be used to for signing Amazon CloudFront URL resources with.
NewURLSigner constructs and returns a new URLSigner to be used to for signing Amazon CloudFront URL resources with.
# Constants
CookieKeyIDName name of the signing Key ID cookie.
CookiePolicyName name of the policy cookie.
CookieSignatureName name of the signature cookie.
# Structs
An AWSEpochTime wraps a time value providing JSON serialization needed for AWS Policy epoch time fields.
A Condition defines the restrictions for how a signed URL can be used.
A CookieOptions optional additional options that can be applied to the signed cookies.
A CookieSigner provides signing utilities to sign Cookies for Amazon CloudFront resources.
An IPAddress wraps an IPAddress source IP providing JSON serialization information.
A Policy defines the resources that a signed will be signed for.
A Statement is a collection of conditions for resources.
An URLSigner provides URL signing utilities to sign URLs for Amazon CloudFront resources.