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

Side by Side Diff: net/third_party/nss/ssl/sslimpl.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: 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 is PRIVATE to SSL and should be the first thing included by 2 * This file is PRIVATE to SSL and should be the first thing included by
3 * any SSL implementation file. 3 * any SSL implementation file.
4 * 4 *
5 * ***** BEGIN LICENSE BLOCK ***** 5 * ***** BEGIN LICENSE BLOCK *****
6 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 6 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
7 * 7 *
8 * The contents of this file are subject to the Mozilla Public License Version 8 * The contents of this file are subject to the Mozilla Public License Version
9 * 1.1 (the "License"); you may not use this file except in compliance with 9 * 1.1 (the "License"); you may not use this file except in compliance with
10 * the License. You may obtain a copy of the License at 10 * the License. You may obtain a copy of the License at
(...skipping 1089 matching lines...) Expand 10 before | Expand all | Expand 10 after
1100 sslHandshakeFunc nextHandshake; /*firstHandshakeLock*/ 1100 sslHandshakeFunc nextHandshake; /*firstHandshakeLock*/
1101 sslHandshakeFunc securityHandshake; /*firstHandshakeLock*/ 1101 sslHandshakeFunc securityHandshake; /*firstHandshakeLock*/
1102 1102
1103 /* the following variable is only used with socks or other proxies. */ 1103 /* the following variable is only used with socks or other proxies. */
1104 char * peerID; /* String uniquely identifies target server. */ 1104 char * peerID; /* String uniquely identifies target server. */
1105 1105
1106 unsigned char * cipherSpecs; 1106 unsigned char * cipherSpecs;
1107 unsigned int sizeCipherSpecs; 1107 unsigned int sizeCipherSpecs;
1108 const unsigned char * preferredCipher; 1108 const unsigned char * preferredCipher;
1109 1109
1110 /* TLS ClientCertificateTypes requested during HandleCertificateRequest. */
1111 /* Will be NULL at all other times. */
1112 SECItem* requestedCertTypes;
wtc 2011/12/02 22:31:46 This probably should be const SECItem*. Nit: put
mattm 2011/12/06 00:32:01 Done.
1113
1110 ssl3KeyPair * stepDownKeyPair; /* RSA step down keys */ 1114 ssl3KeyPair * stepDownKeyPair; /* RSA step down keys */
1111 1115
1112 /* Callbacks */ 1116 /* Callbacks */
1113 SSLAuthCertificate authCertificate; 1117 SSLAuthCertificate authCertificate;
1114 void *authCertificateArg; 1118 void *authCertificateArg;
1115 SSLGetClientAuthData getClientAuthData; 1119 SSLGetClientAuthData getClientAuthData;
1116 void *getClientAuthDataArg; 1120 void *getClientAuthDataArg;
1117 #ifdef NSS_PLATFORM_CLIENT_AUTH 1121 #ifdef NSS_PLATFORM_CLIENT_AUTH
1118 SSLGetPlatformClientAuthData getPlatformClientAuthData; 1122 SSLGetPlatformClientAuthData getPlatformClientAuthData;
1119 void *getPlatformClientAuthDataArg; 1123 void *getPlatformClientAuthDataArg;
(...skipping 627 matching lines...) Expand 10 before | Expand all | Expand 10 after
1747 #elif defined(_WIN32_WCE) 1751 #elif defined(_WIN32_WCE)
1748 #define SSL_GETPID GetCurrentProcessId 1752 #define SSL_GETPID GetCurrentProcessId
1749 #elif defined(WIN32) 1753 #elif defined(WIN32)
1750 extern int __cdecl _getpid(void); 1754 extern int __cdecl _getpid(void);
1751 #define SSL_GETPID _getpid 1755 #define SSL_GETPID _getpid
1752 #else 1756 #else
1753 #define SSL_GETPID() 0 1757 #define SSL_GETPID() 0
1754 #endif 1758 #endif
1755 1759
1756 #endif /* __sslimpl_h_ */ 1760 #endif /* __sslimpl_h_ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698