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/Frame.java

    r1217 r1227  
    163163        private Collection<FrameObserver> _observers = new HashSet<FrameObserver>();
    164164
     165        private String _encryptionLabel;
     166
    165167        /** Default constructor, nothing is set. */
    166168        public Frame()
     
    26222624        }
    26232625
    2624         public Collection<? extends Item> getInteractableItems()
    2625         {
     2626        public Collection<? extends Item> getInteractableItems() {
    26262627                /*
    26272628                 * TODO: Cache the interactableItems list so we dont have to recreate it
     
    26552656                return _interactableItems;
    26562657        }
     2658       
     2659        public String getEncryptionLabel() {
     2660                return _encryptionLabel;
     2661        }
     2662       
     2663        public void setEncryptionLabel(String label) {
     2664                _encryptionLabel = label;
     2665        }
    26572666
    26582667        private static final class History {
Note: See TracChangeset for help on using the changeset viewer.