Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W 

A

addJceProvider() - Static method in class org.wso2.ciphertool.utils.KeyStoreUtil
 
AES_GCM_NO_PADDING - Static variable in class org.wso2.ciphertool.utils.Constants
 
ALIAS - Static variable in class org.wso2.ciphertool.utils.Constants.SecureVault
 
AsymmetricCipher - Class in org.wso2.ciphertool.cipher
Provides methods for encryption and decryption using asymmetric key algorithms.
AsymmetricCipher(KeyStore, String) - Constructor for class org.wso2.ciphertool.cipher.AsymmetricCipher
 
AsymmetricCipher(KeyStore) - Constructor for class org.wso2.ciphertool.cipher.AsymmetricCipher
 
ATTRIBUTE - Static variable in class org.wso2.ciphertool.utils.Constants.SecureVault
 

B

BC_CLASS_NAME - Static variable in class org.wso2.ciphertool.utils.Constants.JCEProviders
 
BC_FIPS_CLASS_NAME - Static variable in class org.wso2.ciphertool.utils.Constants.JCEProviders
 
BOUNCY_CASTLE_FIPS_PROVIDER - Static variable in class org.wso2.ciphertool.utils.Constants.JCEProviders
 
BOUNCY_CASTLE_PROVIDER - Static variable in class org.wso2.ciphertool.utils.Constants.JCEProviders
 

C

CARBON_CONFIG_DIR_PATH - Static variable in class org.wso2.ciphertool.utils.Constants
 
CARBON_CONFIG_FILE - Static variable in class org.wso2.ciphertool.utils.Constants
 
CARBON_DEFAULT_SECRET_PROVIDER - Static variable in class org.wso2.ciphertool.utils.Constants.SecureVault
 
CARBON_HOME - Static variable in class org.wso2.ciphertool.utils.Constants
 
CARBON_SECRET_PROVIDER - Static variable in class org.wso2.ciphertool.utils.Constants.SecureVault
 
CHANGE - Static variable in class org.wso2.ciphertool.utils.Constants
 
CIPHER_STANDALONE_CONFIG_PROPERTY_FILE - Static variable in class org.wso2.ciphertool.utils.Constants
 
CIPHER_TEXT_PROPERTY_FILE - Static variable in class org.wso2.ciphertool.utils.Constants
 
CIPHER_TEXT_PROPERTY_FILE_PROPERTY - Static variable in class org.wso2.ciphertool.utils.Constants
 
CIPHER_TOOL_PROPERTY_FILE - Static variable in class org.wso2.ciphertool.utils.Constants
 
CIPHER_TOOL_PROPERTY_FILE_PROPERTY - Static variable in class org.wso2.ciphertool.utils.Constants
 
CIPHER_TRANSFORMATION_SYSTEM_PROPERTY - Static variable in class org.wso2.ciphertool.utils.Constants
 
CipherFactory - Class in org.wso2.ciphertool.cipher
The CipherFactory class provides a static method to create either a SymmetricCipher or AsymmetricCipher based on a system property.
CipherMode - Interface in org.wso2.ciphertool.cipher
The interface for providing methods for encrypting and decrypting text.
CIPHERTEXT - Static variable in class org.wso2.ciphertool.utils.Constants
 
CipherTool - Class in org.wso2.ciphertool
 
CipherTool() - Constructor for class org.wso2.ciphertool.CipherTool
 
CipherToolException - Exception in org.wso2.ciphertool.exception
Exception handling class for CipherTool
CipherToolException(String) - Constructor for exception org.wso2.ciphertool.exception.CipherToolException
 
CipherToolException(String, Throwable) - Constructor for exception org.wso2.ciphertool.exception.CipherToolException
 
CONF_DIR - Static variable in class org.wso2.ciphertool.utils.Constants
 
CONFIGURE - Static variable in class org.wso2.ciphertool.utils.Constants
 
CONSOLE_PASSWORD_PARAM - Static variable in class org.wso2.ciphertool.utils.Constants
 
Constants - Class in org.wso2.ciphertool.utils
 
