OLD | NEW |
---|---|
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 Loading... | |
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. This function should only be called from the | |
803 ** SSL_GetClientAuthDataHook callback. The returned value is valid only until | |
804 ** the callback returns, and should not be freed. | |
wtc
2011/12/02 22:31:46
Document that this function returns NULL if called
mattm
2011/12/06 00:32:01
Done.
| |
805 */ | |
806 SSL_IMPORT SECItem *SSL_CertificateRequestCertTypes(PRFileDesc *fd); | |
801 | 807 |
802 SEC_END_PROTOS | 808 SEC_END_PROTOS |
803 | 809 |
804 #endif /* __ssl_h_ */ | 810 #endif /* __ssl_h_ */ |
OLD | NEW |