@Component public class PacketDecryptorImpl extends Object implements PacketDecryptor
| Constructor and Description |
|---|
PacketDecryptorImpl() |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
decrypt(InputStream encryptedPacket,
String registrationId)
This Method provide the functionality to decrypt packet.
|
public InputStream decrypt(InputStream encryptedPacket, String registrationId) throws PacketDecryptionFailureException, ApiNotAccessibleException
PacketDecryptordecrypt in interface PacketDecryptorencryptedPacket - encrypted packet to be decryptedregistrationId - the registration idPacketDecryptionFailureException - if error occured while decryptingApiNotAccessibleException - if error occured whileCopyright © 2020. All rights reserved.