RE: Any API available to get the CRL next update time in ASN1_GENERALIZEDTIME?

2006-11-15 Thread surendra.ande
Thank you Steve. It works fine. Have a nice day. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dr. Stephen Henson Sent: Tuesday, November 14, 2006 6:44 PM To: openssl-users@openssl.org Subject: Re: Any API available to get the CRL next update time in

Any API available to get the CRL next update time in ASN1_GENERALIZEDTIME?

2006-11-14 Thread surendra.ande
Hi, Is there any API available to get the next update time of CRL in ASN1_GENERALIZEDTIME format? The next update time can be retrieved in ASN1_TIME format using the following API: get_crl_update_time(X509_CRL *crl ) { ASN1_TIME *ctm = NULL; ctm = M_ASN1_TIME_dup

RE: Any API available to get the CRL next update time in ASN1_GENERALIZEDTIME?

2006-11-14 Thread surendra.ande
Hi Team, I found the following API to get the timeASN1_GENERALIZEDTIME format. == ASN1_TIME *ctm = NULL;ASN1_GENERALIZEDTIME *asn1_time = NULL; ctm = M_ASN1_TIME_dup (X509_CRL_get_nextUpdate(base_crl));asn1_time =

Any API available to get the CRL's next update time in seconds?

2006-09-22 Thread surendra.ande
Hi Team, Howto I get the next update time of CRL in no. of seconds? The API of X509_CRL_get_nextUpdate(crl) returning value in different format(ASN1_TIME). How do I convert that API's return value in to "seconds"? My aim is to obtain the next CRL update time in seconds. How to achieve

RE: How to retrive the delta CRL location and revocation reason?

2006-09-18 Thread surendra.ande
Hi Team, I am seeing the segmentation fault while executing the DELTA CDP retrieval code for second time. Should I need to clean the strings after created by the OBJ_create() function? Please have a look at the piece of code. First time it is running fine. Second time it is giving segmatation

RE: X509_CRL_get_nextUpdate: How to get the CRL's next update time in seconds?

2006-09-18 Thread surendra.ande
Hi Team, How can I get the next update time of CRL in no. of seconds? The API of X509_CRL_get_nextUpdate(crl) returning value in different format. How do I convert that API's return value in to "seconds"? My aim is to obtain the next CRL update time in seonds. How to achieve that?

RE: Description of the X509 object

2006-09-17 Thread surendra.ande
Hello, The following URL gives information about x509 certificate management. http://www.columbia.edu/~ariel/ssleay/x509_certs.html Regards, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frank Büttner Sent: Wednesday, September 06, 2006 4:09 PM

Problem with DER formatted file when downloaded thru HTTP

2006-09-06 Thread surendra.ande
Hi Team, I am seeing a problem with DER formatted file. I downloaded the DER formatted file (crl file) using a standard http client application. But I could not open that file and it is saying The file is invalid for use as the following: Certificate Revocation List while trying to open it.

Is there any API available to convert the DER formatted file to Base64 formatted file?

2006-09-06 Thread surendra.ande
Hi Team, Is there any API available in OPENSSL to convert the DER formatted file to Base64 formatted file? Please let me know your thoughts. Thank you. -Suren The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the

Problem with DER formatted file when downloaded thru HTTP

2006-09-04 Thread surendra.ande
Hi Team, I am seeing a problem with DER formatted file. I downloaded the DER formatted file (crl file) using a standard http client application. But I could not open that file and it is saying The file is invalid for use as the following: Certificate Revocation List while trying to open it. But

RE: How to retrive the delta CRL location and revocation reason?

2006-09-04 Thread surendra.ande
Hi, Thank you for the information. I enabled the Freshest CRL extension in base CRL thru our LONGHORN server settings. Now I could get the Delta CRL's CDP succcessfully. Thanks a lot. Millions of Thanks for your help, -Surendra -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

X509_CRL_get_nextUpdate: How to get the CRL's next update time in seconds?

2006-09-04 Thread surendra.ande
Hi Team, How can I get the next update time of CRL in no. of seconds? The API of X509_CRL_get_nextUpdate(crl) returning value in different format. How do I convert that API's return value in to "seconds"? My aim is to obtain the next CRL update time in seonds. How to achieve that?

RE: How to get the reason for rovocation in CRL Validation?

2006-09-01 Thread surendra.ande
Yes. I got the reason for revocation. THANKS Thanks a lot:), -Surendra -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dr. Stephen Henson Sent: Friday, September 01, 2006 1:48 AM To: openssl-users@openssl.org Subject: Re: How to get the reason for

