Package com.ibm.wsspi.security.crypto
Class EncryptedInfo
- java.lang.Object
- 
- com.ibm.wsspi.security.crypto.EncryptedInfo
 
- 
 public class EncryptedInfo extends java.lang.ObjectReturn code information for password utilities, deciphering or enciphering.
- 
- 
Constructor SummaryConstructors Constructor Description EncryptedInfo(byte[] encryptedBytes, java.lang.String keyAlias)This constructor takes the encrypted bytes and a keyAlias as parameters.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getEncryptedBytes()This returns the encrypted bytes.java.lang.StringgetKeyAlias()This returns the key alias.
 
- 
- 
- 
Constructor Detail- 
EncryptedInfopublic 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.- Parameters:
- encryptedBytes-
- keyAlias-
 
 
- 
 - 
Method Detail- 
getEncryptedBytespublic byte[] getEncryptedBytes() This returns the encrypted bytes.- Returns:
- byte[]
 
 - 
getKeyAliaspublic 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
 
 
- 
 
-