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.generators
Class KDFDoublePipelineIterationBytesGenerator

    java.lang.Object
      org.bouncycastle.crypto.generators.KDFDoublePipelineIterationBytesGenerator

All Implemented Interfaces:
  DerivationFunction, MacDerivationFunction

public class KDFDoublePipelineIterationBytesGenerator
extends java.lang.Object
implements MacDerivationFunction

This KDF has been defined by the publicly available NIST SP 800-108 specification.

Constructor Summary
`KDFDoublePipelineIterationBytesGenerator(Mac prf)`

Method Summary
`int` | `generateBytes(byte[] out, int outOff, int len)`
`Mac` | `getMac()` return the MAC used as the basis for the function
`void` | `init(DerivationParameters params)`

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

Constructor Detail

### KDFDoublePipelineIterationBytesGenerator

    public KDFDoublePipelineIterationBytesGenerator(Mac prf)

Method Detail

### init

    public void init(DerivationParameters params)

  Specified by:
    `init` in interface `DerivationFunction`

### getMac

    public Mac getMac()

  Description copied from interface: `MacDerivationFunction`
  return the MAC used as the basis for the function

  Specified by:
    `getMac` in interface `MacDerivationFunction`
  Returns:
    the Mac.

### generateBytes

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

  Specified by:
    `generateBytes` in interface `DerivationFunction`
  Throws:
    `DataLengthException`
    `java.lang.IllegalArgumentException`

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