Ignore:
Timestamp:
03/15/19 16:51:32 (5 years ago)
Author:
bln4
Message:

Alterations to how mail works to work better in a cloud environment.
General code tidying and updating to work with larger changes happening to Expeditee.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/auth/EncryptedExpReader.java

    r1227 r1243  
    2323import org.expeditee.io.ExpReader;
    2424import org.expeditee.items.Text;
    25 import org.expeditee.settings.auth.secrets.KeyList;
     25import org.expeditee.settings.identity.secrets.KeyList;
    2626import org.ngikm.cryptography.CryptographyConstants;
    2727
     
    3131        static final String ENCRYPTED_EXP_FLAG = "EncryptedExp";
    3232        private SecretKey personalKey;
    33         //private List<SecretKey> multiKey;
    3433        private boolean accessDenied = false;
    35         //private boolean usePersonalKey;
    3634
    3735        public EncryptedExpReader(final String frameName) throws UnsupportedEncodingException {
     
    4947                try {
    5048                        BufferedReader reader = new EncryptedLineReader(new BufferedReader(new FileReader(fullpath)));
    51                         //if (usePersonalKey) {
    52                         //      reader = new EncryptedProfileLineReader(new BufferedReader(new FileReader(fullpath)));
    53                         //} else {
    54                         //      reader = new EncryptedLineReader(new BufferedReader(new FileReader(fullpath)));
    55                         //}
    5649                        String next = "";
    5750                        // First read the header lines until we get the version number
     
    7669                Reader in = new InputStreamReader(new FileInputStream(fullPath), "UTF-8");
    7770                return readFrame(new EncryptedLineReader(in));
    78                 //if (usePersonalKey) {
    79                 //      return readFrame(new EncryptedProfileLineReader(new BufferedReader(in)));
    80                 //} else {
    81                 //      return readFrame(new EncryptedLineReader(new BufferedReader(in)));
    82                 //}
    8371        }
    8472       
Note: See TracChangeset for help on using the changeset viewer.