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

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

DSA_generate_key(3)

Contents


NAME    [Toc]    [Back]

       DSA_generate_key - Generate DSA key pair

SYNOPSIS    [Toc]    [Back]

       #include <openssl/dsa.h>

       int DSA_generate_key(
               DSA *a );

DESCRIPTION    [Toc]    [Back]

       The  DSA_generate_key()  function expects a to contain DSA
       parameters. It generates a new key pair and stores  it  in
       a->pub_key and a->priv_key.

       The  PRNG  must  be  seeded  prior  to  calling DSA_generate_key().

RETURN VALUE    [Toc]    [Back]

       The DSA_generate_key() function returns 1  on  success,  0
       otherwise.   The   error   codes   can  be  obtained  from
       ERR_get_error().

HISTORY    [Toc]    [Back]

       The DSA_generate_key() function is available since  SSLeay
       0.8.

SEE ALSO    [Toc]    [Back]

      
      
       Functions:  dsa(3),  err(3), rand(3), DSA_generate_parameters(3)



                                              DSA_generate_key(3)
[ Back ]
 Similar pages
Name OS Title
RSA_generate_key Tru64 Generate RSA key pair
RSA_generate_key OpenBSD generate RSA key pair
RSA_generate_key NetBSD generate RSA key pair
GenerateKeyPair Tru64 Generate an asymmetric key pair (CDSA)
CSSM_GenerateKeyPair Tru64 Generate an asymmetric key pair (CDSA)
CSP_GenerateKeyPair Tru64 Generate an asymmetric key pair (CDSA)
GenerateKeyPairP Tru64 Generate an asymmetric key pair with privilege (CDSA)
BIO_set_write_buf_size Tru64 BIO pair BIO
BIO_shutdown_wr Tru64 BIO pair BIO
BIO_s_bio Tru64 BIO pair BIO
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service