| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 WebString hashAlgorithm; | 90 WebString hashAlgorithm; |
| 91 WebString signatureAlgorithm; | 91 WebString signatureAlgorithm; |
| 92 WebString signatureData; | 92 WebString signatureData; |
| 93 }; | 93 }; |
| 94 | 94 |
| 95 using SignedCertificateTimestampList = WebVector<SignedCertificateTimestamp>
; | 95 using SignedCertificateTimestampList = WebVector<SignedCertificateTimestamp>
; |
| 96 | 96 |
| 97 struct WebSecurityDetails { | 97 struct WebSecurityDetails { |
| 98 WebSecurityDetails(const WebString& protocol, | 98 WebSecurityDetails(const WebString& protocol, |
| 99 const WebString& keyExchange, | 99 const WebString& keyExchange, |
| 100 const WebString& keyExchangeGroup, |
| 100 const WebString& cipher, | 101 const WebString& cipher, |
| 101 const WebString& mac, | 102 const WebString& mac, |
| 102 int certId, | 103 int certId, |
| 103 const SignedCertificateTimestampList& sctList) | 104 const SignedCertificateTimestampList& sctList) |
| 104 : protocol(protocol) | 105 : protocol(protocol) |
| 105 , keyExchange(keyExchange) | 106 , keyExchange(keyExchange) |
| 107 , keyExchangeGroup(keyExchangeGroup) |
| 106 , cipher(cipher) | 108 , cipher(cipher) |
| 107 , mac(mac) | 109 , mac(mac) |
| 108 , certId(certId) | 110 , certId(certId) |
| 109 , sctList(sctList) | 111 , sctList(sctList) |
| 110 { | 112 { |
| 111 } | 113 } |
| 112 // All strings are human-readable values. | 114 // All strings are human-readable values. |
| 113 WebString protocol; | 115 WebString protocol; |
| 114 WebString keyExchange; | 116 WebString keyExchange; |
| 117 // keyExchangeGroup is the empty string if not applicable for the connec
tion's key exchange. |
| 118 WebString keyExchangeGroup; |
| 115 WebString cipher; | 119 WebString cipher; |
| 116 // mac is the empty string when the connection cipher suite does not | 120 // mac is the empty string when the connection cipher suite does not |
| 117 // have a separate MAC value (i.e. if the cipher suite is AEAD). | 121 // have a separate MAC value (i.e. if the cipher suite is AEAD). |
| 118 WebString mac; | 122 WebString mac; |
| 119 int certId; | 123 int certId; |
| 120 SignedCertificateTimestampList sctList; | 124 SignedCertificateTimestampList sctList; |
| 121 }; | 125 }; |
| 122 | 126 |
| 123 class ExtraData { | 127 class ExtraData { |
| 124 public: | 128 public: |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 // instance it contains. | 312 // instance it contains. |
| 309 std::unique_ptr<ResourceResponseContainer> m_ownedResourceResponse; | 313 std::unique_ptr<ResourceResponseContainer> m_ownedResourceResponse; |
| 310 | 314 |
| 311 // Should never be null. | 315 // Should never be null. |
| 312 ResourceResponse* m_resourceResponse; | 316 ResourceResponse* m_resourceResponse; |
| 313 }; | 317 }; |
| 314 | 318 |
| 315 } // namespace blink | 319 } // namespace blink |
| 316 | 320 |
| 317 #endif | 321 #endif |
| OLD | NEW |