Package org.bouncycastle.crypto.params
Class KDFFeedbackParameters
java.lang.Object
org.bouncycastle.crypto.params.KDFFeedbackParameters
- All Implemented Interfaces:
DerivationParameters
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.
-
Method Summary
Modifier and TypeMethodDescriptionstatic KDFFeedbackParameters
createWithCounter
(byte[] ki, byte[] iv, byte[] fixedInputData, int r) static KDFFeedbackParameters
createWithoutCounter
(byte[] ki, byte[] iv, byte[] fixedInputData) byte[]
byte[]
getIV()
byte[]
getKI()
int
getR()
boolean
-
Method Details
-
createWithCounter
public static KDFFeedbackParameters createWithCounter(byte[] ki, byte[] iv, byte[] fixedInputData, int r) -
createWithoutCounter
public static KDFFeedbackParameters createWithoutCounter(byte[] ki, byte[] iv, byte[] fixedInputData) -
getKI
public byte[] getKI() -
getIV
public byte[] getIV() -
useCounter
public boolean useCounter() -
getR
public int getR() -
getFixedInputData
public byte[] getFixedInputData()
-