Class EncryptedInfo

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

public class EncryptedInfo extends Object
Return code information for password utilities, deciphering or enciphering.
  • Constructor Details

    • EncryptedInfo

      public EncryptedInfo(byte[] encryptedBytes, 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 Details

    • getEncryptedBytes

      public byte[] getEncryptedBytes()
      This returns the encrypted bytes.
      Returns:
      byte[]
    • getKeyAlias

      public 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