decrypt
abstract fun decrypt(encryptedBytes: ByteArray, encryptedResourceMetadata: ResourceMetadata, xmlEncryptionEntry: XmlEncryptionEntry): ByteArray
Decrypts the passed encryptedBytes return decrypted ByteArray
Throws
If the data cannot be decrypted at this point, but might be later.
Like for example if the decryption algorithm needs to fetch additional data from the internet while the user temporarily has no internet connection.
The caller MAY try to recover by trying to decrypt the data again later.
Content copied to clipboard
If `decrypt()` fails for any other reason.
Content copied to clipboard