Class AwsRequestSignature

java.lang.Object
com.google.auth.oauth2.AwsRequestSignature

class AwsRequestSignature extends Object
Stores the AWS API request signature based on the AWS Signature Version 4 signing process, and the parameters used in the signing process.
  • Field Details

    • awsSecurityCredentials

      private AwsSecurityCredentials awsSecurityCredentials
    • canonicalHeaders

      private Map<String,String> canonicalHeaders
    • signature

      private String signature
    • credentialScope

      private String credentialScope
    • url

      private String url
    • httpMethod

      private String httpMethod
    • date

      private String date
    • region

      private String region
    • authorizationHeader

      private String authorizationHeader
  • Constructor Details

  • Method Details

    • getSignature

      String getSignature()
      Returns the request signature based on the AWS Signature Version 4 signing process.
    • getCredentialScope

      String getCredentialScope()
      Returns the credential scope. e.g. 20150830/us-east-1/iam/aws4_request
    • getSecurityCredentials

      AwsSecurityCredentials getSecurityCredentials()
      Returns the AWS security credentials.
    • getUrl

      String getUrl()
      Returns the request URL.
    • getHttpMethod

      String getHttpMethod()
      Returns the HTTP request method.
    • getCanonicalHeaders

      Map<String,String> getCanonicalHeaders()
      Returns the HTTP request canonical headers.
    • getDate

      String getDate()
      Returns the request date.
    • getRegion

      String getRegion()
      Returns the targeted region.
    • getAuthorizationHeader

      String getAuthorizationHeader()
      Returns the authorization header.