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]





Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to