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

  man pages->OpenBSD 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]

       DSA_generate_key() 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_gener-
       ate_key().

RETURN VALUE    [Toc]    [Back]

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

SEE ALSO    [Toc]    [Back]

      
      
       dsa(3), ERR_get_error(3), rand(3),
       DSA_generate_parameters(3)

HISTORY    [Toc]    [Back]

       DSA_generate_key() is available since SSLeay 0.8.


OpenBSD 3.6                 2003-05-11                          1
[ 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