Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(653)

Side by Side Diff: net/third_party/nss/ssl/ssl.h

Issue 8771031: Add NSS function to retrieve TLS client cert types requested by server. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review changes, add patch Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * This file contains prototypes for the public SSL functions. 2 * This file contains prototypes for the public SSL functions.
3 * 3 *
4 * ***** BEGIN LICENSE BLOCK ***** 4 * ***** BEGIN LICENSE BLOCK *****
5 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
6 * 6 *
7 * The contents of this file are subject to the Mozilla Public License Version 7 * The contents of this file are subject to the Mozilla Public License Version
8 * 1.1 (the "License"); you may not use this file except in compliance with 8 * 1.1 (the "License"); you may not use this file except in compliance with
9 * the License. You may obtain a copy of the License at 9 * the License. You may obtain a copy of the License at
10 * http://www.mozilla.org/MPL/ 10 * http://www.mozilla.org/MPL/
(...skipping 780 matching lines...) Expand 10 before | Expand all | Expand 10 after
791 ** Did the handshake with the peer negotiate the given extension? 791 ** Did the handshake with the peer negotiate the given extension?
792 ** Output parameter valid only if function returns SECSuccess 792 ** Output parameter valid only if function returns SECSuccess
793 */ 793 */
794 SSL_IMPORT SECStatus SSL_HandshakeNegotiatedExtension(PRFileDesc * socket, 794 SSL_IMPORT SECStatus SSL_HandshakeNegotiatedExtension(PRFileDesc * socket,
795 SSLExtensionType extId, 795 SSLExtensionType extId,
796 PRBool *yes); 796 PRBool *yes);
797 797
798 SSL_IMPORT SECStatus SSL_HandshakeResumedSession(PRFileDesc *fd, 798 SSL_IMPORT SECStatus SSL_HandshakeResumedSession(PRFileDesc *fd,
799 PRBool *last_handshake_resumed) ; 799 PRBool *last_handshake_resumed) ;
800 800
801 /* Returns a SECItem containing the certificate_types field of the
802 ** CertificateRequest message. Each byte of the data is a TLS
803 ** ClientCertificateType value, and they are ordered from most preferred to
804 ** least. This function should only be called from the
805 ** SSL_GetClientAuthDataHook callback, and will return NULL if called at any
806 ** other time. The returned value is valid only until the callback returns, and
807 ** should not be freed.
808 */
809 SSL_IMPORT const SECItem *
810 SSL_GetRequestedClientCertificateTypes(PRFileDesc *fd);
801 811
802 SEC_END_PROTOS 812 SEC_END_PROTOS
803 813
804 #endif /* __ssl_h_ */ 814 #endif /* __ssl_h_ */
OLDNEW
« no previous file with comments | « net/third_party/nss/patches/getrequestedclientcerttypes.patch ('k') | net/third_party/nss/ssl/ssl3con.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698