Class CipherTool


  • public class CipherTool
    extends Object
    • Constructor Detail

      • CipherTool

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

      • doEncryption

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

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

        protected static void handleException​(String msg)