Constants() - Constructor for class org.wso2.ciphertool.utils.Constants
 
Constants.Error - Enum in org.wso2.ciphertool.utils
 
Constants.InternalKeyStore - Class in org.wso2.ciphertool.utils
 
Constants.JCEProviders - Class in org.wso2.ciphertool.utils
 
Constants.PrimaryKeyStore - Class in org.wso2.ciphertool.utils
 
Constants.SecureVault - Class in org.wso2.ciphertool.utils
 
createCipher(KeyStore) - Static method in class org.wso2.ciphertool.cipher.CipherFactory
Creates an instance of CipherMode based on the Constants.SYMMETRIC system property.

D

DEPLOYMENT_CONFIG_FILE_PATH - Static variable in class org.wso2.ciphertool.utils.Constants
 
DEPLOYMENT_TOML_FILE - Static variable in class org.wso2.ciphertool.utils.Constants
 
doDecryption(String) - Method in class org.wso2.ciphertool.cipher.AsymmetricCipher
Decrypt encrypted text using encryption.
doDecryption(String) - Method in interface org.wso2.ciphertool.cipher.CipherMode
Decrypt cipher text into plain text using decryption.
doDecryption(String) - Method in class org.wso2.ciphertool.cipher.SymmetricCipher
Decrypt encrypted text using encryption.
doDecryption(Cipher, byte[]) - Static method in class org.wso2.ciphertool.utils.Utils
Decrypt the cipher text password.
doEncryption(String) - Method in class org.wso2.ciphertool.cipher.AsymmetricCipher
Encrypt plain text using asymmetric encryption.
doEncryption(String) - Method in interface org.wso2.ciphertool.cipher.CipherMode
Encrypt plain text using encryption.
doEncryption(String) - Method in class org.wso2.ciphertool.cipher.SymmetricCipher
Encrypt plain text using encryption.
doEncryption(Cipher, String) - Static method in class org.wso2.ciphertool.utils.Utils
encrypt the plain text password

E

ENABLE_SEC_VAULT - Static variable in class org.wso2.ciphertool.utils.Constants.SecureVault
 
ENV_VAR_PLACEHOLDER_PREFIX - Static variable in class org.wso2.ciphertool.utils.Constants
 

F

FIPS_APPROVED_ONLY - Static variable in class org.wso2.ciphertool.utils.Constants.JCEProviders
 

G

getConfigFilePath(String) - Static method in class org.wso2.ciphertool.utils.Utils
returns the configuration file
getDeploymentFilePath() - Static method in class org.wso2.ciphertool.utils.Utils
Get deployment toml file path
getEncryptedValue(String) - Static method in class org.wso2.ciphertool.utils.Utils
Returns value from [secrets] section in deployment toml file, if encrypted.
getKeyStore() - Static method in class org.wso2.ciphertool.utils.KeyStoreUtil
Retrieves the keystore for the Carbon Server.
getKeyStore(String, String, String) - Static method in class org.wso2.ciphertool.utils.KeyStoreUtil
 
getKeystorePassword() - Static method in class org.wso2.ciphertool.utils.KeyStoreUtil
Retrieves the password for the keystore.
getMessage(Object...) - Method in enum org.wso2.ciphertool.utils.Constants.Error
 
getProviderName() - Static method in class org.wso2.ciphertool.CipherTool
Returns the configured JCE provider name.
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
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

H

HOME_FOLDER - Static variable in class org.wso2.ciphertool.utils.Constants
 

I

IDENTITY_KEY_PASSWORD - Static variable in class org.wso2.ciphertool.utils.Constants.SecureVault
 
IDENTITY_STORE_PASSWORD - Static variable in class org.wso2.ciphertool.utils.Constants.SecureVault
 
initializeCipher() - Static method in class org.wso2.ciphertool.utils.KeyStoreUtil
Initializes the Cipher
INTERNAL - Static variable in class org.wso2.ciphertool.utils.Constants
 
InternalKeyStore() - Constructor for class org.wso2.ciphertool.utils.Constants.InternalKeyStore
 
