| 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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 Vector<String> sanList; | 327 Vector<String> sanList; |
| 328 sanList.append(webSecurityDetails.sanList.data(), webSecurityDetails.sanList
.size()); | 328 sanList.append(webSecurityDetails.sanList.data(), webSecurityDetails.sanList
.size()); |
| 329 Vector<AtomicString> certificate; | 329 Vector<AtomicString> certificate; |
| 330 for (const auto& iter : webSecurityDetails.certificate) { | 330 for (const auto& iter : webSecurityDetails.certificate) { |
| 331 AtomicString cert = iter; | 331 AtomicString cert = iter; |
| 332 certificate.append(cert); | 332 certificate.append(cert); |
| 333 } | 333 } |
| 334 m_resourceResponse->setSecurityDetails( | 334 m_resourceResponse->setSecurityDetails( |
| 335 webSecurityDetails.protocol, | 335 webSecurityDetails.protocol, |
| 336 webSecurityDetails.keyExchange, | 336 webSecurityDetails.keyExchange, |
| 337 webSecurityDetails.keyExchangeGroup, |
| 337 webSecurityDetails.cipher, | 338 webSecurityDetails.cipher, |
| 338 webSecurityDetails.mac, | 339 webSecurityDetails.mac, |
| 339 webSecurityDetails.subjectName, | 340 webSecurityDetails.subjectName, |
| 340 sanList, | 341 sanList, |
| 341 webSecurityDetails.issuer, | 342 webSecurityDetails.issuer, |
| 342 static_cast<time_t>(webSecurityDetails.validFrom), | 343 static_cast<time_t>(webSecurityDetails.validFrom), |
| 343 static_cast<time_t>(webSecurityDetails.validTo), | 344 static_cast<time_t>(webSecurityDetails.validTo), |
| 344 certificate, | 345 certificate, |
| 345 sctList); | 346 sctList); |
| 346 } | 347 } |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 539 { | 540 { |
| 540 m_resourceResponse->setExtraData(ExtraDataContainer::create(extraData)); | 541 m_resourceResponse->setExtraData(ExtraDataContainer::create(extraData)); |
| 541 } | 542 } |
| 542 | 543 |
| 543 WebURLResponse::WebURLResponse(ResourceResponse& r) | 544 WebURLResponse::WebURLResponse(ResourceResponse& r) |
| 544 : m_resourceResponse(&r) | 545 : m_resourceResponse(&r) |
| 545 { | 546 { |
| 546 } | 547 } |
| 547 | 548 |
| 548 } // namespace blink | 549 } // namespace blink |
| OLD | NEW |