Re: CERT_VerifyCertificate question

2006-08-08 Thread Nelson B Bolyard
David Stutzman wrote: > Here's some certutil -L output for the cert I am playing with here: > Signed Extensions: > Name: Certificate Key Usage > Critical: True > Usages: Digital Signature > Non-Repudiation > > Name:

Re: CERT_VerifyCertificate question

2006-08-08 Thread David Stutzman
David Stutzman wrote: Julien Pierre wrote: What purpose are you using the digital signatures for in your application ? That may help determine the right usage to check . A blob of data will be signed and sent out over a network to another system running the same application and the signature

Re: CERT_VerifyCertificate question

2006-07-31 Thread David Stutzman
Julien Pierre wrote: What purpose are you using the digital signatures for in your application ? That may help determine the right usage to check . A blob of data will be signed and sent out over a network to another system running the same application and the signature will need to be verifi

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