MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Generic Security Services API Library Functions
                                     gssaddoidsetmember(3GS)



NAME
     gssaddoidsetmember - add  an  object  identifier  to  an
     object identifier set

SYNOPSIS
     cc [ flag... ] file... -lgss  [ library... ]
     #include 

     OMuint32 gssaddoidsetmember(OMuint32 *minorstatus,
          const gssOID memberoid, gssOIDset *oidset);


PARAMETERS
     The parameter descriptions for gssaddoidsetmember() fol-
     low:

     minorstatus    A mechanism specific status code.


     memberoid      Object identifier to be copied into the set.


     oidset         Set in which the object identifier should be
                     inserted.


DESCRIPTION
     The gssaddoidsetmember() function adds an  object  iden-
     tifier  to  an  object  identifier  set. You should use this
     function in conjunction with  gsscreateemptyoidset(3GS)
     when  constructing  a  set  of  mechanism  OIDs for input to
     gssacquirecred(3GS). The oidset parameter must refer  to
     an  OID-set  created  by GS-API, that is, a set returned by
     gsscreateemptyoidset(3GS).


     The GS-API creates a copy of  the  memberoid  and  inserts
     this  copy  into the set, expanding the storage allocated to
     the OID-set elements array, if necessary.  New  members  are
     always  added  to  the end of the OID set's elements. If the
     memberoid is already present,  the  oidset  should  remain
     unchanged.

ERORS
     The gssaddoidsetmember() function can return the follow-
     ing status codes:

     GSCOMPLETE

         Successful completion.




SunOS 5.11          Last change: 16 Aug 2007                    1






Generic Security Services API Library Functions
                                     gssaddoidsetmember(3GS)



     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 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),      gsscreateemptyoidset(3GS),
     attributes(5)


     Solaris Security for Developers Guide























SunOS 5.11          Last change: 16 Aug 2007                    2






Generic Security Services API Library Functions
                                     gssaddoidsetmember(3GS)






















































SunOS 5.11          Last change: 16 Aug 2007                    3






OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™