Re: CERT_VerifyCertificate question

2006-07-28 Thread Julien Pierre
David, David Stutzman wrote: I'm looking at the functions CERT_VerifyCertificate and CERT_VerifyCertificateNow and see it has 2 parameters of type SECCertificateUsage, one required and one returned. What is the purpose of the returned one? SECCertificateUsage is a bit-field. If you requeste

Re: CERT_VerifyCertificate question

2006-07-28 Thread Julien Pierre
David, David Stutzman wrote: I'm looking at the functions CERT_VerifyCertificate and CERT_VerifyCertificateNow and see it has 2 parameters of type SECCertificateUsage, one required and one returned. What is the purpose of the returned one? SECCertificateUsage is a bit-field. If you requeste

CERT_VerifyCertificate question

2006-07-28 Thread David Stutzman
I'm looking at the functions CERT_VerifyCertificate and CERT_VerifyCertificateNow and see it has 2 parameters of type SECCertificateUsage, one required and one returned. What is the purpose of the returned one? I checked the certutil code and the same variable is being passed into the verify f