isPrimaryKeyStore() - Static method in class org.wso2.ciphertool.utils.Utils
Returns whether it's a primary or an internal keystore
IV - Static variable in class org.wso2.ciphertool.utils.Constants
 

J

JCEProviders() - Constructor for class org.wso2.ciphertool.utils.Constants.JCEProviders
 

K

KEY_ALIAS_PROPERTY - Static variable in class org.wso2.ciphertool.utils.Constants
 
KEY_ALIAS_XPATH - Static variable in class org.wso2.ciphertool.utils.Constants.InternalKeyStore
 
KEY_ALIAS_XPATH - Static variable in class org.wso2.ciphertool.utils.Constants.PrimaryKeyStore
 
KEY_LOCATION_PROPERTY - Static variable in class org.wso2.ciphertool.utils.Constants
 
KEY_LOCATION_XPATH - Static variable in class org.wso2.ciphertool.utils.Constants.InternalKeyStore
 
KEY_LOCATION_XPATH - Static variable in class org.wso2.ciphertool.utils.Constants.PrimaryKeyStore
 
KEY_TYPE_PROPERTY - Static variable in class org.wso2.ciphertool.utils.Constants
 
KEY_TYPE_XPATH - Static variable in class org.wso2.ciphertool.utils.Constants.InternalKeyStore
 
KEY_TYPE_XPATH - Static variable in class org.wso2.ciphertool.utils.Constants.PrimaryKeyStore
 
KEY_VALUE_SEPERATOR - Static variable in class org.wso2.ciphertool.utils.Constants
 
KEYSTORE_ALIAS - Static variable in class org.wso2.ciphertool.utils.Constants.SecureVault
 
KEYSTORE_KEY_PASSWORD - Static variable in class org.wso2.ciphertool.utils.Constants.SecureVault
 
KEYSTORE_KEY_SECRET_PROVIDER - Static variable in class org.wso2.ciphertool.utils.Constants.SecureVault
 
KEYSTORE_LOCATION - Static variable in class org.wso2.ciphertool.utils.Constants.SecureVault
 
KEYSTORE_PASSWORD - Static variable in class org.wso2.ciphertool.utils.Constants
 
KEYSTORE_STORE_PASSWORD - Static variable in class org.wso2.ciphertool.utils.Constants.SecureVault
 
KEYSTORE_STORE_SECRET_PROVIDER - Static variable in class org.wso2.ciphertool.utils.Constants.SecureVault
 
KEYSTORE_TYPE - Static variable in class org.wso2.ciphertool.utils.Constants.SecureVault
 
KeyStoreUtil - Class in org.wso2.ciphertool.utils
 
KeyStoreUtil() - Constructor for class org.wso2.ciphertool.utils.KeyStoreUtil
 

L

loadProperties(String) - Static method in class org.wso2.ciphertool.utils.Utils
read values from property file

M

main(String[]) - Static method in class org.wso2.ciphertool.CipherTool
 

N

NS - Static variable in class org.wso2.ciphertool.utils.Constants.SecureVault
 
NS_PREFIX - Static variable in class org.wso2.ciphertool.utils.Constants.SecureVault
 

O

OLD_KEY_ALIAS - Static variable in class org.wso2.ciphertool.utils.Constants
 
org.wso2.ciphertool - package org.wso2.ciphertool
 
org.wso2.ciphertool.cipher - package org.wso2.ciphertool.cipher
 
org.wso2.ciphertool.exception - package org.wso2.ciphertool.exception
 
org.wso2.ciphertool.utils - package org.wso2.ciphertool.utils
 
OS_NAME - Static variable in class org.wso2.ciphertool.utils.Constants
 

P

PASSWORD - Static variable in class org.wso2.ciphertool.utils.Constants.SecureVault
 
PLACEHOLDER_SUFFIX - Static variable in class org.wso2.ciphertool.utils.Constants
 
PRIMARY - Static variable in class org.wso2.ciphertool.utils.Constants
 
PrimaryKeyStore() - Constructor for class org.wso2.ciphertool.utils.Constants.PrimaryKeyStore
 

R

