Class GordianUtilities
java.lang.Object
io.github.tonywasher.joceanus.gordianknot.util.GordianUtilities
Utilities.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic intObtain FactoryLockLen.static intgetKeySetEncryptionLength(int pDataLength) Obtain Encryption length.static intObtain Maximum KeyWrapLength.static intObtain Maximum KeyWrapLength.
-
Field Details
-
ZIPFILE_EXT
The ZipFile extension.- See Also:
-
SECUREZIPFILE_EXT
The Encrypted ZipFile extension.- See Also:
-
-
Method Details
-
getMaximumKeyWrapLength
public static int getMaximumKeyWrapLength()Obtain Maximum KeyWrapLength.- Returns:
- the maximum keyWrap size
-
getMaximumKeySetWrapLength
public static int getMaximumKeySetWrapLength()Obtain Maximum KeyWrapLength.- Returns:
- the maximum keyWrap size
-
getFactoryLockLen
public static int getFactoryLockLen()Obtain FactoryLockLen.- Returns:
- the factoryLock length
-
getKeySetEncryptionLength
public static int getKeySetEncryptionLength(int pDataLength) Obtain Encryption length.- Parameters:
pDataLength- the length of data to be encrypted- Returns:
- the length of encrypted data
-