[webkit-changes] [WebKit/WebKit] 57afa5: Migrate SecTrust to WebKitSecureCoding Interface

Simon Lewis noreply at github.com
Thu Jan 30 09:30:55 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 57afa59fdb669f391e5c12656a7e77da6a7b1655
      https://github.com/WebKit/WebKit/commit/57afa59fdb669f391e5c12656a7e77da6a7b1655
  Author: Simon Lewis <simon.lewis at apple.com>
  Date:   2025-01-30 (Thu, 30 Jan 2025)

  Changed paths:
    M Source/WTF/wtf/spi/cocoa/SecuritySPI.h
    M Source/WebKit/Shared/cf/CoreIPCSecTrust.h
    A Source/WebKit/Shared/cf/CoreIPCSecTrust.mm
    M Source/WebKit/Shared/cf/CoreIPCSecTrust.serialization.in
    M Source/WebKit/WebKit.xcodeproj/project.pbxproj
    M Tools/TestWebKitAPI/Tests/IPC/IPCSerialization.mm

  Log Message:
  -----------
  Migrate SecTrust to WebKitSecureCoding Interface
https://bugs.webkit.org/show_bug.cgi?id=284795
rdar://136786582

Reviewed by Sihui Liu.

* Source/WTF/wtf/spi/cocoa/SecuritySPI.h:
* Source/WebKit/Shared/cf/CoreIPCSecTrust.h:
(WebKit::CoreIPCSecTrust::CoreIPCSecTrust):
* Source/WebKit/Shared/cf/CoreIPCSecTrust.mm: Added.
(WebKit::arrayElementsTheSameType):
(WebKit::CoreIPCSecTrust::detectPolicyOptionShape):
(WebKit::updatePolicyVector):
(WebKit::optionalArrayOfDataHelper):
(WebKit::CoreIPCSecTrust::CoreIPCSecTrust):
(WebKit::createPolicyDictionary):
(WebKit::addToDictFromOptionalDataHelper):
(WebKit::CoreIPCSecTrust::createSecTrust const):
* Source/WebKit/Shared/cf/CoreIPCSecTrust.serialization.in:
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:
* Tools/TestWebKitAPI/Tests/IPC/IPCSerialization.mm:
(secTrustRefsEqual):
(TEST(IPCSerialization, SecTrustRef)):

Canonical link: https://commits.webkit.org/289561@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list