> Hello everyone,
> how can I import a X509 CA-Certificate in order to establish a SSL
> connection? I didn't find anything about that in the SDK docs.

 // import the public key in DER format
 err = CPMLibImportKeyInfo(libRef, IMPORT_EXPORT_TYPE_DER, 
                           publicKey, sizeof(publicKey), &keyinfo);


publicKey is an array of bytes confirming to DER.1 ASN (X509) :)
i know this works - i was able to generate a keypair in Java, then
use them within the palm application for verification purposes.

i would assume you would be using the crytography library for
handling the SSL certificates - i know this code works; as it is
what is used to import public keys for code signing verification

it is documented :) 

---
Aaron Ardiri
[EMAIL PROTECTED]
http://www.mobilewizardry.com/members/aaron_ardiri.php [profile]


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to