Re: Keys and Certificates creations

Peter Gutmann <[email protected]> Wed, 13 Feb 2013 10:37:58 +1300
Newsgroups gmane.comp.encryption.cryptlib
Message-ID <[email protected]>
David Pierre <[email protected]> writes:

>Is there a way, after i started a TLS session (or when i prepare it), to know
>the authentication algorithm used (like RSA) ? I got the encryption algorithm,
>but doesn't find how to get the other one.

Fetch the certificate (CRYPT_SESSINFO_RESPONSE) from the session and read
whatever you need (CRYPT_CTXINFO_ALGO, CRYPT_CTXINFO_KEYSIZE) from that.

Peter.

_______________________________________________
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.