Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: bf1655dee5e2866f57e28ef03d04cbc736abfabc
https://github.com/WebKit/WebKit/commit/bf1655dee5e2866f57e28ef03d04cbc736abfabc
Author: Sihui Liu <[email protected]>
Date: 2024-11-20 (Wed, 20 Nov 2024)
Changed paths:
M Source/WebCore/bindings/js/SerializedScriptValue.cpp
M Source/WebCore/crypto/CryptoKey.h
M Source/WebCore/crypto/CryptoKeyUsage.h
M Source/WebCore/crypto/SubtleCrypto.h
M Source/WebCore/crypto/cocoa/CryptoKeyOKPCocoa.cpp
M Source/WebCore/crypto/gcrypt/CryptoKeyOKPGCrypt.cpp
M Source/WebCore/crypto/keys/CryptoKeyEC.h
M Source/WebCore/crypto/keys/CryptoKeyOKP.cpp
M Source/WebCore/crypto/keys/CryptoKeyOKP.h
Log Message:
-----------
Specify underlying type for enum classes in CryptoKey
https://bugs.webkit.org/show_bug.cgi?id=283381
rdar://140231507
Reviewed by Per Arne Vollan.
Also, remove paramter in isPlatformSupportedCurve() and rename it since the
return value does not rely on the NamedCurve
value.
* Source/WebCore/bindings/js/SerializedScriptValue.cpp:
* Source/WebCore/crypto/CryptoKey.h:
* Source/WebCore/crypto/CryptoKeyUsage.h:
* Source/WebCore/crypto/SubtleCrypto.h:
* Source/WebCore/crypto/cocoa/CryptoKeyOKPCocoa.cpp:
(WebCore::CryptoKeyOKP::supportsNamedCurve):
(WebCore::CryptoKeyOKP::platformGeneratePair):
(WebCore::CryptoKeyOKP::platformCheckPairedKeys):
(WebCore::CryptoKeyOKP::importSpki):
(WebCore::CryptoKeyOKP::importPkcs8):
(WebCore::CryptoKeyOKP::isPlatformSupportedCurve): Deleted.
* Source/WebCore/crypto/gcrypt/CryptoKeyOKPGCrypt.cpp:
(WebCore::CryptoKeyOKP::supportsNamedCurve):
(WebCore::CryptoKeyOKP::platformGeneratePair):
(WebCore::CryptoKeyOKP::platformCheckPairedKeys):
(WebCore::CryptoKeyOKP::importSpki):
(WebCore::CryptoKeyOKP::importPkcs8):
(WebCore::CryptoKeyOKP::isPlatformSupportedCurve): Deleted.
* Source/WebCore/crypto/keys/CryptoKeyEC.h:
* Source/WebCore/crypto/keys/CryptoKeyOKP.cpp:
(WebCore::CryptoKeyOKP::generatePair):
(WebCore::CryptoKeyOKP::importRaw):
(WebCore::CryptoKeyOKP::importJwk):
(WebCore::CryptoKeyOKP::supportsNamedCurve):
(WebCore::CryptoKeyOKP::isPlatformSupportedCurve): Deleted.
* Source/WebCore/crypto/keys/CryptoKeyOKP.h:
Canonical link: https://commits.webkit.org/286864@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes