PreviousNext

gssdce_create_empty_oid_set(3sec)

Creates a new, empty OID set to which members can be added by calling the gssdce_add_oid_set_member( )

Synopsis

#include <dce/gssapi.h>

OM_uint32 gssdce_create_empty_oid_set (
OM_uint32 *minor_status,
gss_OID_set *OID_set);

Parameters

Input

OID_set
Specifies the OID set you want to create.

Output

minor_status
Returns a status code from the security mechanism.

Description
The gssdce_create_empty_oid_set( ) routine creates a new, empty OID set to which the context initiator can add members. Use the gssdce_add_oid_set_member( ) routine to add members to the OID set.

Use the gssdce_create_empty_oid_set( ) routine to specify a set of security mechanisms with which you can use an acquired credential. To create a credential that can accept a security context using DCE Security, Kerberos, or a combination of the two, use the gss_acquire_cred( ) routine.

Errors

The following describes a partial list of errors that might be returned. Refer to the OSF DCE Problem Determination Guide for complete descriptions of all error messages.

GSS_S_COMPLETE The routine was completed successfully.
GSS_S_FAILURE The routine failed. Check the minor_status parameter for details.
Related Information
Functions:

gssdce_add_oid_set_member(3sec)

gss_acquire_cred(3sec)