Re: X509_verify question

2003-03-18 Thread Remo Inverardi
> I generate an RSA-key, assign it to an EVP_PKEY structure, sign the > cert with it, than use X509_get_pubkey() to get the public key, and > verify the signature with the pubkey, X509_verify(cert, pubkey), but > it always results "-1", ASN.1 (and, therefore, X.509) signatures identify the message

Re: X509_verify question

2003-03-17 Thread Dr. Stephen Henson
On Mon, Mar 17, 2003, Nils Larsch wrote: > Kocsis Peter wrote: > > HEllo! > > > > I am a newby, and I need some help. A want to check, > > whether the certificate is signed by the provided key. > > I generate both the key (firstly RSA) and the certificate. > > > > I generate an RSA-key, assign it