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