changeCipherKeys

open fun changeCipherKeys(ivSpec: String, secretKey: String)

Method to change the cipher keys during the runtime

Parameters

ivSpec

: initialization vector as String

secretKey

: secret key as String


open fun changeCipherKeys(ivSpec: String, secretKey: String, algorithm: BaseCipher.Algorithm)

Method to change the cipher keys during the runtime

Parameters

ivSpec

: initialization vector as String

secretKey

: secret key as String

algorithm

: algorithm used by the cipher


open fun changeCipherKeys(ivSpec: IvParameterSpec, secretKey: SecretKey)

Method to change the cipher keys during the runtime

Parameters

ivSpec

: initialization vector as IvParameterSpec

secretKey

: secret key as SecretKey


open fun changeCipherKeys(ivSpec: IvParameterSpec, secretKey: SecretKey, algorithm: BaseCipher.Algorithm)

Method to change the cipher keys during the runtime

Parameters

ivSpec

: initialization vector as IvParameterSpec

secretKey

: secret key as SecretKey

algorithm

: algorithm used by the cipher