Problem/Motivation

Since there are different properties for signed and unsigned messages, we should create different result classes.

Proposed resolution

Add:

  • MailhandlerAnalyzerResultInterface with documented common methods for both signed and unsigned messages
  • MailhandlerAnalyzerResultBase that implements common methods (sender, user, body)
  • MailhandlerAnalyzerResultSigned with methods specific to signed messages (signature, signed text, PGP type)
  • MailhandlerAnalyzerResult with methods specific to unsigned messages
CommentFileSizeAuthor
#4 split_result_object_for-2747199-4.patch10.15 KBmbovan

Comments

mbovan created an issue. See original summary.

mbovan’s picture

Issue summary: View changes

Updated issue summary with base properties.

  • mbovan committed bbc0c65 on 8.x-1.x
    Issue #2747199 by mbovan: Split result object for signed and unsigned...
mbovan’s picture

Status: Active » Fixed
StatusFileSize
new10.15 KB

Committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.