public interface OxMessageListener
Modifier and Type | Method and Description |
---|---|
void |
newIncomingOxMessage(OpenPgpContact contact,
Message originalMessage,
SigncryptElement decryptedPayload,
org.pgpainless.decryption_verification.OpenPgpMetadata metadata)
This method gets invoked, whenever an OX-IM encrypted message gets received.
|
void newIncomingOxMessage(OpenPgpContact contact, Message originalMessage, SigncryptElement decryptedPayload, org.pgpainless.decryption_verification.OpenPgpMetadata metadata)
contact
- OpenPgpContact
which sent the message.originalMessage
- the received message that is carrying the encrypted OpenPgpElement
.decryptedPayload
- decrypted SigncryptElement
which is carrying the payload.metadata
- metadata about the encryption and signing