skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 2:... HP Open Source Security for OpenVMS Volume 2:...
go to beginning of reference: CRYPTO Application Programming Interface (API)... CRYPTO Application Programming Interface (API)...
go to previous page: DSA_set_default_method DSA_set_default_method
go to next page: DSA_signDSA_sign
end of book navigation links


DSA_SIG_new
Description
Return Values
See Also
History
 

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);


return to top 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 to top 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.


return to top SEE ALSO  

dsa(3) , ERR_get_error(3) , DSA_do_sign(3)


return to top HISTORY  

DSA_SIG_new() and DSA_SIG_free() were added in OpenSSL 0.9.3.
go to previous page: DSA_set_default_method DSA_set_default_method
go to next page: DSA_signDSA_sign