com.amazonaws.services.s3.internal

## クラス S3Signer

- java.lang.Object
- - com.amazonaws.auth.AbstractAWSSigner
  - - com.amazonaws.services.s3.internal.S3Signer

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

      public class S3Signer
      extends AbstractAWSSigner

  Implementation of the Signer interface specific to S3's signing algorithm.

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

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

      `DEFAULT_ENCODING`

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

    コンストラクタ
    コンストラクタと説明
    `S3Signer(java.lang.String httpVerb, java.lang.String resourcePath)` Constructs a new S3Signer to sign requests based on the AWS credentials, HTTP method and canonical S3 resource path.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `protected void` | `addSessionCredentials(Request<?> request, AWSSessionCredentials credentials)` Adds session credentials to the request given.
    `void` | `sign(Request<?> request, AWSCredentials credentials)`

    - ### クラスから継承されたメソッド 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`

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

    - #### S3Signer

          public S3Signer(java.lang.String httpVerb,
                  java.lang.String resourcePath)

      Constructs a new S3Signer to sign requests based on the AWS credentials, HTTP method and canonical S3 resource path.
      パラメータ:
        `credentials` - The AWS credentials to use to sign the request.
        `httpVerb` - The HTTP verb (GET, PUT, POST, HEAD, DELETE) the request is using.
        `resourcePath` - The canonical S3 resource path (ex: "/", "//", or "//".

  - ### メソッドの詳細

    - #### sign

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

      例外:
        `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