NLnetLabs / rpki-rs

An RPKI library for Rust
BSD 3-Clause "New" or "Revised" License
39 stars 22 forks source link

Add a base64 utility module. #263

Closed partim closed 1 year ago

partim commented 1 year ago

This PR adds a new module util::base64 which provides all the Base 64-related activities. It includes marker structs representing the various Base64 applications used in crate’s environment so you don’t have to remember the exact flavor and other conditions of Base 64 this application uses.

The module is public, so users of the crate can use it rather than depending on the base64 crate directly.

partim commented 1 year ago

We need a bunch of test cases, especially for the serialization code that is used by Krill to ensure we don’t brake backwards compatibility.