setKeys

open fun setKeys(privateKey: String, publicKey: String)
open fun setKeys(privateKey: PrivateKey, publicKey: PublicKey)

Method to set the keys

Parameters

privateKey

: the private key used to decrypt the content

publicKey

: the public key used to encrypt the content


open fun setKeys(keyPair: KeyPair)

Method to set the keys

Parameters

keyPair

: key pair from fetch the private and the public key