com.amazonaws.auth

## クラス QueryStringSigner

- java.lang.Object
- - com.amazonaws.auth.AbstractAWSSigner
  - - com.amazonaws.auth.QueryStringSigner

- すべての実装されたインタフェース:
    Signer

      public class QueryStringSigner
      extends AbstractAWSSigner
      implements Signer

  Signer implementation responsible for signing an AWS query string request according to the various signature versions and hashing algorithms.

- - ### フィールドの概要

    - ### クラスから継承されたフィールド com.amazonaws.auth.AbstractAWSSigner

      `DEFAULT_ENCODING`

  - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `QueryStringSigner()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `protected void` | `addSessionCredentials(Request<?> request, AWSSessionCredentials credentials)` Adds session credentials to the request given.
    `void` | `sign(Request<?> request, AWSCredentials credentials)` This signer will add "Signature" parameter to the request.
    `void` | `sign(Request<?> request, SignatureVersion version, SigningAlgorithm algorithm, AWSCredentials credentials)` This signer will add following authentication parameters to the request: AWSAccessKeyId SignatureVersion SignatureMethod Timestamp Signature

    - ### クラスから継承されたメソッド com.amazonaws.auth.AbstractAWSSigner

      `getBinaryRequestPayload, getBinaryRequestPayloadStream, getBinaryRequestPayloadStreamWithoutQueryParams, getBinaryRequestPayloadWithoutQueryParams, getCanonicalizedEndpoint, getCanonicalizedQueryString, getCanonicalizedQueryString, getCanonicalizedResourcePath, getRequestPayload, getRequestPayloadWithoutQueryParams, getSignatureDate, getTimeOffset, hash, hash, hash, newString, sanitizeCredentials, sign, sign, signAndBase64Encode, signAndBase64Encode`

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### QueryStringSigner

          public QueryStringSigner()

  - ### メソッドの詳細

    - #### sign

          public void sign(Request<?> request,
                  AWSCredentials credentials)
                    throws AmazonClientException

      This signer will add "Signature" parameter to the request. Default signature version is "2" and default signing algorithm is "HmacSHA256". AWSAccessKeyId SignatureVersion SignatureMethod Timestamp Signature
      定義:
        `sign` インタフェース内 `Signer`
      パラメータ:
        `request` - request to be signed.
        `credentials` - The credentials used to use to sign the request.
      例外:
        `AmazonClientException`

    - #### sign

          public void sign(Request<?> request,
                  SignatureVersion version,
                  SigningAlgorithm algorithm,
                  AWSCredentials credentials)
                    throws AmazonClientException

      This signer will add following authentication parameters to the request: AWSAccessKeyId SignatureVersion SignatureMethod Timestamp Signature
      パラメータ:
        `request` - request to be signed.
        `version` - signature version. "2" is recommended.
        `algorithm` - signature algorithm. "HmacSHA256" is recommended.
      例外:
        `AmazonClientException`

    - #### addSessionCredentials

          protected void addSessionCredentials(Request<?> request,
                                   AWSSessionCredentials credentials)

      クラスからコピーされた説明: `AbstractAWSSigner`
      Adds session credentials to the request given.
      定義:
        `addSessionCredentials` クラス内 `AbstractAWSSigner`
      パラメータ:
        `request` - The request to add session credentials information to
        `credentials` - The session credentials to add to the request