org.apache.synapse.securevault.tool

## 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

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `main(String[] args)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### main

          public static void main(String[] args)
                           throws Exception

      Throws:
        `Exception`

Copyright © 2005–2017 Apache Software Foundation. All rights reserved.