summaryrefslogtreecommitdiffstats
path: root/net/quic/crypto/proof_source.h
diff options
context:
space:
mode:
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,