Files
servo/components/script
Kingsley Yung bb84e0dac3 script: Add helper function to handle JsonWebKey common encoding tasks (#41472)
Companion of #41428, which added helper functions to handle JsonWebKey
common decoding tasks.

This patch adds a helper function `JsonWebKey::encode_string_field` to
handle common base64url encoding tasks across multiple algorithms.

Testing: Refactoring. Existing tests suffice.

Signed-off-by: Kingsley Yung <kingsley@kkoyung.dev>
2025-12-27 17:19:30 +00:00
..
2025-10-02 07:51:19 +00:00