com.ibm.crypto.fips.provider

Interface FeedbackCipher


  1. 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

Modifier and Type Method and Description
  1. java.lang.String
getFeedback()
Gets the name of the feedback mechanism
  1. byte[]
getIV()
Gets the initialization vector.
  1. void
reset()
Resets the iv to its original value.

Method Detail

getFeedback

  1. java.lang.String getFeedback()
Gets the name of the feedback mechanism
Returns:
the name of the feedback mechanism

getIV

  1. byte[] getIV()
Gets the initialization vector.
Returns:
the initialization vector

reset

  1. 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).