com.amazonaws.services.s3.internal

## クラス RepeatableCipherInputStream

- java.lang.Object
- - java.io.InputStream
  - - java.io.FilterInputStream
    - - com.amazonaws.services.s3.internal.AbstractRepeatableInputStream
      - - com.amazonaws.services.s3.internal.RepeatableCipherInputStream

- すべての実装されたインタフェース:
    java.io.Closeable, java.lang.AutoCloseable

      public class RepeatableCipherInputStream
      extends AbstractRepeatableInputStream

  Wraps an InputStream with a CipherInputStream to encrypt it, and handles resets by attempting to reset on the original, unencrypted data InputStream, and recreate an identical Cipher and identical CipherInputStream on the original data.

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

    - ### クラスから継承されたフィールド java.io.FilterInputStream

      `in`

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

    コンストラクタ
    コンストラクタと説明
    `RepeatableCipherInputStream(java.io.InputStream input, CipherFactory cipherFactory)` Constructs a new repeatable cipher input stream using the specified InputStream as the source data, and the CipherFactory for building Cipher objects.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `protected void` | `reopenWrappedStream()`

    - ### クラスから継承されたメソッド com.amazonaws.services.s3.internal.AbstractRepeatableInputStream

      `mark, markSupported, read, read, reset, skip`

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

      `available, close, read`

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

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

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

    - #### RepeatableCipherInputStream

          public RepeatableCipherInputStream(java.io.InputStream input,
                                     CipherFactory cipherFactory)

      Constructs a new repeatable cipher input stream using the specified InputStream as the source data, and the CipherFactory for building Cipher objects.
      パラメータ:
        `input` - The original, unencrypted data stream. This stream should be markable/resetable in order for this class to work correctly.
        `cipherFactory` - The factory used for creating identical cipher objects when this stream is reset and a new CipherInputStream is needed.

  - ### メソッドの詳細

    - #### reopenWrappedStream

          protected void reopenWrappedStream()
                                      throws java.io.IOException

      定義:
        `reopenWrappedStream` クラス内 `AbstractRepeatableInputStream`
      例外:
        `java.io.IOException`