2 * Copyright (c) 2014 <copyright holder> <email>
4 * For license details, see the LICENSE file in the root of this project.
10 #include "../util_json.h"
12 #include "GSSBuffer.h"
19 GSSOID() { oid = GSS_C_NO_OID; gssInternal = true; };
20 GSSOID(char *oid_str);
21 GSSOID(std::string oid_str);
22 GSSOID(GSSBuffer oid_str);
23 GSSOID(gss_OID gssoid);
24 GSSOID(const GSSOID &gssoid);
27 gss_OID toGss() const { return(oid); };
28 std::string toString() const;
30 bool setValue(GSSBuffer buf);
31 bool setValue(gss_OID gssOID);
33 JSONObject *toJSONValue() const;
38 void init(GSSBuffer oid_str);