I'm trying to write my OpenSSL generated RSA keys onto a cryptoki (smart card) using PKCS#11 ... PKCS#11 requires the individual key parameters (p, q, d, e, n, d mod q-1, d mod p-1) in 'unsigned char*' format, or a binary string in general ... I'm trying to use the BigNumber library function BN_bn2bin to convert the RSA key parameters to binary strings ... but calling the PKCS#11 function (which works fine with hard-coded data values) throws an invalid data error ...
Can anybody help ?
Peter.
_________________________________________________________________
Get 10mb of inbox space with MSN Hotmail Extra Storage http://join.msn.com/?pgmarket=en-sg
______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]