Arnaud De Timmerman wrote:

> All,
Hello Arnaud,

> I'm using the X509 object.
> I know how to load a certificate in this object.
> What is the shorter way to know if it's a self signed certificate ?
> Browsing the code I've seen that the X509_STORE_CTX object should be a great
> help, but I don't know how create one from a X509.

Try to verify the certificate with the public key in it.
if it verifies OK, it is self signed, no matter what is in the
issuer-DN-field...

By

Goetz

-- 
Goetz Babin-Ebell, TC TrustCenter GmbH, http://www.trustcenter.de
Sonninstr. 24-28, 20097 Hamburg, Germany
Tel.: +49-(0)40 80 80 26 -0,  Fax: +49-(0)40 80 80 26 -126
Visit us at CeBIT 2001 in  Hall 06, booth C40

S/MIME Cryptographic Signature

Reply via email to