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 StringdoEncryption(String plainTextPass)encrypt the plain text passwordprotected static voidhandleException(String msg)protected static voidhandleException(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)
-
-