Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dsa_sig_new(3) [opendarwin man page]

DSA_SIG_new(3)							      OpenSSL							    DSA_SIG_new(3)

NAME
DSA_SIG_new, DSA_SIG_free - allocate and free DSA signature objects SYNOPSIS
#include <openssl/dsa.h> DSA_SIG *DSA_SIG_new(void); void DSA_SIG_free(DSA_SIG *a); DESCRIPTION
DSA_SIG_new() allocates and initializes a DSA_SIG structure. DSA_SIG_free() frees the DSA_SIG structure and its components. The values are erased before the memory is returned to the system. RETURN VALUES
If the allocation fails, DSA_SIG_new() returns NULL and sets an error code that can be obtained by ERR_get_error(3). Otherwise it returns a pointer to the newly allocated structure. DSA_SIG_free() returns no value. SEE ALSO
dsa(3), ERR_get_error(3), DSA_do_sign(3) HISTORY
DSA_SIG_new() and DSA_SIG_free() were added in OpenSSL 0.9.3. 0.9.7d 2003-11-20 DSA_SIG_new(3)

Check Out this Related Man Page

DSA_do_sign(3)							      OpenSSL							    DSA_do_sign(3)

NAME
DSA_do_sign, DSA_do_verify - raw DSA signature operations SYNOPSIS
#include <openssl/dsa.h> DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa); int DSA_do_verify(const unsigned char *dgst, int dgst_len, DSA_SIG *sig, DSA *dsa); DESCRIPTION
DSA_do_sign() computes a digital signature on the len byte message digest dgst using the private key dsa and returns it in a newly allo- cated DSA_SIG structure. DSA_sign_setup(3) may be used to precompute part of the signing operation in case signature generation is time-critical. DSA_do_verify() verifies that the signature sig matches a given message digest dgst of size len. dsa is the signer's public key. RETURN VALUES
DSA_do_sign() returns the signature, NULL on error. DSA_do_verify() returns 1 for a valid signature, 0 for an incorrect signature and -1 on error. The error codes can be obtained by ERR_get_error(3). SEE ALSO
dsa(3), ERR_get_error(3), rand(3), DSA_SIG_new(3), DSA_sign(3) HISTORY
DSA_do_sign() and DSA_do_verify() were added in OpenSSL 0.9.3. 0.9.7a 2002-09-25 DSA_do_sign(3)
Man Page

2 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Shopt -s histappend

What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file. # When the shell exits, append to the history file instead of overwriting it shopt -s histappend (3 Replies)
Discussion started by: cokedude
3 Replies

2. OS X (Apple)

Undeletable file

Greetings, I'm trying to delete a file with a weird name from within Terminal on a Mac. It's a very old file (1992) with null characters in the name: “␀␀Word FinderÂŽ Plus™”. Here are some examples of what I've tried: 12FX009:5 dpontius$ ls ␀␀Word FinderÂŽ Plus™ 12FX009:5 dpontius$ rm... (29 Replies)
Discussion started by: dpontius
29 Replies