encryptInputStream
Perform Cryptographic encryption of an input stream using provided cipher key.
Return
InputStream containing the encryption of inputStream using PNConfiguration.getCipherKey.
Parameters
inputStream
InputStream to be encrypted.
cipherKey
Cipher key to be used for encryption.
Throws
Throws exception in case of failed encryption.
Perform Cryptographic encryption of an input stream using provided cipher key.
Return
InputStream containing the encryption of inputStream using cipherKey.
Parameters
inputStream
InputStream to be encrypted.
cipherKey
Cipher key to be used for encryption.
Throws
Throws exception in case of failed encryption.