ISE Production Code Functions					ise::set_key(1)

NAME
ise::set_key()

SYNOPSIS
#include <ise.h>
int ise::set_key(char* name)

DESCRIPTION	
ise::set_key() 
The method will use the specified name to create a valid key to be used by the ise encryption or decryption methods.

PRE-CONDITIONS
name must be a pointer to a character string.

POST-CONDITIONS  	
The key data member will be set using the new string specified.  
Any previous information in the key will be lost.

PARAMETERS
name is a pointer to a character string containing the key information for either encryption or decryption.

RETURN VALUES
An integer is returned indicating a success or failure.  
0 will indicate a success.  
1 will indicate an invalid key.

EXAMPLE USEAGE
// create key for encryption/decryption
char MyKey[] = "EnterKeyHere";

// MyIseObj must be of type ise or an inheriting class
// set the key
 MyIseObj.set_key(MyKey);

SEE ALSO
ise::ise(),  jpeg_ise::jpeg_ise(),  ise::set_input_file_name(), ise::set_output_file_name()

TEAM ISE		Last Change:  15 April 2004

