2 * Copyright (c) 2014 <copyright holder> <email>
4 * For license details, see the LICENSE file in the root of this project.
8 #ifndef GSSIMPORTNAME_H
9 #define GSSIMPORTNAME_H
11 #include "GSSCommand.h"
12 #include "datamodel/GSSBuffer.h"
13 #include "datamodel/GSSName.h"
17 class GSSImportName : public GSSCommand
20 GSSImportName(gss_imp_name_type fn = &gss_import_name);
21 GSSImportName(JSONObject *params, gss_imp_name_type fn = &gss_import_name);
26 GSSBuffer getInputName() { return GSSBuffer(inputName); };
27 GSSOID getInputNameType() { return GSSOID(inputNameType); };
29 gss_imp_name_type getGSSFunction() { return function; };
30 void setInputName ( std::string name ) { inputName.setValue(name); };
31 void setInputNameType ( std::string type ) { inputNameType.setValue(type); };
34 gss_imp_name_type function;
35 bool loadParameters(JSONObject *params);
38 OM_uint32 minor_status;
44 #endif // GSSIMPORTNAME_H