net.rim.pushsdk.pushappmgmt
Class DefaultPasswordEncryptorDecryptorImpl
java.lang.Object
net.rim.pushsdk.pushappmgmt.DefaultPasswordEncryptorDecryptorImpl
- All Implemented Interfaces:
- PasswordEncryptorDecryptor
public class DefaultPasswordEncryptorDecryptorImpl
- extends Object
- implements PasswordEncryptorDecryptor
Default implementation of the PasswordEncryptorDecryptor interface which does nothing, i.e. passwords are
unchanged by encryption and decryption.
- Author:
- mhogan
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultPasswordEncryptorDecryptorImpl
public DefaultPasswordEncryptorDecryptorImpl()
decrypt
public String decrypt(String password)
- Description copied from interface:
PasswordEncryptorDecryptor
- Decrypts a password.
- Specified by:
decrypt in interface PasswordEncryptorDecryptor
- Parameters:
password - the encrypted password
- Returns:
- the plain text password
encrypt
public String encrypt(String password)
- Description copied from interface:
PasswordEncryptorDecryptor
- Encrypts a password.
- Specified by:
encrypt in interface PasswordEncryptorDecryptor
- Parameters:
password - the plain text password
- Returns:
- the encrypted password
Copyright © 2011 Research In Motion. All Rights Reserved.