On Wed, Aug 09, 2006, James Richard van den Berg wrote: > Hi > And if the Modulud and exponent are in a textfile, in format > <modulus><exponent> ? >
There isn't a function to do that directly though functions exist to convert hex or decimal strings to a BIGNUM which can be used. It is possible to convert text files into ASN1 using the OpenSSL mini-ASN1 compiler. Check out the asn1parse manual page which includes an example of how to encode a public key from a config file. Steve. -- Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage OpenSSL project core developer and freelance consultant. Funding needed! Details on homepage. Homepage: http://www.drh-consultancy.demon.co.uk ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [email protected] Automated List Manager [EMAIL PROTECTED]
