Manual Pages for UNIX Darwin command on man DSA_do_verify
MyWebUniversity

Manual Pages for UNIX Darwin command on man DSA_do_verify

DSAdosign(3) OpenSSL DSAdosign(3)

NAME

DSAdosign, DSAdoverify - raw DSA signature operations

SYNOPSIS

#include

DSASIG *DSAdosign(const unsigned char *dgst, int dlen, DSA *dsa); int DSAdoverify(const unsigned char *dgst, int dgstlen, DSASIG *sig, DSA *dsa);

DESCRIPTION

DSAdosign() computes a digital signature on the lleenn byte message digest ddggsstt using the private key ddssaa and returns it in a newly allocated DDSSAASSIIGG structure. DSAsignsetup(3) may be used to precompute part of the signing

operation in case signature generation is time-critical.

DSAdoverify() verifies that the signature ssiigg matches a given message digest ddggsstt of size lleenn. ddssaa is the signer's public key.

RETURN VALUES

DSAdosign() returns the signature, NULL on error. DSAdoverify()

returns 1 for a valid signature, 0 for an incorrect signature and -1 on

error. The error codes can be obtained by ERRgeterror(3).

SEE ALSO

dsa(3), ERRgeterror(3), rand(3), DSASIGnew(3), DSAsign(3) HISTORY DSAdosign() and DSAdoverify() were added in OpenSSL 0.9.3.

0.9.7l 2002-09-25 DSAdosign(3)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™