Set the encryption key in a byte[] format.
Syntax
public
void
setEncryptionKey
(
byte[]
secretKey
,
String
secretKeyAlgorithm
) throws SDMPersistenceException
Parameters
-
secretKey –
The secret key for encryption
-
secretKeyAlgorithm –
The algorithm of the Secret Key
Exceptions
-
SDMPersistenceException class –
if any error in encryption occurs