summaryrefslogtreecommitdiffstats
path: root/net/quic/crypto/proof_source.h
diff options
context:
space:
mode:
authorrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-05 20:57:30 +0000
committerrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-05 20:57:30 +0000
commitf62262b8eb43c6a4ff8298bbf685924ba3292eab (patch)
tree44b99c48e9f51746890ba6fb46d0051adb16e3f5 /net/quic/crypto/proof_source.h
parentf666276a1c9df0bab723c76bb25288df87c46f06 (diff)
downloadchromium_src-f62262b8eb43c6a4ff8298bbf685924ba3292eab.zip
chromium_src-f62262b8eb43c6a4ff8298bbf685924ba3292eab.tar.gz
chromium_src-f62262b8eb43c6a4ff8298bbf685924ba3292eab.tar.bz2
Land Recent QUIC changes.
Implement the variable length changes necessary to easily accommodate both the new STREAM framing format, as well as the existing format. Merge internal change: 48567379 Stop storing two copies of the version (one in Connection, one in Framer), instead only the Framer stores the version. Merge internal change: 48452109 Cleaning up QuicPacketEntropyManager as part of an effort reduce EndToEndTest::LargePostFEC flakiness, and avoid sending incorrect entropy. Merge internal change: 48443412 Enabling a handful of cert selection tests for secure QUIC Merge internal change: 48306046 QUIC: support default certificates. In the event that the client doesn't supply an SNI value but does request a certificate, the server will use its default certificate. Merge internal change: 48305575 Added more comments to QuicPacket{Public,Private}Flags enums. Merge internal change: 48304472 R=rch@chromium.org Review URL: https://chromiumcodereview.appspot.com/18497011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210324 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/quic/crypto/proof_source.h')
-rw-r--r--net/quic/crypto/proof_source.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/quic/crypto/proof_source.h b/net/quic/crypto/proof_source.h
index 75b2ba0..b788a79 100644
--- a/net/quic/crypto/proof_source.h
+++ b/net/quic/crypto/proof_source.h
@@ -25,6 +25,8 @@ class NET_EXPORT_PRIVATE ProofSource {
// The signature uses SHA-256 as the hash function and PSS padding when the
// key is RSA.
//
+ // The signature uses SHA-256 as the hash function when the key is ECDSA.
+ //
// |out_certs| is a pointer to a pointer, not a pointer to an array.
//
// The number of certificate chains is expected to be small and fixed thus
@@ -36,6 +38,9 @@ class NET_EXPORT_PRIVATE ProofSource {
// wish to evicit entries from that cache, thus the caller takes ownership of
// |*out_signature|.
//
+ // |hostname| may be empty to signify that a default certificate should be
+ // used.
+ //
// This function may be called concurrently.
virtual bool GetProof(const std::string& hostname,
const std::string& server_config,