On Tue, Feb 27, 2007, Zhuang Yuyao wrote:
> Victor Duchovni wrote:
> >On Tue, Feb 27, 2007 at 09:52:38AM +0800, Zhuang Yuyao wrote:
> >
> >>I need to verify a message digest and its signature with a X.509
> >>certificate. As far as I known, the procedure may looks like this:
> >>pubkey = X509_get
Victor Duchovni wrote:
On Tue, Feb 27, 2007 at 09:52:38AM +0800, Zhuang Yuyao wrote:
I need to verify a message digest and its signature with a X.509
certificate. As far as I known, the procedure may looks like this:
pubkey = X509_get_pubkey(x);
rsa = EVP_PKEY_get1_RSA(pkey);
RSA_public_decryp
On Tue, Feb 27, 2007 at 09:52:38AM +0800, Zhuang Yuyao wrote:
> I need to verify a message digest and its signature with a X.509
> certificate. As far as I known, the procedure may looks like this:
> pubkey = X509_get_pubkey(x);
> rsa = EVP_PKEY_get1_RSA(pkey);
> RSA_public_decrypt(signature_len,
Hi,
I need to verify a message digest and its signature with a X.509
certificate. As far as I known, the procedure may looks like this:
pubkey = X509_get_pubkey(x);
rsa = EVP_PKEY_get1_RSA(pkey);
RSA_public_decrypt(signature_len, signature, rsa_out, rsa, pad);
memcmp(rsa_out, message_digest, me