Interface PacketDecryptor
-
- All Known Implementing Classes:
PacketDecryptorImpl
public interface PacketDecryptorThe Interface Decryptor.- Author:
- Sowmya
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputStreamdecrypt(InputStream input, String registrationId)This Method provide the functionality to decrypt packet.
-
-
-
Method Detail
-
decrypt
InputStream decrypt(InputStream input, String registrationId) throws PacketDecryptionFailureException, ApiNotAccessibleException
This Method provide the functionality to decrypt packet.- Parameters:
input- encrypted packet to be decryptedregistrationId- the registration id- Returns:
- decrypted packet
- Throws:
PacketDecryptionFailureException- if error occured while decryptingApiNotAccessibleException- if error occured while
-
-