クラスjavax.crypto.ShortBufferException
の使用

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

    ShortBufferExceptionを投げるjavax.cryptoのメソッド
    修飾子と型
    メソッド
    説明
    final int
    Cipher.doFinal(byte[] output, int outputOffset)
    このCipherオブジェクトの初期化方法に応じて、複数パートの暗号化または復号化操作を終了します。
    final int
    Cipher.doFinal(byte[] input, int inputOffset, int inputLen, byte[] output)
    単一の部分から成る操作でデータを暗号化または復号化するか、複数の部分から成る操作を終了します。
    final int
    Cipher.doFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)
    単一の部分から成る操作でデータを暗号化または復号化するか、複数の部分から成る操作を終了します。
    final int
    Cipher.doFinal(ByteBuffer input, ByteBuffer output)
    単一の部分から成る操作でデータを暗号化または復号化するか、複数の部分から成る操作を終了します。
    final 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)
    複数部分の暗号化または復号化操作(このCipherSpiオブジェクトの初期化方法に応じて)を続行し、別のデータ部分を処理します。
    protected int
    CipherSpi.engineUpdate(ByteBuffer input, ByteBuffer output)
    複数部分の暗号化または復号化操作(このCipherSpiオブジェクトの初期化方法に応じて)を続行し、別のデータ部分を処理します。
    final int
    KeyAgreement.generateSecret(byte[] sharedSecret, int offset)
    共有の秘密情報を生成して、offsetから始まるsharedSecretバッファ内に格納します。
    final int
    ExemptionMechanism.genExemptionBlob(byte[] output)
    除外メカニズムのキーBlobを生成して、結果をoutputバッファに格納します。
    final int
    ExemptionMechanism.genExemptionBlob(byte[] output, int outputOffset)
    除外メカニズムのキーBlobを生成して、結果をoutputOffsetから始まるoutputバッファに格納します。
    final int
    Cipher.update(byte[] input, int inputOffset, int inputLen, byte[] output)
    複数部分の暗号化または復号化操作(このCipherオブジェクトの初期化方法に応じて)を続行し、別のデータ部分を処理します。
    final int
    Cipher.update(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)
    複数部分の暗号化または復号化操作(このCipherオブジェクトの初期化方法に応じて)を続行し、別のデータ部分を処理します。
    final int
    Cipher.update(ByteBuffer input, ByteBuffer output)
    複数部分の暗号化または復号化操作(このCipherオブジェクトの初期化方法に応じて)を続行し、別のデータ部分を処理します。