2N/A * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 2N/A * inlen -- length of input data 2N/A * out -- output data (may be same as in, must have enough space) 2N/A * outmax -- max size of output buffer 2N/A * outlen -- actual output length 2N/A * returns SASL_BADPROT on bad base64, 2N/A * SASL_BUFOVER if result won't fit 2N/A * SASL_OK on success 2N/A * inlen -- input data length 2N/A * out -- output buffer (will be NUL terminated) 2N/A * outmax -- max size of output buffer 2N/A * outlen -- gets actual length of output buffer (optional) 2N/A * Returns SASL_OK on success, SASL_BUFOVER if result won't fit 2N/A * The following is not supported: 2N/A * make a challenge string (NUL terminated) 2N/A * buf -- buffer for result 2N/A * maxlen -- max length of result 2N/A * hostflag -- 0 = don't include hostname, 1 = include hostname 2N/A * returns final length or 0 if not enough space 2N/A * verify a string is valid UTF-8 2N/A * if len == 0, strlen(str) will be used. 2N/A * returns SASL_BADPROT on error, SASL_OK on success 2N/A/* The following are not supported */ 2N/A/* create random pool seeded with OS-based params */ 2N/A/* free random pool from randcreate */ 2N/A/* seed random number generator */ 2N/A/* generate random octets */ 2N/A/* churn data into random number generator */ 2N/A * erase a security sensitive buffer or password. 2N/A * Implementation may use recovery-resistant erase logic. 2N/A#
endif /* _SASL_SASLUTIL_H */