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

  man pages->NetBSD man pages -> DSA_generate_key (3)              



NAME    [Toc]    [Back]

       DSA_generate_key - generate DSA key pair

LIBRARY    [Toc]    [Back]

       libcrypto, -lcrypto

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

       The PRNG must be seeded prior to calling DSA_gener-

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]

       openssl_dsa(3), openssl_err(3), openssl_rand(3), DSA_generate_parameters(3)

HISTORY    [Toc]    [Back]

       DSA_generate_key() is available since SSLeay 0.8.

2000-07-22                    0.9.6g          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