set Cipher
Method to set the cipher instance
Parameters
private Key
: the private key used to decrypt the content
public Key
: the public key used to encrypt the content
Throws
when an error occurred
Method to set the cipher instance
Parameters
key Pair
: key pair from fetch the private and the public key
Throws
when an error occurred