Method: ChefAPI::Authentication#encrypted_request

Defined in:
lib/chef-api/authentication.rb

#encrypted_requestString

The canonical request, encrypted by the given private key.

Returns:

  • (String)


229
230
231
# File 'lib/chef-api/authentication.rb', line 229

def encrypted_request
  canonical_key.private_encrypt(canonical_request)
end