Bouncy Castle Cryptography Library 1.77.0

org.bouncycastle.crypto
Interface DerivationFunction

All Known Subinterfaces:
DigestDerivationFunction, MacDerivationFunction
All Known Implementing Classes:
DHKEKGenerator, ConcatenationKDFGenerator, MGF1BytesGenerator, HKDFBytesGenerator, BrokenKDF2BytesGenerator

public interface DerivationFunction

base interface for general purpose byte derivation functions.


Method Summary
 int generateBytes(byte[] out, int outOff, int len)
           
 void init(DerivationParameters param)
           
 

Method Detail

init

public void init(DerivationParameters param)

generateBytes

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

Bouncy Castle Cryptography Library 1.77.0