> is it possible to convert PEM to BER with SSLeay ? With other product ?
Not without breaking the signature. What SSLeay calls "PEM" format (which
it uses for many more object types than PEM defines) is just a base64 encoding
of a (usually DER-encoded) object with header and trailer lines, so it's easy
to convert to DER encoding. If you want to parse the ASN.1 and write BER, you
could, but the signature wouldn't verify as it's the DER encoding that's signed.
--
Clifford Heath http://www.osa.com.au/~cjh
Open Software Associates Limited mailto:[EMAIL PROTECTED]
29 Ringwood Street / PO Box 4414 Phone +613 9871 1694
Ringwood VIC 3134 AUSTRALIA Fax +613 9871 1711
------------------------------------------------------------
Deploy Applications across the net, see http://www.osa.com
+-------------------------------------------------------------------------+
| Administrative requests should be sent to [EMAIL PROTECTED] |
| List service provided by Open Software Associates, http://www.osa.com/ |
+-------------------------------------------------------------------------+