Top Description Fields Constructors Methods
org.bouncycastle.crypto.params

public final Class KDFFeedbackParameters

extends Object
implements DerivationParameters
Class Inheritance
All Implemented Interfaces
org.bouncycastle.crypto.DerivationParameters
Imports
org.bouncycastle.crypto.DerivationParameters, org.bouncycastle.util.Arrays

Note that counter is only supported at the location presented in the NIST SP 800-108 specification, not in the additional locations present in the CAVP test vectors.

Field Summary

Modifier and TypeField and Description
private final byte[]
private final byte[]
private final byte[]
private final int
r

private static final int
private final boolean

Constructor Summary

AccessConstructor and Description
private
KDFFeedbackParameters(byte[] ki, byte[] iv, byte[] fixedInputData, int r, boolean useCounter)

Method Summary

Modifier and TypeMethod and Description
public static KDFFeedbackParameters
createWithCounter(byte[] ki, final byte[] iv, byte[] fixedInputData, int r)

public static KDFFeedbackParameters
createWithoutCounter(byte[] ki, final byte[] iv, byte[] fixedInputData)

public byte[]
public byte[]
public byte[]
public int
getR()

public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fixedInputDataback to summary
private final byte[] fixedInputData
ivback to summary
private final byte[] iv
kiback to summary
private final byte[] ki
rback to summary
private final int r
UNUSED_Rback to summary
private static final int UNUSED_R
useCounterback to summary
private final boolean useCounter

Constructor Detail

KDFFeedbackParametersback to summary
private KDFFeedbackParameters(byte[] ki, byte[] iv, byte[] fixedInputData, int r, boolean useCounter)

Method Detail

createWithCounterback to summary
public static KDFFeedbackParameters createWithCounter(byte[] ki, final byte[] iv, byte[] fixedInputData, int r)
createWithoutCounterback to summary
public static KDFFeedbackParameters createWithoutCounter(byte[] ki, final byte[] iv, byte[] fixedInputData)
getFixedInputDataback to summary
public byte[] getFixedInputData()
getIVback to summary
public byte[] getIV()
getKIback to summary
public byte[] getKI()
getRback to summary
public int getR()
useCounterback to summary
public boolean useCounter()