|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.homeunix.thecave.moss.util.crypto.MossCryptoFactory
org.homeunix.thecave.buddi.util.BuddiCryptoFactory
public class BuddiCryptoFactory
A class which extends CipherStreamFactory and provides the header value for Buddi to use when saving / loading data files.
| Constructor Summary | |
|---|---|
BuddiCryptoFactory()
|
|
| Method Summary | |
|---|---|
byte[] |
getHeader()
The byte array to use as the header. |
boolean |
isCompressData()
Should we filter the data through gzip before encrypting it? For most situations, this should be true. |
boolean |
isSaveDate()
Should we include the date timestamp at the beginning of the file? This value is unencrypted, and will appear right after the header. |
| Methods inherited from class org.homeunix.thecave.moss.util.crypto.MossCryptoFactory |
|---|
getCanary, getDecryptedBytes, getDecryptedStream, getDecryptedString, getEncryptedBytes, getEncryptedStream, getEncryptedString, getTimestamp, isHeaderCorrect |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BuddiCryptoFactory()
throws CipherException
CipherException| Method Detail |
|---|
public byte[] getHeader()
MossCryptoFactory
getHeader in class MossCryptoFactorypublic boolean isSaveDate()
MossCryptoFactory
isSaveDate in class MossCryptoFactorypublic boolean isCompressData()
MossCryptoFactory
isCompressData in class MossCryptoFactory
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||