HP Open Source Security for OpenVMS Volume 3: Kerberos > Chapter 5 GSSAPI (Generic Security Services Application Programming Interface)

gss_test_oid_set_member — Determine whether an object identifier is a member of the set

  Table of Contents

  Glossary

  Index

C Prototype

OM_uint32 gss_test_oid_set_member(
OM_uint32 * minor_status,
gss_OID member,
gss_OID_set set,
int * present );

Arguments

minor_status (output) 

An implementation-specific status code.

member (input) 

The object identifier whose presence is to be tested.

set (input) 

The object identifier set.

present (output) 

A Boolean value:

TRUE — The specified OID is a member of the set.FALSE — The specified OID is not a member of the set.

Description

This routine interrogates an object identifier set to determine whether a specified object identifier is a member. It is intended to be used with OID sets returned by gss_indicate_mechs, gss_acquire_cred, and gss_inquire_cred, but will also work with user-generated sets.

Return Values

This routine returns the following GSS status code:

GSS_S_COMPLETE

Successful completion.