This commit is contained in:
Love Hornquist Astrand
2010-11-26 08:16:46 -08:00
parent c49213259c
commit 4c56762762

View File

@@ -28,6 +28,21 @@
#include "mech_locl.h"
/**
* Wrap a message using either confidentiality (encryption +
* signature) or sealing (signature).
*
* @param minor_status minor status code.
* @param context_handle context handle.
* @param conf_req_flag if non zero, confidentiality is requestd.
* @param qop_req type of protection needed, in most cases it GSS_C_QOP_DEFAULT should be passed in.
* @param input_message_buffer messages to wrap
* @param conf_state returns non zero if confidentiality was honoured.
* @param output_message_buffer the resulting buffer, release with gss_release_buffer().
*
* @ingroup gssapi
*/
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
gss_wrap(OM_uint32 *minor_status,
const gss_ctx_id_t context_handle,