Hi! Using PKCS#11 you use the FindObject functions to locate the key you are looking for. Once you have located the key and have obtained an object handle, you use C_GetAttributeValue to extract the exponent and modulus from the key object.
Eirik A. Herskedal On Tue, 17 Jun 2003, Aintzane Armentia Diaz de Tuesta wrote: > Hi, > I'm sorry but before I didn't tell that we want to do all this tasks (take > out the value of the public key, create the certificate request, etc) using > the functions of PKCS#11 standard. We wouldn't like to program at such a > low level as Read Binary (if it's possible). > > Thanks, > > > Aintzane Armentia Diaz de Tuesta > Dpto. de Wireless / Wireless Dept. > ROBOTIKER, Corporaci�n Tecnol�gica TECNALIA. > Parque Tecnol�gico, Edificio 202. E-48170 Zamudio (Bizkaia) (SPAIN). > Tel: (34) 94 600 22 66. Fax: (34) 94 600 22 99 > [EMAIL PROTECTED], www.robotiker.com > > "Este correo electr�nico contiene informaci�n privada que puede estar > legalmente protegida, parcial o totalmente. Es s�lo para uso del > destinatario al que est� dirigido. Si ha recibido este mensaje por error, > le rogamos que lo notifique al remitente del email y que adem�s borre de su > sistema el mensaje as� como todas sus copias, incluyendo las posibles > copias del mismo en su disco duro, y se abstenga de usar, revelar, > distribuir a terceros, imprimir o copiar ninguna de las partes de este > mensaje". > "Mezu elektroniko honek informazio pribatua du, partzialki edo osorik legez > babestuta egon daitekeena. Bidali nahi zaion hartzaileak erabiltzeko > bakarrik da. Mezu hau hutsegite baten ondorioz jaso baduzu, mesedez, > mezuaren igorleari jakinaraztea eta mezua eta horren kopia guztiak > ezabatzea eskatzen dizugu, disko gogorrean izan ditzakezunak barne. Eta, > orobat, ez erabili mezu honen zatirik, ez eta erakutsi, beste pertsona > batzuei banatu, inprimatu edo berridatzi ere". > "This e-mail contains proprietary information some or all of which may be > legally protected. It is for sole use of the intended recipient only. If > you have received this message by mistake, you are requested to notify the > e-mail sender and erase both the message and any copies from your system, > including hard disk copies. You are further requested to refrain from > using, distributing to third parties, printing or making copies of any > parts of this message". > > > > _______________________________________________ > Muscle mailing list > [EMAIL PROTECTED] > http://lists.musclecard.com/mailman/listinfo/muscle > _______________________________________________ Muscle mailing list [EMAIL PROTECTED] http://lists.musclecard.com/mailman/listinfo/muscle
