java.lang.Object
org.wso2.carbon.mediation.security.vault.cipher.tool.CipherTool

public class CipherTool extends Object
  • Constructor Details

    • CipherTool

      public CipherTool(org.wso2.carbon.mediation.security.stub.MediationSecurityAdminServiceStub mediationSecurityAdminServiceStub)
  • Method Details

    • doEncryption

      public String doEncryption(String plainTextPass) throws RemoteException
      encrypt the plain text password
      Parameters:
      plainTextPass - plain text password
      cipher - init cipher
      Returns:
      encrypted password
      Throws:
      RemoteException
    • handleException

      protected static void handleException(String msg, Exception e)
    • handleException

      protected static void handleException(String msg)