fn key_triple_to_base64_filenames(key_triple: &KeyTriple) -> (String, String, String) {
    (
        base64::encode_config(key_triple.app_name.get_name().as_bytes(), base64::URL_SAFE),
        (key_triple.provider_id as u8).to_string(),
        base64::encode_config(key_triple.key_name.as_bytes(), base64::URL_SAFE),
    )
}
/// Encodes a KeyTriple's data into base64 strings that can be used as filenames.
/// The ProviderID will not be converted as a base64 as it can always be represented as a String
/// being a number from 0 and 255.
Encodes a KeyTriple's data into base64 strings that can be used as filenames.
The ProviderID will not be converted as a base64 as it can always be represented as a String
being a number from 0 and 255.
Encodes a KeyTriple ' s data into base64 strings that can be used as filenames . The ProviderID will not be converted as a base64 as it can always be represented as a String being a number from 0 and 255 .
fn key_triple_to_base64_filenames(key_triple: &KeyTriple) -> (String, String, String) {
    (
        base64::encode_config(key_triple.app_name.get_name().as_bytes(), base64::URL_SAFE),
        (key_triple.provider_id as u8).to_string(),
        base64::encode_config(key_triple.key_name.as_bytes(), base64::URL_SAFE),
    )
}
fn key_triple_to_base64_filenames ( key_triple : & KeyTriple ) -> ( String , String , String ) { ( base64 :: encode_config ( key_triple . app_name . get_name ( ) . as_bytes ( ) , base64 :: URL_SAFE ) , ( key_triple . provider_id as u8 ) . to_string ( ) , base64 :: encode_config ( key_triple . key_name . as_bytes ( ) , base64 :: URL_SAFE ) , ) }
Encodes a KeyTriple's data into base64 strings that can be used as filenames.
Encodes a KeyTriple ' s data into base64 strings that can be used as filenames .
key_triple
&KeyTriple
key_triple
&KeyTriple