| 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 const WebString& subjectName, | 103 const WebString& subjectName, |
| 103 const WebVector<WebString>& sanList, | 104 const WebVector<WebString>& sanList, |
| 104 const WebString& issuer, | 105 const WebString& issuer, |
| 105 double validFrom, | 106 double validFrom, |
| 106 double validTo, | 107 double validTo, |
| 107 WebVector<WebString>& certificate, | 108 WebVector<WebString>& certificate, |
| 108 const SignedCertificateTimestampList& sctList) | 109 const SignedCertificateTimestampList& sctList) |
| 109 : protocol(protocol) | 110 : protocol(protocol) |
| 110 , keyExchange(keyExchange) | 111 , keyExchange(keyExchange) |
| 112 , keyExchangeGroup(keyExchangeGroup) |
| 111 , cipher(cipher) | 113 , cipher(cipher) |
| 112 , mac(mac) | 114 , mac(mac) |
| 113 , subjectName(subjectName) | 115 , subjectName(subjectName) |
| 114 , sanList(sanList) | 116 , sanList(sanList) |
| 115 , issuer(issuer) | 117 , issuer(issuer) |
| 116 , validFrom(validFrom) | 118 , validFrom(validFrom) |
| 117 , validTo(validTo) | 119 , validTo(validTo) |
| 118 , certificate(certificate) | 120 , certificate(certificate) |
| 119 , sctList(sctList) | 121 , sctList(sctList) |
| 120 { | 122 { |
| 121 } | 123 } |
| 122 // All strings are human-readable values. | 124 // All strings are human-readable values. |
| 123 WebString protocol; | 125 WebString protocol; |
| 124 WebString keyExchange; | 126 WebString keyExchange; |
| 127 // keyExchangeGroup is the empty string if not applicable for the connec
tion's key exchange. |
| 128 WebString keyExchangeGroup; |
| 125 WebString cipher; | 129 WebString cipher; |
| 126 // mac is the empty string when the connection cipher suite does not | 130 // mac is the empty string when the connection cipher suite does not |
| 127 // have a separate MAC value (i.e. if the cipher suite is AEAD). | 131 // have a separate MAC value (i.e. if the cipher suite is AEAD). |
| 128 WebString mac; | 132 WebString mac; |
| 129 WebString subjectName; | 133 WebString subjectName; |
| 130 WebVector<WebString> sanList; | 134 WebVector<WebString> sanList; |
| 131 WebString issuer; | 135 WebString issuer; |
| 132 double validFrom; | 136 double validFrom; |
| 133 double validTo; | 137 double validTo; |
| 134 // DER-encoded X509Certificate certificate chain. | 138 // DER-encoded X509Certificate certificate chain. |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 // instance it contains. | 323 // instance it contains. |
| 320 std::unique_ptr<ResourceResponseContainer> m_ownedResourceResponse; | 324 std::unique_ptr<ResourceResponseContainer> m_ownedResourceResponse; |
| 321 | 325 |
| 322 // Should never be null. | 326 // Should never be null. |
| 323 ResourceResponse* m_resourceResponse; | 327 ResourceResponse* m_resourceResponse; |
| 324 }; | 328 }; |
| 325 | 329 |
| 326 } // namespace blink | 330 } // namespace blink |
| 327 | 331 |
| 328 #endif | 332 #endif |
| OLD | NEW |