Ignore:
Timestamp:
01/31/19 16:34:06 (5 years ago)
Author:
bln4
Message:

org.expeditee.auth.EncryptedExpReader ->
org.expeditee.auth.EncryptedExpWriter ->
Actions ->
AttributeUtils ->
Frame ->
FrameIO ->
UserSettings ->

Changed how reading and writing encrypted files worked. A Frame attribute is now consulted to determine what to use as key for encryption. The 'profile' attribute setting is used to signal that the users personal aes key is used. Further enhancement will mean that other labels will be able to be used.


Actions ->

MailMode action now consults the database to reaquire the mail.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/gui/AttributeUtils.java

    r1200 r1227  
    197197                        _FrameAttrib.put("BackgroundColor", Frame.class.getMethod("getBackgroundColor"),
    198198                                                            Frame.class.getMethod("setBackgroundColor", pColor));
     199                        _FrameAttrib.put("EncryptionLabel", Frame.class.getMethod("getEncryptionLabel"),
     200                                                                                                Frame.class.getMethod("setEncryptionLabel", pString));
     201                       
    199202                       
    200203                        // aliases for attribute setting
    201                         _FrameAttrib.alias("fgc",        "foregroundcolor");
    202                         _FrameAttrib.alias("bgc",        "backgroundcolor");
    203                         _FrameAttrib.alias("p",          "permission");
     204                        _FrameAttrib.alias("fgc",       "foregroundcolor");
     205                        _FrameAttrib.alias("bgc",       "backgroundcolor");
     206                        _FrameAttrib.alias("p",         "permission");
     207                        _FrameAttrib.alias("enc",               "encryptionlabel");
    204208                       
    205209                       
Note: See TracChangeset for help on using the changeset viewer.