BEAST
eu.baltrad.beast.security.keyczar.KeyCompressor Class Reference

Utility for compressing and uncompressing keyczar keys. More...

Public Member Functions

void unzip (File file, byte[] bytes) throws IOException
 Unzips a byte array into a file structure.
 
byte[] zip (File rootFolder) throws IOException
 Zips a keyczar key folder into a byte array.
 

Detailed Description

Utility for compressing and uncompressing keyczar keys.

Author
anders

Member Function Documentation

◆ unzip()

void eu.baltrad.beast.security.keyczar.KeyCompressor.unzip ( File file,
byte[] bytes ) throws IOException
inline

Unzips a byte array into a file structure.

Parameters
filethe root folder where the files should be extracted
bytesthe byte array
Exceptions
SecurityStorageExceptionif something erroneous occurs during the unzip

◆ zip()

byte[] eu.baltrad.beast.security.keyczar.KeyCompressor.zip ( File rootFolder) throws IOException
inline

Zips a keyczar key folder into a byte array.

Parameters
rootFolderthe keyczar folder
Returns
the byte array
Exceptions
IOExceptionon IO error

The documentation for this class was generated from the following file: