com.ibm.crypto.fips.provider
Interface FeedbackCipher
- public interface FeedbackCipher
This interface represents the type of cipher that has a feedback mechanism
built into it, such as CBC or CFB.
- Version:
- 1.10, 10/26/98
- Author:
- Jan Luehe
Method Summary |
java.lang.String |
getFeedback()
Gets the name of the feedback mechanism |
byte[] |
getIV()
Gets the initialization vector. |
void |
reset()
Resets the iv to its original value. |
getFeedback
public java.lang.String getFeedback()
- Gets the name of the feedback mechanism
- Returns:
- the name of the feedback mechanism
getIV
public byte[] getIV()
- Gets the initialization vector.
- Returns:
- the initialization vector
reset
public 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).