Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography Library 1.84
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.bouncycastle.crypto.params
Class TweakableBlockCipherParameters

    java.lang.Object
      org.bouncycastle.crypto.params.TweakableBlockCipherParameters

All Implemented Interfaces:
  CipherParameters

public class TweakableBlockCipherParameters
extends java.lang.Object
implements CipherParameters

Parameters for tweakable block ciphers.

Constructor Summary
`TweakableBlockCipherParameters(KeyParameter key, byte[] tweak)`

Method Summary
`KeyParameter` | `getKey()` Gets the key.
`byte[]` | `getTweak()` Gets the tweak value.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### TweakableBlockCipherParameters

    public TweakableBlockCipherParameters(KeyParameter key,
                                          byte[] tweak)

Method Detail

### getKey

    public KeyParameter getKey()

  Gets the key.

  Returns:
    the key to use, or null to use the current key.

### getTweak

    public byte[] getTweak()

  Gets the tweak value.

  Returns:
    the tweak to use, or null to use the current tweak.

Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography Library 1.84
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD