de.flexiprovider.core.kdf
Class KDFParameterSpec

java.lang.Object
  |
  +--de.flexiprovider.core.kdf.KDFParameterSpec
All Implemented Interfaces:
AlgorithmParameterSpec, java.security.spec.AlgorithmParameterSpec

public class KDFParameterSpec
extends java.lang.Object
implements AlgorithmParameterSpec

This class specifies parameters used by the KDF1, KDF2, and X963 key derivation functions. The parameters consist of a byte array containing shared information.

Author:
Martin Döring

Constructor Summary
KDFParameterSpec(byte[] sharedInfo)
          Constructor.
 
Method Summary
 byte[] getSharedInfo()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KDFParameterSpec

public KDFParameterSpec(byte[] sharedInfo)
Constructor. Set the shared information.
Parameters:
sharedInfo - the shared information
Method Detail

getSharedInfo

public byte[] getSharedInfo()
Returns:
the shared information