MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


neon API reference                           NESLTRUSTCERT(3)



NAME
     nessltrustcert, nessltrustdefaultca  -  functions  to
     indicate that certificates are trusted

SYNOPSIS
     #include 


     void nessltrustcert (nesession *session,
                             const nesslcertificate *cert);

     void nessltrustdefaultca (nesession *session);


DESCRIPTION
     To indicate that a given certificate is trusted by the user,
     the  certificate  object can be passed to nessltrustcert.
     The certificate object is duplicated internally and can  su-
     bequently be destroyed.


     The SL library in use by neon may include a default set  of
     CA  certificates;  calling the nessltrustdefaultca func-
     tion will indicate that these CAs are trusted by the user.


EXAMPLES
     Load the CA certificate stored in /path/to/cacert.pem:

     nesession *sess = nesessioncreate(...);
     nesslcertificate *cert = nesslcertread("/path/to/cacert.pem");

     if (cert) {
        nessltrustcert(sess, cert);
        nesslcertfree(cert);
     } else {
        printf("Could not load CA cert: %s\n", negeterror(sess));
     }


SEE ALSO
     nesslcertread(3),                  nesslcertimport(3),
     nesslcertfree(3)


AUTHOR
     Joe Orton .

ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:




neon 0.25.5       Last change: 20 January 2006                  1






neon API reference                           NESLTRUSTCERT(3)



     box; cbp-1  cbp-1 l  l .  ATRIBUTE TYPE ATRIBUTE VALUE =
     Availability   SUNWneon = Interface Stability Volatile

NOTES
     Source for Neon is available on http:/opensolaris.org.

ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:

     
       ATRIBUTE TYPE     ATRIBUTE VALUE
    
     Availability         SUNWneon       
    
     Interface Stability  Volatile       
    

NOTES
     Source for Neon is available on http:/opensolaris.org.



































neon 0.25.5       Last change: 20 January 2006                  2



OpenSolaris man pages main menu

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