*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> SSL_get_privatekey (3)              
Title
Content
Arch
Section
 

SSL_get_privatekey(3)

Contents


NAME    [Toc]    [Back]

       SSL_get_privatekey  -  Get a private-key of the X.509 certificate
 loaded in the SSL structure

SYNOPSIS    [Toc]    [Back]

       #include <openssl/ssl.h>

       EVP_PKEY *SSL_get_privatekey(
               SSL *s );

DESCRIPTION    [Toc]    [Back]

       The SSL_get_privatekey() function returns a pointer  to  a
       private-key  of  the  X.509  certificate loaded in the SSL
       structure. Before calling  this  function,  a  private-key
       must  be  loaded  into  the SSL structure with another API
       (for example, SSL_use_PrivateKey_file(),  SSL_CTX_use_PrivateKey_file(),
 etc.)

RETURN VALUES    [Toc]    [Back]

       The  following  return values can occur: No private-key is
       loaded  in  the  SSL  structure.   Getting  a  private-key
       failed.   The return value points to an EVP_PKEY structure
       in the SSL structure.

SEE ALSO    [Toc]    [Back]

      
      
       Functions:       SSL_use_PrivateKey(3),       SSL_use_PrivateKey_ASN1(3),               SSL_use_PrivateKey_file(3),
       SSL_use_RSAPrivateKey(3),   SSL_use_RSAPrivateKey_ASN1(3),
       SSL_use_RSAPrivateKey_file(3),  SSL_CTX_use_PrivateKey(3),
       SSL_CTX_use_PrivateKey_ASN1(3),           SSL_CTX_use_PrivateKey_file(3),             SSL_CTX_use_RSAPrivateKey(3),
       SSL_CTX_use_RSAPrivateKey_ASN1(3),     SSL_CTX_use_RSAPrivateKey_file(3)



                                            SSL_get_privatekey(3)
[ Back ]
 Similar pages
Name OS Title
SSL_get_certificate Tru64 Return an X.509 certificate loaded in the SSL structure
SSL_check_private_key Tru64 Checks the private key against the public key of the certificate in the SSL structure
CSSM_TP_CertReclaimKey Tru64 Get private key associated with a certificate (CDSA)
TP_CertReclaimKey Tru64 Get private key associated with a certificate (CDSA)
devclass_get_softc FreeBSD translate unit number to driver private structure
lsmod Linux list loaded modules.
ldr_inq_module Tru64 Return information about a loaded module
dlinfo FreeBSD information about dynamically loaded object
modstat OpenBSD display status of loaded kernel modules
glaretexturesresident IRIX determine if textures are loaded in texture memory
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service