Imports github.com/cloudfoundry/bosh-utils/crypto github.com/cloudfoundry/bosh-utils/errors github.com/cloudfoundry/bosh-utils/httpclient github.com/cloudfoundry/bosh-utils/logger Standard library imports crypto/x509 encoding/base64 encoding/json fmt io/ioutil net net/http net/url sort strconv strings time