Sun OpenSSO Enterprise 8.0 C API Reference for Application and Web Policy Agent Developers

Returns

This function returns one of the following values of the am_status_t enumeration (defined in the <am_types.h> header file):

AM_SUCCESS

If the cookie was successfully decoded and coped.

AM_INVALID_ARGUMENT

If the cookie or buffer is NULL..

AM_BUFFER_TOO_SMALL

If the defined size is smaller than the decoded value.

AM_FAILURE

If any other error occurred.