summaryrefslogtreecommitdiffstats
path: root/net/cert
diff options
context:
space:
mode:
authorrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-12 19:23:47 +0000
committerrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-12 19:23:47 +0000
commita69af0522df416013f4233a94632ce4a4c854ebc (patch)
tree6fccae366ebe46c6fd8b494d502da40b595e448a /net/cert
parent17ed3b87579b34bb4838a8a05619e43909875f92 (diff)
downloadchromium_src-a69af0522df416013f4233a94632ce4a4c854ebc.zip
chromium_src-a69af0522df416013f4233a94632ce4a4c854ebc.tar.gz
chromium_src-a69af0522df416013f4233a94632ce4a4c854ebc.tar.bz2
Implement GetSSLInfo for QUIC/https connections.
- CertVerifyResult is saved in QuicCryptoClientConfig::CachedState after Proof is verified. - Because CertVerifyResult is not RefCounted, the data is copied into CachedState. - QuicCryptoClientStream uses CertVerifyResult from CachedState after handshake is completed. - QuicCryptoClientStream::GetSSLInfo fills SSLInfo data from CertVerifyResult. - UI uses SSLInfo to display connection status. - Hardcoded cipher_suite as TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 in SSLInfo. R=jar@chromium.org, agl@@chromium.org Review URL: https://chromiumcodereview.appspot.com/19037002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211439 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/cert')
-rw-r--r--net/cert/cert_verify_result.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/cert/cert_verify_result.h b/net/cert/cert_verify_result.h
index dce6bd8..a00c03e 100644
--- a/net/cert/cert_verify_result.h
+++ b/net/cert/cert_verify_result.h
@@ -24,6 +24,11 @@ class NET_EXPORT CertVerifyResult {
void Reset();
+ // Copies from |other| to |this|.
+ void CopyFrom(const CertVerifyResult& other) {
+ *this = other;
+ }
+
// The certificate and chain that was constructed during verification.
// Note that the though the verified certificate will match the originally
// supplied certificate, the intermediate certificates stored within may