org.apache.synapse.securevault.tool

## Class CipherTool

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

-     public final class CipherTool
      extends java.lang.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(java.lang.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(java.lang.String[] args)
                           throws java.lang.Exception

      Throws:
        `java.lang.Exception`

Copyright © 2005-2022 Apache Software Foundation. All Rights Reserved.