JavaTM Platform
Standard Ed. 6

クラス
javax.crypto.ShortBufferException の使用

ShortBufferException を使用しているパッケージ
javax.crypto 暗号化操作のクラスとインタフェースを提供します。 
 

javax.crypto での ShortBufferException の使用
 

ShortBufferException をスローする javax.crypto のメソッド
 int Cipher.doFinal(byte[] output, int outputOffset)
          複数の部分から成る暗号化または復号化操作 (この暗号の初期化方法により異なる) を終了します。
 void Mac.doFinal(byte[] output, int outOffset)
          MAC 操作を終了します。
 int Cipher.doFinal(byte[] input, int inputOffset, int inputLen, byte[] output)
          単一の部分から成る操作でデータを暗号化または復号化するか、複数の部分から成る操作を終了します。
 int Cipher.doFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)
          単一の部分から成る操作でデータを暗号化または復号化するか、複数の部分から成る操作を終了します。
 int Cipher.doFinal(ByteBuffer input, ByteBuffer output)
          単一の部分から成る操作でデータを暗号化または復号化するか、複数の部分から成る操作を終了します。
protected abstract  int CipherSpi.engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)
          単一の部分から成る操作でデータを暗号化または復号化するか、複数の部分から成る操作を終了します。
protected  int CipherSpi.engineDoFinal(ByteBuffer input, ByteBuffer output)
          単一の部分から成る操作でデータを暗号化または復号化するか、複数の部分から成る操作を終了します。
protected abstract  int KeyAgreementSpi.engineGenerateSecret(byte[] sharedSecret, int offset)
          共有の秘密情報を生成して、offset から始まる sharedSecret バッファー内に格納します。
protected abstract  int ExemptionMechanismSpi.engineGenExemptionBlob(byte[] output, int outputOffset)
          除外機構の鍵 Blob を生成して、結果を outputOffset から始まる output バッファーに格納します。
protected abstract  int CipherSpi.engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)
          複数の部分から成る暗号化または復号化操作 (この暗号の初期化方法により異なる) を継続し、別のデータ部分を処理します。
protected  int CipherSpi.engineUpdate(ByteBuffer input, ByteBuffer output)
          複数の部分から成る暗号化または復号化操作 (この暗号の初期化方法により異なる) を継続し、別のデータ部分を処理します。
 int KeyAgreement.generateSecret(byte[] sharedSecret, int offset)
          共有の秘密情報を生成して、offset から始まる sharedSecret バッファー内に格納します。
 int ExemptionMechanism.genExemptionBlob(byte[] output)
          除外機構の鍵 Blob を生成して、結果を output バッファーに格納します。
 int ExemptionMechanism.genExemptionBlob(byte[] output, int outputOffset)
          除外機構の鍵 Blob を生成して、結果を outputOffset から始まる output バッファーに格納します。
 int Cipher.update(byte[] input, int inputOffset, int inputLen, byte[] output)
          複数の部分から成る暗号化または復号化操作 (この暗号の初期化方法により異なる) を継続し、別のデータ部分を処理します。
 int Cipher.update(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)
          複数の部分から成る暗号化または復号化操作 (この暗号の初期化方法により異なる) を継続し、別のデータ部分を処理します。
 int Cipher.update(ByteBuffer input, ByteBuffer output)
          複数の部分から成る暗号化または復号化操作 (この暗号の初期化方法により異なる) を継続し、別のデータ部分を処理します。
 


JavaTM Platform
Standard Ed. 6

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2009 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。