Hi.

I'm getting myself confused with the different formats. I see the PEM functions are defined as PEM_ANS.....
Is PEM the equivalent of ANS or can ASN be represented in PEM format.

The route of my problem is such.
I am going to be getting a public key on a socket from a MS machine exported using the X509_ASN_ENCODING flag. I am assuming that this is binary data. Using a memory bio (BIO_s_mem()) I want to read this into a EVP_PKEY structure so that I can include the key into a certificate that I am creating.

What function(s) would I need to use to accomplish this.

What is the correct PKCS format to send the certificate back to the client?

Any help appreciated

Hylton


Attachment: smime.p7s
Description: application/pkcs7-signature

Reply via email to