pub(crate) fn new_encoded<'a>(
        joiner_secret: &JoinerSecret,
        path_secret: Option<&'a PathSecret>,
        psks: &'a PreSharedKeys,
    ) -> Result<Vec<u8>, tls_codec::Error> {
        EncodedGroupSecrets {
            joiner_secret,
            path_secret,
            psks,
        }
        .tls_serialize_detached()
    }
/// Create new encoded group secrets.
Create new encoded group secrets.
Create new encoded group secrets .
pub(crate) fn new_encoded<'a>(
        joiner_secret: &JoinerSecret,
        path_secret: Option<&'a PathSecret>,
        psks: &'a PreSharedKeys,
    ) -> Result<Vec<u8>, tls_codec::Error> {
        EncodedGroupSecrets {
            joiner_secret,
            path_secret,
            psks,
        }
        .tls_serialize_detached()
    }
pub ( crate ) fn new_encoded < ' a > ( joiner_secret : & JoinerSecret , path_secret : Option < & ' a PathSecret > , psks : & ' a PreSharedKeys , ) -> Result < Vec < u8 > , tls_codec :: Error > { EncodedGroupSecrets { joiner_secret , path_secret , psks , } . tls_serialize_detached ( ) }
Create new encoded group secrets.
Create new encoded group secrets .
joiner_secret
&JoinerSecret
path_secret
Option<&'a PathSecret>
psks
&'a PreSharedKeys
joiner_secret
&JoinerSecret
path_secret
Option<&'a PathSecret>
psks
&'a PreSharedKeys