pub trait EncodeDecodeBase64: Sized {
    // Required methods
    fn encode_base64(&self) -> String;
    fn decode_base64(value: &str) -> Result<Self, Report>;
}
Expand description

Cryptographic material with an immediate conversion to/from Base64 strings.

This is an extension trait of ToFromBytes above.

Required Methods§

fn encode_base64(&self) -> String

fn decode_base64(value: &str) -> Result<Self, Report>

Object Safety§

This trait is not object safe.

Implementors§