Package unibg.overencrypt.client

Examples of unibg.overencrypt.client.ApacheWebDAVClient


     */
    public TokensResource(String folderPath) {
        logger.debug(folderPath);
        this.folderPath = folderPath;
        filePath = folderPath + ".tokens";
        InputStream tokensStream = new ApacheWebDAVClient().get(filePath);

        if (tokensStream == null) {
            xmlDocument = new Document(new Element("Tokens"));
        } else {
            try {
View Full Code Here


        save();
    }

    public void save() {
        new ApacheWebDAVClient().put(toXML(), filePath);
    }
View Full Code Here

            aclSEL = "0-" + splittedSELACL[1];
        }

        String tempEncryptedFilePath = Configuration.LOCAL_TMP_PATH + "/enc_"
                + fileName;
        WebDAVClient client = new ApacheWebDAVClient();
        client.download(path + fileName, tempEncryptedFilePath);

        String aesBELFileName = tokenFile.getAESKey(folderName, aclBEL, "BEL",
                false);

        String dsaKey = new OverEncryptClient().sendAndWait(
View Full Code Here

        exec.add(passphrase);
        exec.run();

        String localFilePath = Configuration.LOCAL_TMP_PATH + "/" + fileName;

        WebDAVClient davClient = new ApacheWebDAVClient();
        davClient.upload(localFilePath, remoteFolder + fileName);

        new File(localFilePath).delete();

        String[] splitted = aclBEL.split("-");
        String users = "";
View Full Code Here

TOP

Related Classes of unibg.overencrypt.client.ApacheWebDAVClient

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.