Class: Aws::Sigv4::Signature
- Inherits:
-
Object
- Object
- Aws::Sigv4::Signature
- Defined in:
- gems/aws-sigv4/lib/aws-sigv4/signature.rb
Instance Attribute Summary collapse
-
#canonical_request ⇒ String
For debugging purposes.
-
#content_sha256 ⇒ String
For debugging purposes.
-
#extra ⇒ Hash
Internal data for debugging purposes.
-
#headers ⇒ Hash<String,String>
A hash of headers that should be applied to the HTTP request.
-
#signature ⇒ String
For debugging purposes.
-
#string_to_sign ⇒ String
For debugging purposes.
Instance Attribute Details
#canonical_request ⇒ String
Returns For debugging purposes.
27 28 29 |
# File 'gems/aws-sigv4/lib/aws-sigv4/signature.rb', line 27 def canonical_request @canonical_request end |
#content_sha256 ⇒ String
Returns For debugging purposes.
33 34 35 |
# File 'gems/aws-sigv4/lib/aws-sigv4/signature.rb', line 33 def content_sha256 @content_sha256 end |
#extra ⇒ Hash
Returns Internal data for debugging purposes.
39 40 41 |
# File 'gems/aws-sigv4/lib/aws-sigv4/signature.rb', line 39 def extra @extra end |
#headers ⇒ Hash<String,String>
Returns A hash of headers that should be applied to the HTTP request. Header keys are lower cased strings and may include the following:
- 'host'
- 'x-amz-date'
- 'x-amz-security-token'
- 'x-amz-content-sha256'
- 'authorization'.
24 25 26 |
# File 'gems/aws-sigv4/lib/aws-sigv4/signature.rb', line 24 def headers @headers end |
#signature ⇒ String
Returns For debugging purposes.
36 37 38 |
# File 'gems/aws-sigv4/lib/aws-sigv4/signature.rb', line 36 def signature @signature end |
#string_to_sign ⇒ String
Returns For debugging purposes.
30 31 32 |
# File 'gems/aws-sigv4/lib/aws-sigv4/signature.rb', line 30 def string_to_sign @string_to_sign end |