Searched defs:mechOid (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libgss/
H A Dg_inquire_names.c125 gss_OID mechOid; local
143 if (__gss_mech_to_oid(mechanism, &mechOid) == GSS_S_COMPLETE) {
146 mechOid,
166 mechOid,
H A Dg_imp_name.c189 gss_OID_desc mechOid; local
216 * The mechOid itself is encoded in DER format, OID Tag (0x06)
230 mechOid.length = get_der_length(&buf,
232 mechOid.elements = (void *)buf;
238 if ((bytes + mechOid.length + 1) != mechOidLen)
241 buf += mechOid.length;
242 if ((mech = __gss_get_mechanism(&mechOid)) == NULL)
262 major = generic_gss_copy_oid(minor, &mechOid,
363 major = generic_gss_copy_oid(minor, &mechOid, &unionName->mech_type);
H A Dg_initialize.c719 gss_OID mechOid; local
771 if (generic_gss_str_to_oid(&minor, &oidBuf, &mechOid)
778 aMech = searchMechList(mechOid);
780 free(mechOid->elements);
781 free(mechOid);
794 free(mechOid->elements);
795 free(mechOid);
890 free(mechOid->elements);
891 free(mechOid);
898 free(mechOid
[all...]
/illumos-gate/usr/src/cmd/gss/gsscred/
H A Dgsscred_utils.c90 int gsscred_MakeName(const gss_OID mechOid, const char *name, argument
133 if (gss_canonicalize_name(&minor, intName, mechOid, NULL)
162 gsscred_MakeNameHeader(const gss_OID mechOid, gss_buffer_t outNameHdr) argument
168 mechOidDERLength = der_length_size(mechOid->length);
170 mechOidDERLength + expNameTokIdLen + mechOid->length;
187 mechOid->length;
192 if (put_der_length(mechOid->length, &buf,
200 (void) memcpy(buf, mechOid->elements, mechOid->length);
H A Dgsscred.c51 static int file_listUsers(const gss_OID mechOid, const char *userUid,
54 const char *uid, const char *mechOid);
55 static int file_removeUsers(const gss_OID mechOid, const char *userUid,
58 const char *uid, const char *mechOid);
154 gss_OID mechOid; local
183 if (__gss_mech_to_oid(mechOidStr, &mechOid) != GSS_S_COMPLETE) {
190 hexBufDesc.length = mechOid->length;
191 hexBufDesc.value = mechOid->elements;
209 if (!gsscred_MakeName(mechOid, name, nameOidStr, &fullName)) {
280 if (!gsscred_MakeName(mechOid, aUse
509 file_listUsers(const gss_OID mechOid, const char *unixUid, char **errDetails) argument
707 file_removeUsers(const gss_OID mechOid, const char *unixUid, char **errDetails) argument
[all...]

Completed in 264 milliseconds