net.y3n20u.aeszip
クラス AesCtrBlockCipherOutputStream

java.lang.Object
  上位を拡張 java.io.OutputStream
      上位を拡張 java.io.FilterOutputStream
          上位を拡張 net.y3n20u.aeszip.AesCtrBlockCipherOutputStream
すべての実装されたインタフェース:
Closeable, Flushable

public class AesCtrBlockCipherOutputStream
extends FilterOutputStream


フィールドの概要
static String CIPHER_MODE_AES_CTR
          name of algorithm used for encryption
static byte[] INITIAL_IV
           
static String KEY_ALGORITHM
          name of algorithm used for key construction
 
クラス java.io.FilterOutputStream から継承されたフィールド
out
 
メソッドの概要
 void flush()
           
static AesCtrBlockCipherOutputStream generateDecryptInstance(OutputStream out)
           
static AesCtrBlockCipherOutputStream generateEncryptInstance(OutputStream out)
           
 void init(byte[] keyBytes)
           
 void write(byte[] b, int off, int len)
           
 
クラス java.io.FilterOutputStream から継承されたメソッド
close, write, write
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

CIPHER_MODE_AES_CTR

public static final String CIPHER_MODE_AES_CTR
name of algorithm used for encryption

関連項目:
定数フィールド値

KEY_ALGORITHM

public static final String KEY_ALGORITHM
name of algorithm used for key construction

関連項目:
定数フィールド値

INITIAL_IV

public static final byte[] INITIAL_IV
メソッドの詳細

generateEncryptInstance

public static AesCtrBlockCipherOutputStream generateEncryptInstance(OutputStream out)

generateDecryptInstance

public static AesCtrBlockCipherOutputStream generateDecryptInstance(OutputStream out)

init

public void init(byte[] keyBytes)

write

public void write(byte[] b,
                  int off,
                  int len)
           throws IOException
オーバーライド:
クラス FilterOutputStream 内の write
例外:
IOException

flush

public void flush()
           throws IOException
定義:
インタフェース Flushable 内の flush
オーバーライド:
クラス FilterOutputStream 内の flush
例外:
IOException