RE: BER to DER conversion

2005-07-11 Thread David Schwartz
> Thanks, David. > > I am stuck exact at how to convert BER to DER. > If I can convert BER to DER, then my problem is > solved. > > Dr. Steve said there is no such conversion routine in > OpenSSL... That is not your program. If that were the problem, the solution would simply be to re

RE: BER to DER conversion

2005-07-11 Thread Lincoln
Thanks, David. I am stuck exact at how to convert BER to DER. If I can convert BER to DER, then my problem is solved. Dr. Steve said there is no such conversion routine in OpenSSL... --- David Schwartz <[EMAIL PROTECTED]> wrote: > > > Thanks for your point. However, I think you > > mis

RE: BER to DER conversion

2005-07-11 Thread David Schwartz
> Thanks for your point. However, I think you > misinterpreted my problem. Actually, you have misinterpret your own problem. ;) > I know BER is a superset of DER, so we can use DER in > places where BER is expected. Exactly. > However, my case is reversed. I am trying to use B

Re: BER to DER conversion

2005-07-11 Thread Lincoln
Steve, Thanks for your point. However, I think you misinterpreted my problem. I know BER is a superset of DER, so we can use DER in places where BER is expected. However, my case is reversed. I am trying to use BER to a place where DER is expected. Specifically, The following section of

Re: BER to DER conversion

2005-07-11 Thread Dr. Stephen Henson
On Mon, Jul 11, 2005, Lincoln wrote: > Hello all, > >Does OpenSSL have a routine to convert BER encoded > blob into DER encoded blob? > > I need this because I am integrating OpenSSL with a > HSM which exports RSA public key to BER blob, but > OpenSSL internal routines expect DER encoded