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

## org.bouncycastle.crypto
Interface DerivationFunction

All Known Implementing Classes:
  MGF1BytesGenerator, KDF2BytesGenerator

public interface DerivationFunction

base interface for general purpose byte derivation functions.

Method Summary
`int` | `generateBytes(byte[] out, int outOff, int len)`
`Digest` | `getDigest()` return the message digest used as the basis for the function
`void` | `init(DerivationParameters param)`

Method Detail

### init

    public void init(DerivationParameters param)

### getDigest

    public Digest getDigest()

  return the message digest used as the basis for the function

### generateBytes

    public int generateBytes(byte[] out,
                             int outOff,
                             int len)
                      throws DataLengthException,
                             java.lang.IllegalArgumentException

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