Base conversion functions for EDDSA. The functions are straightforward, but the interfaces are made so that they coincide with the companion functions in ECDSA.

Licensed by under the W3C Software and Document License, https://www.w3.org/Consortium/Legal/copyright-software. Copyright ©2024 World Wide Web Consortium. https://www.w3.org/copyright/software-license-2023/

Functions

f
JWKToMultikeyBinary

Convert the Crypto values from JWK to the equivalent Multikey Pairs' binary data. The final encoding, with preambles, are done in the general level.

f
multikeyBinaryToJWK

Convert the multikey values to their JWK equivalents. The final x and d values are encoded in base64 and then the relevant JWK structure are created