Generic Security Services API Library Functions
gsstestoidsetmember(3GS)
NAME
gsstestoidsetmember - interrogate an object identifier
set
SYNOPSIS
cc [ flag... ] file... -lgss [ library... ]
#include
OMuint32 gsstestoidsetmember(OMuint32 *minorstatus,
const gssOID member,const gssOIDset set,
int *present);
DESCRIPTION
The gsstestoidsetmember() function interrogates an
object identifier set to determine if a specified object
identifier is a member. This function should be used with
OID sets returned by gssindicatemechs(3GS),
gssacquirecred(3GS), and gssinquirecred(3GS), but it
will also work with user-generated sets.
PARAMETERS
The parameter descriptions for gsstestoidsetmember()
follow:
minorstatus A mechanism-specific status code
member An object identifier whose presence is to be
tested
set An object identifier set.
present The value of present is non-zero if the
specified OID is a member of the set; if
not, the value of present is zero.
ERORS
The gsstestoidsetmember() function may return the fol-
lowing status codes:
GSCOMPLETE Successful completion
GSFAILURE The underlying mechanism detected an error
for which no specific GS status code is
defined. The mechanism-specific status
code reported by means of the minorstatus
SunOS 5.11 Last change: 15 Jan 2003 1
Generic Security Services API Library Functions
gsstestoidsetmember(3GS)
parameter details the error condition.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWgss (32-bit)
SUNWgssx (64-bit)
MT-Level Safe
SEE ALSO
gssacquirecred(3GS), gssindicatemechs(3GS),
gssinquirecred(3GS), attributes(5)
Solaris Security for Developers Guide
SunOS 5.11 Last change: 15 Jan 2003 2
Generic Security Services API Library Functions
gsstestoidsetmember(3GS)
SunOS 5.11 Last change: 15 Jan 2003 3
|