REPOSITORY_DIR - Static variable in class org.wso2.ciphertool.utils.Constants
 
resolveKeyStorePath(String, String) - Static method in class org.wso2.ciphertool.utils.Utils
Resolve absolute path of the keystore
RESOURCES_DIR - Static variable in class org.wso2.ciphertool.utils.Constants
 
ROTATE - Static variable in class org.wso2.ciphertool.utils.Constants
 
RSA - Static variable in class org.wso2.ciphertool.utils.Constants
 

S

SECRET_FILE_ALGORITHM - Static variable in class org.wso2.ciphertool.utils.Constants.SecureVault
 
SECRET_FILE_BASE_PROVIDER_CLASS - Static variable in class org.wso2.ciphertool.utils.Constants.SecureVault
 
SECRET_FILE_ENCRYPTION_MODE - Static variable in class org.wso2.ciphertool.utils.Constants.SecureVault
 
SECRET_FILE_LOCATION - Static variable in class org.wso2.ciphertool.utils.Constants.SecureVault
 
SECRET_FILE_PROVIDER - Static variable in class org.wso2.ciphertool.utils.Constants.SecureVault
 
SECRET_PROPERTY_FILE - Static variable in class org.wso2.ciphertool.utils.Constants
 
SECRET_PROPERTY_FILE_PROPERTY - Static variable in class org.wso2.ciphertool.utils.Constants
 
SECRET_PROPERTY_MAP_NAME - Static variable in class org.wso2.ciphertool.utils.Constants
 
SECRET_PROVIDER_CLASS - Static variable in class org.wso2.ciphertool.utils.Constants.SecureVault
 
SECRET_REPOSITORIES - Static variable in class org.wso2.ciphertool.utils.Constants.SecureVault
 
SECRETS_SECTION - Static variable in class org.wso2.ciphertool.utils.Constants
 
SECTION_PREFIX - Static variable in class org.wso2.ciphertool.utils.Constants
 
SECTION_SUFFIX - Static variable in class org.wso2.ciphertool.utils.Constants
 
SecureVault() - Constructor for class org.wso2.ciphertool.utils.Constants.SecureVault
 
SECURITY_DIR - Static variable in class org.wso2.ciphertool.utils.Constants
 
SECURITY_JCE_PROVIDER - Static variable in class org.wso2.ciphertool.utils.Constants.JCEProviders
 
SET_EXTERNAL_SYSTEM_PROPERTY - Static variable in class org.wso2.ciphertool.utils.Constants
 
setSystemProperties() - Static method in class org.wso2.ciphertool.utils.Utils
Set the system properties
SYMMETRIC - Static variable in class org.wso2.ciphertool.utils.Constants
 
SymmetricCipher - Class in org.wso2.ciphertool.cipher
Provides methods for encryption and decryption using symmetric key algorithms.
SymmetricCipher(KeyStore, String) - Constructor for class org.wso2.ciphertool.cipher.SymmetricCipher
 
SymmetricCipher(KeyStore) - Constructor for class org.wso2.ciphertool.cipher.SymmetricCipher
 
SYS_PROPERTY_PLACEHOLDER_PREFIX - Static variable in class org.wso2.ciphertool.utils.Constants
 

T

TRUE - Static variable in class org.wso2.ciphertool.utils.Constants
 

U

UTF8 - Static variable in class org.wso2.ciphertool.utils.Constants
 
Utils - Class in org.wso2.ciphertool.utils
 
Utils() - Constructor for class org.wso2.ciphertool.utils.Utils
 

V

valueOf(String) - Static method in enum org.wso2.ciphertool.utils.Constants.Error
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.wso2.ciphertool.utils.Constants.Error
Returns an array containing the constants of this enum type, in the order they are declared.

W

writeToPropertyFile(Properties, String) - Static method in class org.wso2.ciphertool.utils.Utils
writees the properties into a file
writeToSecureConfPropertyFile() - Static method in class org.wso2.ciphertool.utils.Utils
Write to the Secret-conf.properties
A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links

Copyright © 2026 WSO2. All rights reserved.