2 * Copyright (c) 2014 <copyright holder> <email>
4 * For license details, see the LICENSE file in the root of this project.
11 #include <gssapi/gssapi.h>
13 #include "datamodel/GSSBuffer.h"
15 class GSSCreateSecContextTest;
20 GSSContext ( const GSSContext& other );
21 GSSContext ( gss_ctx_id_t ctxt, bool skipRelease = false ) : context(ctxt), skipRelease(skipRelease) {};
23 GSSContext& operator= ( const GSSContext& other );
25 void release(GSSBuffer *output);
27 gss_ctx_id_t getContext() { return(context); };
28 void setContext(gss_ctx_id_t ctxt, bool skipRelease = false);
35 #endif // GSSCONTEXT_H