com.ibm.crypto.fips.provider
Interface FeedbackCipher
-
- All Known Implementing Classes:
- FullHardwareAESCipher, FullHardwareDESedeCipher
public interface FeedbackCipherThis interface represents the type of cipher that has a feedback mechanism built into it, such as CBC or CFB.
-
-
Method Summary
Methods Modifier and Type Method and Description java.lang.StringgetFeedback()Gets the name of the feedback mechanismbyte[]getIV()Gets the initialization vector.voidreset()Resets the iv to its original value.
-
-
-
Method Detail
-
getFeedback
java.lang.String getFeedback()
Gets the name of the feedback mechanism- Returns:
- the name of the feedback mechanism
-
getIV
byte[] getIV()
Gets the initialization vector.- Returns:
- the initialization vector
-
reset
void reset()
Resets the iv to its original value. This is used when doFinal is called in the Cipher class, so that the cipher can be reused (with its original iv).
-
-