Package org.apache.poi.poifs.crypt.agile

Examples of org.apache.poi.poifs.crypt.agile.AgileEncryptionHeader


       
        // listDir(nfs.getRoot(), "copy", "");
       
        nfs.close();
       
        AgileEncryptionHeader aehExpected = (AgileEncryptionHeader)infoExpected.getHeader();
        AgileEncryptionHeader aehActual = (AgileEncryptionHeader)infoActual.getHeader();
        assertThat(aehExpected.getEncryptedHmacKey(), equalTo(aehActual.getEncryptedHmacKey()));
        assertEquals(decPackLenExpected, decPackLenActual);
        assertThat(payloadExpected, equalTo(payloadActual));
        assertThat(encPackExpected, equalTo(encPackActual));
    }
View Full Code Here


       
        // listDir(nfs.getRoot(), "copy", "");
       
        nfs.close();
       
        AgileEncryptionHeader aehExpected = (AgileEncryptionHeader)infoExpected.getHeader();
        AgileEncryptionHeader aehActual = (AgileEncryptionHeader)infoActual.getHeader();
        assertThat(aehExpected.getEncryptedHmacKey(), equalTo(aehActual.getEncryptedHmacKey()));
        assertEquals(decPackLenExpected, decPackLenActual);
        assertThat(payloadExpected, equalTo(payloadActual));
        assertThat(encPackExpected, equalTo(encPackActual));
    }
View Full Code Here

TOP

Related Classes of org.apache.poi.poifs.crypt.agile.AgileEncryptionHeader

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.