net.rim.pushsdk.pushappmgmt
Class DefaultPasswordEncryptorDecryptorImpl

java.lang.Object
  extended by 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

Constructor Summary
DefaultPasswordEncryptorDecryptorImpl()
           
 
Method Summary
 String decrypt(String password)
          Decrypts a password.
 String encrypt(String password)
          Encrypts a password.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPasswordEncryptorDecryptorImpl

public DefaultPasswordEncryptorDecryptorImpl()
Method Detail

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.