RE: How to retrive the delta CRL location and revocation reason?

2006-09-01 Thread surendra.ande
Hi, I am working on CRL validation. I am using openssl 0.9.8b. QUESTION: How to retrive the CDP for Delta CRL? Please let me know the way to do it. Thousand thanks in advance. Procedure: Delta CRLDP is a bit messy because it isn't yet supported by OpenSSL directly. However you can add the OID

RE: How to retrive the delta CRL location and revocation reason?

2006-09-01 Thread surendra.ande
Hi, Thanks a lot for clarification. But still I am NOT able to retrieve it. I followed below mentioned logic to retrive the delta crl as per your suggestion. But it not NOT extracting the cdp of delta crl. Could you please throw some light on this? I am using the nid in X509_get_ext_d2i()

RE: How to retrive the delta CRL location and revocation reason?

2006-08-31 Thread surendra.ande
Hi, I am working on CRL validation. I am using openssl 0.9.8b. QUESTION: How to retrive the CDP for Delta CRL? Procedure: Delta CRLDP is a bit messy because it isn't yet supported by OpenSSL directly. However you can add the OID manually using OBJ_create() and alias the extension to CRLDP and

RE: How to retrive the delta CRL location and revocation reason?

2006-08-31 Thread surendra.ande
Hi, I am working on CRL validation on LONGHORN CA. My issue is to extract the CDP for delta crl. I found a way to extract the delta crl name from normal crl file. Is it correct? Let me explain you clearly: I found that the delta crl name format in LONGHORN CA is some thing like... Normal CRL:

How to get the reason for rovocation in CRL Validation?

2006-08-30 Thread surendra.ande
Hi, I am using openssl 0.9.8b. I am doing CRL validation. In that process, I got the CRL status thru the following API: API: sk_X509_REVOKED_find(crl-crl-revoked, rtmp). After that, I need find out the reason for revocation. I am using the API X509_REVOKED_get_ext_d2i(rtmp,

RE: How to retrive the delta CRL location and revocation reason?

2006-08-28 Thread surendra.ande
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dr. Stephen Henson Sent: Sunday, August 27, 2006 4:03 AM To: openssl-users@openssl.org Subject: Re: How to retrive the delta CRL location and revocation reason? On Fri, Aug 25, 2006, [EMAIL PROTECTED]

RE: How to retrive the delta CRL location and revocation reason?

2006-08-28 Thread surendra.ande
How to retrieve the delta crl's CDP? Could you please elaborate the same? Thank you, -Surendra On Fri, Aug 25, 2006, [EMAIL PROTECTED] wrote: Hi Team, I am working on the CRL validation. I am seeing some issues in extracting the - delta crl distribution point and - reason for

How to retrive the delta CRL location and revocation reason?

2006-08-26 Thread surendra.ande
Hi Team, I am working on the CRL validation. I am seeing some issues in extracting the - delta crl distribution point and - reason for revocation from the certifiacte. Which structure members in the CRL to be used to retrieve the information? Could you please let me know your thoughts on how

RE: How to retrive the delta CRL location and revocation reason?

2006-08-26 Thread surendra.ande
Hi Team, I am working on the CRL validation. I am seeing some issues in extracting the - delta crl distribution point and - reason for revocation from the certifiacte. Which structure members in the CRL to be used to retrieve the information? Could you please let me know your thoughts on

How to retrive the delta CRL location and revocation reason?

2006-08-25 Thread surendra.ande
Hi Team, I am working on the CRL validation. I am seeing some issues in extracting the - delta crl distribution point and - reason for revocation. Could you please let me know your thoughts on how to access these two above mentioned information? Let me explain you my problem clearly: 1. I got

To extract the Delta crl's location (cdp of delta crl) from certificate.

2006-08-25 Thread surendra.ande
Hi Team, I am working on the CRL validation stuff. In that process, I need to extract the cdp(crl distribution point). I am a bit hazy about extracting the crl distribution point (cdp) from the certificate. I am following the below mentioned procedure to extract the cdp. I am succeeded in