On Tue, Sep 08, 2009, Einar Thorsrud wrote: > On Mon, Sept 07, 2009 Dr. Stephen Henson wrote: > > > Currently you have to set the key components manually in the RSA structure. > > Thank you for your quick and helpful answer. > > I will try that. However, I am having problems understanding which part > of the hex key string goes where. Do you know how I can isolate the > different components in the hex key so that they go where they belong in > the RSA structure? > > Basically the question is: how many hex characters or bits are used for > each component in the 2048 bit public key, and how are they arranged in > the key (in what order to they appear). >
It all depends on the format of the hex string. There isn't any particular standard for this and it can vary depending on where it came from. If you want to setup a public key then just the n and e components need to be populated. If a private key you need 'd' as well and preferably all the other components too. Steve. -- Dr Stephen N. Henson. OpenSSL project core developer. Commercial tech support now available see: http://www.openssl.org ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org