crypto.ecc_save_key

crypto

ecc_save_key(key_obj, key_file) -> ok, err

Save an ECC key object to a file in JWK format

Serializes the key object to JSON with base64url-encoded fields (x, y, d, pub) and an optional kid field, then writes the result to the given file path.