Class Util
- java.lang.Object
-
- net.wedjaa.ansible.vault.crypto.data.Util
-
public class Util extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringCHAR_ENCODINGprotected static char[]hexArrayprotected static StringLINE_BREAK
-
Constructor Summary
Constructors Constructor Description Util()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]getVaultData(byte[] vaultData)static byte[]getVaultData(String vaultData)static VaultInfogetVaultInfo(byte[] vaultData)static VaultInfogetVaultInfo(String vaultData)static Stringhexit(byte[] unhexed)static Stringhexit(byte[] unhexed, int lineLength)static Stringjoin(String[] datalines)static StringremoveVaultInfo(String vaultData)static byte[]unhex(String hexed)
-
-
-
Field Detail
-
hexArray
protected static final char[] hexArray
-
LINE_BREAK
protected static final String LINE_BREAK
- See Also:
- Constant Field Values
-
CHAR_ENCODING
protected static final String CHAR_ENCODING
- See Also:
- Constant Field Values
-
-
Method Detail
-
unhex
public static byte[] unhex(String hexed)
-
hexit
public static String hexit(byte[] unhexed)
-
hexit
public static String hexit(byte[] unhexed, int lineLength)
-
getVaultInfo
public static VaultInfo getVaultInfo(byte[] vaultData)
-
getVaultData
public static byte[] getVaultData(String vaultData)
-
getVaultData
public static byte[] getVaultData(byte[] vaultData)
-
-