docs: func createCookies(p *Policy, keyID string, privKey *rsa.PrivateKey, opt CookieOptions) ([]*http.Cookie, error) {
  	b64Sig, b64Policy, err := p.Sign(privKey)
  	if err != nil {
  		return nil, err
  	}
  
  	// Creates proper cookies
  	cPolicy := &http.Cookie{
  		Name:     CookiePolicyName,
  		Value:    string(b64Policy),
  		HttpOnly: true,
  	}
  	cSignature := &http.Cookie{
  		Name:     CookieSignatureName,
  		Value:    string(b64Sig),
  		HttpOnly: true,
  	}
  	cKey := &http.Cookie{
  		Name:     CookieKeyIDName,
  		Value:    keyID,
  		HttpOnly: true,
  	}
  
  	cookies := []*http.Cookie{cPolicy, cSignature, cKey}
  
  	// Applie the cookie options
  	for _, c := range cookies {
  		c.Path = opt.Path
  		c.Domain = opt.Domain
  		c.Secure = opt.Secure
  	}
  
  	return cookies, nil
  }