729bf8913d0f47693921f6c3dd24d33a3e9f3264
[gssweb.git] / json_gssapi / test / command_mocks / MockAcquireCred.h
1 /*
2  * Copyright (c) 2014 <copyright holder> <email>
3  *
4  * For license details, see the LICENSE file in the root of this project.
5  *
6  */
7
8 #ifndef MOCKACQUIRECRED_H
9 #define MOCKACQUIRECRED_H
10
11 #include <gssapi.h>
12
13 class MockAcquireCred
14 {
15 public:
16   static OM_uint32        retVal;
17   static OM_uint32        minor_status;
18   static gss_name_t       desired_name;
19   static OM_uint32        time_req;
20   static gss_OID_set      desired_mechs;
21   static gss_cred_usage_t cred_usage;
22   static gss_cred_id_t    output_cred_handle;
23   static gss_OID_set      actual_mechs;
24   static OM_uint32        time_rec;
25   
26   static void reset();
27 };
28
29 #endif // MOCKACQUIRECRED_H