Re: Verifying a certificate using M2Crypto

"Kershaw, PJ (Philip)" <[email protected]>
Newsgroups gmane.comp.python.cryptography
Message-ID <EB861CD59F6DAA4BBC25EAE9987C5BC903706D38@EXCHANGE29.fed.cclrc.ac.uk>
Thanks - that worked:

assert cert.verify(cacert.get_pubkey())

> -----Original Message-----
> From: generic crypto class API for Python 
> [mailto:[email protected]] On Behalf Of Heikki Toivonen
> Sent: 12 April 2007 17:51
> To: [email protected]
> Subject: Re: Verifying a certificate using M2Crypto
> 
> 
> Philip Kershaw wrote:
> > I'd like to know how to verify an X.509 certificate against it's CA 
> > cert
> > with M2Crypto.  Is there an equivalent call to the command line:
> 
> I think you are looking for M2Crypto.X509.X509.verify. See 
> tests.test_x509 for some usage samples.
> 
> -- 
>   Heikki Toivonen
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.