Class: Aws::Sigv4::Signature

Inherits:
Object
  • Object
show all
Defined in:
gems/aws-sigv4/lib/aws-sigv4/signature.rb

Instance Attribute Summary collapse

Instance Attribute Details

#canonical_requestString

Returns For debugging purposes.

Returns:

  • (String)

    For debugging purposes.



27
28
29
# File 'gems/aws-sigv4/lib/aws-sigv4/signature.rb', line 27

def canonical_request
  @canonical_request
end

#content_sha256String

Returns For debugging purposes.

Returns:

  • (String)

    For debugging purposes.



33
34
35
# File 'gems/aws-sigv4/lib/aws-sigv4/signature.rb', line 33

def content_sha256
  @content_sha256
end

#extraHash

Returns Internal data for debugging purposes.

Returns:

  • (Hash)

    Internal data for debugging purposes.



39
40
41
# File 'gems/aws-sigv4/lib/aws-sigv4/signature.rb', line 39

def extra
  @extra
end

#headersHash<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'.

Returns:

  • (Hash<String,String>)

    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

#signatureString

Returns For debugging purposes.

Returns:

  • (String)

    For debugging purposes.



36
37
38
# File 'gems/aws-sigv4/lib/aws-sigv4/signature.rb', line 36

def signature
  @signature
end

#string_to_signString

Returns For debugging purposes.

Returns:

  • (String)

    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