12-01-2006
Quote:
Originally Posted by satya009
What is the key diffirence between rsa and dsa.
RSA can do encryption as well as digital signatures. DSA only does digital signatures only.
If you do a search on Google, you will very likely find more details about it. Also, in case you are a student, please understand that we cannot help you with homework questions.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Can someone explain the difference between the two. Thanks (1 Reply)
Discussion started by: jerardfjay
1 Replies
2. HP-UX
When everytime I start apache, it asks me to enter pass phrase, and I have to enter the pass phrase manually.
I would like to write a script to monitor the apache, such that it will check the apache status, if it is stopped, then start it automatically. However, the script fails since the pass... (1 Reply)
Discussion started by: alfredo
1 Replies
3. UNIX for Dummies Questions & Answers
i have configured Squid proxy server in Fedora 8 with two network interfaces.
HTTP, HTTPS, FTP are working fine but we are unable to download mails using mail clients from mail server with POP3(ssl) and SMTP(ssl).
so please someone help us how to enable pop and smtp in Squid. (1 Reply)
Discussion started by: praneel2k
1 Replies
4. Programming
I am trying to develop a c++ application which will communicate with client through SSL(Not https).We are using self-signed certificates.
I have installed openssl and boost library.
I have tried some boost sample code also and its working.
Boost C++ Libraries -... (2 Replies)
Discussion started by: johnbach
2 Replies
5. Web Development
I have interesting problem.
https:/host/some/x.cgi
- this script has run twice when I call this url
But
http:/host/some/x.cgi
work fine, only once.
Output is text/plain.
If I change output format to the Content-type text/html,
then both urls works fine - executed only once. (2 Replies)
Discussion started by: kshji
2 Replies
6. UNIX for Dummies Questions & Answers
Hi there.
Im studying and i've got an exercise that i cannot fully understand. Im trying and testing, but it didnt works
What i need to configure ftps ( vsftpd ) with openssl? (1 Reply)
Discussion started by: andriusman
1 Replies
7. Red Hat
Dear All,
I have one URL which is working fine for our application. The url is using
http:// but i want it also to work under https ...for that i configured SSL and tried to restart httpd in my Linux server.
But I am getting the error
=================================
Init: Unable... (1 Reply)
Discussion started by: jegaraman
1 Replies
8. Red Hat
Hi guys,
I'm trying to generate a key using the genkey command in centos 6.4 and RHEL6.4, Every thing seems to go cool but I get this error message bad certificate request error -8016 and no key/cert is generated. I don't want use the many openssl(s) commands instead since genkey is a shourtcut... (3 Replies)
Discussion started by: leo_ultra_leo
3 Replies
9. Linux
Issue observed: I have configured ng.my-site.com using widlcard ssl cert. When I hit https://www.my-site.com it loads ng.my-site.com website!
please advise if I missed any concept / configs... Thank you!
httpd.conf
<VirtualHost *:80>
ServerName www.my-site.com
ServerAdmin... (0 Replies)
Discussion started by: ashokvpp
0 Replies
LEARN ABOUT OSX
dsa_sign_setup
DSA_sign(3) OpenSSL DSA_sign(3)
NAME
DSA_sign, DSA_sign_setup, DSA_verify - DSA signatures
SYNOPSIS
#include <openssl/dsa.h>
int DSA_sign(int type, const unsigned char *dgst, int len,
unsigned char *sigret, unsigned int *siglen, DSA *dsa);
int DSA_sign_setup(DSA *dsa, BN_CTX *ctx, BIGNUM **kinvp,
BIGNUM **rp);
int DSA_verify(int type, const unsigned char *dgst, int len,
unsigned char *sigbuf, int siglen, DSA *dsa);
DESCRIPTION
DSA_sign() computes a digital signature on the len byte message digest dgst using the private key dsa and places its ASN.1 DER encoding at
sigret. The length of the signature is places in *siglen. sigret must point to DSA_size(dsa) bytes of memory.
DSA_sign_setup() may be used to precompute part of the signing operation in case signature generation is time-critical. It expects dsa to
contain DSA parameters. It places the precomputed values in newly allocated BIGNUMs at *kinvp and *rp, after freeing the old ones unless
*kinvp and *rp are NULL. These values may be passed to DSA_sign() in dsa->kinv and dsa->r. ctx is a pre-allocated BN_CTX or NULL.
DSA_verify() verifies that the signature sigbuf of size siglen matches a given message digest dgst of size len. dsa is the signer's public
key.
The type parameter is ignored.
The PRNG must be seeded before DSA_sign() (or DSA_sign_setup()) is called.
RETURN VALUES
DSA_sign() and DSA_sign_setup() return 1 on success, 0 on error. DSA_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).
CONFORMING TO
US Federal Information Processing Standard FIPS 186 (Digital Signature Standard, DSS), ANSI X9.30
SEE ALSO
dsa(3), ERR_get_error(3), rand(3), DSA_do_sign(3)
HISTORY
DSA_sign() and DSA_verify() are available in all versions of SSLeay. DSA_sign_setup() was added in SSLeay 0.8.
0.9.8 2009-04-03 DSA_sign(3)