class Aws::CloudFront::UrlSigner

def sign_policy(policy)

create the signature string with policy signed
def sign_policy(policy)
  key = OpenSSL::PKey::RSA.new(@private_key)
  key.sign(OpenSSL::Digest::SHA1.new, policy)
end