changeCipherKeys

open fun changeCipherKeys(privateKey: String, publicKey: String)

Method to change the cipher keys during the runtime

Parameters

privateKey

: the private key used to decrypt the content

publicKey

: the public key used to encrypt the content

Throws

when an error occurred


open fun changeCipherKeys(keyPair: KeyPair)

Method to change the cipher keys during the runtime

Parameters

keyPair

: key pair from fetch the private and the public key


open fun changeCipherKeys(privateKey: PrivateKey, publicKey: PublicKey)

Method to change the cipher keys during the runtime

Parameters

privateKey

: the private key used to decrypt the content

publicKey

: the public key used to encrypt the content