- getConfigFilePath(String) - Static method in class org.wso2.ciphertool.utils.Utils
-
returns the configuration file
- getDefaultJSONFilePath() - Static method in class org.wso2.ciphertool.utils.Utils
-
Get default.json file path.
- getDeploymentFilePath() - Static method in class org.wso2.ciphertool.utils.Utils
-
Get deployment toml file path
- getJSONConfiguration(Path) - Static method in class org.wso2.ciphertool.utils.Utils
-
Read from default.json file and return a map of data.
- getKeystoreFromConfiguration(String, String) - Static method in class org.wso2.ciphertool.utils.Utils
-
Read toml file and return a map of keystore data.
- getSecreteFromConfiguration(String) - Static method in class org.wso2.ciphertool.utils.Utils
-
Read toml file and return list of secrets
- getSecuredDocumentBuilder(boolean) - Static method in class org.wso2.ciphertool.utils.Utils
-
This method provides a secured document builder which will secure XXE attacks.
- getUnEncryptedValue(String) - Static method in class org.wso2.ciphertool.utils.Utils
-
Read unencrypted value from [secrets] section in deployment toml file
- getValueFromConfigs(String, String, Map<String, Object>, Element, String) - Static method in class org.wso2.ciphertool.utils.Utils
-
Retrieve the value for the given configuration from the following order of files.
- getValueFromConsole(String, boolean) - Static method in class org.wso2.ciphertool.utils.Utils
-
Retrieve value from command-line
- getValueFromXPath(Element, String) - Static method in class org.wso2.ciphertool.utils.Utils
-
retrieve the value for the given xpath from the file