public interface CryptElementReceivedListener
Modifier and Type | Method and Description |
---|---|
void |
cryptElementReceived(OpenPgpContact contact,
Message originalMessage,
CryptElement cryptElement,
org.pgpainless.decryption_verification.OpenPgpMetadata metadata)
A
CryptElement has been received and successfully decrypted. |
void cryptElementReceived(OpenPgpContact contact, Message originalMessage, CryptElement cryptElement, org.pgpainless.decryption_verification.OpenPgpMetadata metadata)
CryptElement
has been received and successfully decrypted.
This listener is intended to be used by implementors of different OX usage profiles.contact
- sender of the messageoriginalMessage
- original message which contains the CryptElement
.cryptElement
- the CryptElement
itself.metadata
- metadata about the encryption