com.ibm.di.util
Class RacfPassword

java.lang.Object
  extended by com.ibm.di.util.RacfPassword

Deprecated. replaced by RacfCredential class

@Deprecated
public class RacfPassword
extends Object

This class represents a decrypted RACF password envelope.

This envelope is encrypted in PKCS#7 and contains not only the password but some additional information about its version, expiration, time of last change and language.


Method Summary
 String dumpContents()
          Deprecated. Prints the password/passphrase along with the additional provided information.
 String getChangeTime()
          Deprecated. Gets the time of last change of the password.
 boolean getExpired()
          Deprecated. Gets the expired flag.
 String getLanguage()
          Deprecated.  
 byte[] getPasswordBytes()
          Deprecated. Gets the password as a byte array.
 String getPasswordString()
          Deprecated. Gets the password as a string.
 int getVersion()
          Deprecated. Gets the version.
 void setChangeTime(String changeTime)
          Deprecated. Sets the time of last change.
 void setExpired(boolean expired)
          Deprecated. Sets the expired flag
 void setLanguage(String language)
          Deprecated. Sets the language field.
 void setPassword(byte[] passwordBytes)
          Deprecated. Sets the password.
 void setPassword(String password)
          Deprecated. Sets the password.
 void setVersion(int version)
          Deprecated. Sets the version.
 String toString()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getExpired

public boolean getExpired()
Deprecated. 
Gets the expired flag.

Returns:
true if the password is expired; false otherwise.

setExpired

public void setExpired(boolean expired)
Deprecated. 
Sets the expired flag

Parameters:
expired - the new value of the expired flag.

getLanguage

public String getLanguage()
Deprecated. 
Returns:
a String representation of the language code (e.g. ENU)

setLanguage

public void setLanguage(String language)
Deprecated. 
Sets the language field.

Parameters:
language - The new language to set

getPasswordString

public String getPasswordString()
Deprecated. 
Gets the password as a string.

Returns:
a String

setPassword

public void setPassword(String password)
Deprecated. 
Sets the password.

Parameters:
password - The new password to set.

getPasswordBytes

public byte[] getPasswordBytes()
Deprecated. 
Gets the password as a byte array.

Returns:
Returns an array of byte.

setPassword

public void setPassword(byte[] passwordBytes)
Deprecated. 
Sets the password.

Parameters:
passwordBytes - The new password to set in bytes.

getVersion

public int getVersion()
Deprecated. 
Gets the version.

Returns:
integer representing the version.

setVersion

public void setVersion(int version)
Deprecated. 
Sets the version.

Parameters:
version - The new version to set.

getChangeTime

public String getChangeTime()
Deprecated. 
Gets the time of last change of the password.

Returns:
a String representation of the time.

setChangeTime

public void setChangeTime(String changeTime)
Deprecated. 
Sets the time of last change.

Parameters:
changeTime - The new time to set.

toString

public String toString()
Deprecated. 
Overrides:
toString in class Object
Returns:
String representing only the password value.

dumpContents

public String dumpContents()
Deprecated. 
Prints the password/passphrase along with the additional provided information.

Returns:
String showing member data values