IBM WebSphere Application ServerTM
Release 7

com.ibm.wsspi.security.crypto
Class EncryptedInfo

java.lang.Object
  extended by com.ibm.wsspi.security.crypto.EncryptedInfo

public class EncryptedInfo
extends java.lang.Object


Constructor Summary
EncryptedInfo(byte[] encryptedBytes, java.lang.String keyAlias)
          This constructor takes the encrypted bytes and a keyAlias as parameters.
 
Method Summary
 byte[] getEncryptedBytes()
          This returns the encrypted bytes.
 java.lang.String getKeyAlias()
          This returns the key alias.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncryptedInfo

public EncryptedInfo(byte[] encryptedBytes,
                     java.lang.String keyAlias)
This constructor takes the encrypted bytes and a keyAlias as parameters. This is for passing to/from the WebSphere Application Server runtime so the runtime can associate the bytes with a specific key used to encrypt the bytes.

Method Detail

getEncryptedBytes

public byte[] getEncryptedBytes()
This returns the encrypted bytes.

Returns:
byte[]

getKeyAlias

public java.lang.String getKeyAlias()
This returns the key alias. This key alias is a logical string associated with the encrypted password in the model. The format is {custom:keyAlias}encrypted_password. Typically just the key alias is put here, but algorithm information could also be returned.

Returns:
String

IBM WebSphere Application ServerTM
Release 7