Certificates format

David Pierre <[email protected]> Thu, 24 Jan 2013 07:05:03 -0800 (PST)
Newsgroups gmane.comp.encryption.cryptlib
Message-ID <[email protected]>
Hi,

First of all, thank you for your previous replies, they helped me a lot. I'm
still discovering and testing cryptlib, specially certificates usage. 

I did my own certificate on server part, after generating a RSA key :

status = cryptKeysetOpen( &cryptKeyset, CRYPT_UNUSED , CRYPT_KEYSET_FILE,
"test.p15", CRYPT_KEYOPT_CREATE );
status = cryptAddPrivateKey( cryptKeyset, cryptContext,
TEST_PRIVKEY_PASSWORD );
status = cryptAddPublicKey( cryptKeyset, cryptCertificate );
status = cryptKeysetClose( cryptKeyset );

It works well. I try an SSL session after that, and client gets the
certificate and is able to check it. Now, i'm a little confused about
certificates format. I'm saving my certificate with .p15 extension. I have
looked for it on the Internet, and found it is for pkcs15. But when i check
in X.509 standard, there is no mention of this format (pem, der, p12, p7b
but no p15). 

How could I be sure my .p15 certificate will be recognize by an external
user ? Can I save my certificate in another format ? I tried to change
extension in previous code, but i wonder it is not that simple.
-- 
View this message in context: http://old.nabble.com/Certificates-format-tp34940748p34940748.html
Sent from the Cryptlib mailing list archive at Nabble.com.


_______________________________________________
Cryptlib mailing list
[email protected] via Mail: [email protected]
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.