Class CipherTool
- java.lang.Object
-
- org.wso2.carbon.mediation.security.vault.cipher.tool.CipherTool
-
public class CipherTool extends Object
-
-
Constructor Summary
Constructors Constructor Description CipherTool(org.wso2.carbon.mediation.security.stub.MediationSecurityAdminServiceStub mediationSecurityAdminServiceStub)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
doEncryption(String plainTextPass)
encrypt the plain text passwordprotected static void
handleException(String msg)
protected static void
handleException(String msg, Exception e)
-
-
-
Method Detail
-
doEncryption
public String doEncryption(String plainTextPass) throws RemoteException
encrypt the plain text password- Parameters:
cipher
- init cipherplainTextPass
- plain text password- Returns:
- encrypted password
- Throws:
RemoteException
-
handleException
protected static void handleException(String msg)
-
-