Class CipherTool

java.lang.Object
org.apache.synapse.securevault.tool.CipherTool

public final class CipherTool extends Object
Tool for encrypting and decrypting.

Arguments and their meanings:
  • source Either cipher or plain text as an in-lined form
  • sourceFile Source from a file
  • passphrase if a simple symmetric encryption using a pass phrase shall be used
  • keystore If keys are in a store, it's location
  • storepass Password for access keyStore
  • keypass To get private key
  • alias Alias to identify key owner
  • storetype Type of keyStore
  • keyfile If key is in a file
  • trusted Is KeyStore a trusted store ? . if presents this , consider as a trusted store
  • opmode encrypt or decrypt
  • algorithm encrypt or decrypt algorithm (default RSA)
  • outencode Currently BASE64 or BIGINTEGER16
  • inencode Currently BASE64 or BIGINTEGER16