クラスjavax.crypto.ShortBufferException
の使用

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

    ShortBufferExceptionをスローするjavax.cryptoのメソッド 
    修飾子と型 メソッド 説明
    int Cipher.doFinal​(byte[] output, int outputOffset)
    複数の部分から成る暗号化または復号化操作(この暗号の初期化方法により異なります)を終了します。
    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)
    単一の部分から成る操作でデータを暗号化または復号化するか、複数の部分から成る操作を終了します。
    void Mac.doFinal​(byte[] output, int outOffset)
    MAC操作を終了します。
    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)
    複数の部分から成る暗号化または復号化操作(この暗号の初期化方法により異なる)を継続し、別のデータ部分を処理します。