Package com.ibm.wsspi.security.crypto
Class EncryptedInfo
java.lang.Object
com.ibm.wsspi.security.crypto.EncryptedInfo
Return code information for password utilities, deciphering or enciphering.
-
Constructor Summary
ConstructorDescriptionEncryptedInfo
(byte[] encryptedBytes, String keyAlias) This constructor takes the encrypted bytes and a keyAlias as parameters. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
This returns the encrypted bytes.This returns the key alias.
-
Constructor Details
-
EncryptedInfo
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 Details
-
getEncryptedBytes
public byte[] getEncryptedBytes()This returns the encrypted bytes.- Returns:
- byte[]
-
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
-