Hi.,
  I had gone thro' the X509_check_issued(). With that only I have
created X509 structure for subject and issuers certificate with
d2i_X509().
But the subject->akid is NULL .

Then I called ASN1_OCTET_STRING_cmp(subject->akid->keyid,
issuer->skid);it crashes..
Is there anything I need to do for updating this akid structure?


>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of Amar Desai
>Sent: Wednesday, July 21, 2004 4:49 PM
>To: [EMAIL PROTECTED]
>Subject: Re: Checking the authkeyid and subkeyid!!
>
>
>You can use something like this...
>
>ASN1_OCTET_STRING_cmp(subject->akid->keyid, issuer->skid);
>
>Look into the X509_check_issued() function and see if it
>satisfies your
>requirements.
>
>Amar
>
>[EMAIL PROTECTED] wrote:
>
>>Is there any function available to compare the Authority key
>identifier
>>of the certifcate with the issuers subject key identifier? Will 
>>X509_verify_cert() do the comparision of the above? Actually I have
>>both the certificates in DER format.
>>
>>
>>
>>
>>Confidentiality Notice
>>
>>
>>The information contained in this electronic message and any
>>attachments to this message are intended for the exclusive use of the
>>addressee(s) and may contain confidential or privileged
>information. If
>>you are not the intended recipient, please notify the sender at Wipro
>>or [EMAIL PROTECTED] immediately and destroy all copies of
>this message and any attachments.
>______________________________________________________________________
>>OpenSSL Project                                 http://www.openssl.org
>>User Support Mailing List                    [EMAIL PROTECTED]
>>Automated List Manager                           [EMAIL PROTECTED]
>>
>> 
>>
>
>




Confidentiality Notice

The information contained in this electronic message and any attachments to this 
message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged 
information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to