pub fn key_derivation(&self) -> KeyDerivation {
        match self {
            Inputs::Hkdf { hash_alg, .. } => KeyDerivation::Hkdf {
                hash_alg: *hash_alg,
            },
            Inputs::Tls12Prf { hash_alg, .. } => KeyDerivation::Tls12Prf {
                hash_alg: *hash_alg,
            },
            Inputs::Tls12PskToMs { hash_alg, .. } => KeyDerivation::Tls12PskToMs {
                hash_alg: *hash_alg,
            },
        }
    }
/// Retrieve key derivation algorithm without inputs
Retrieve key derivation algorithm without inputs
Retrieve key derivation algorithm without inputs
pub fn key_derivation(&self) -> KeyDerivation {
        match self {
            Inputs::Hkdf { hash_alg, .. } => KeyDerivation::Hkdf {
                hash_alg: *hash_alg,
            },
            Inputs::Tls12Prf { hash_alg, .. } => KeyDerivation::Tls12Prf {
                hash_alg: *hash_alg,
            },
            Inputs::Tls12PskToMs { hash_alg, .. } => KeyDerivation::Tls12PskToMs {
                hash_alg: *hash_alg,
            },
        }
    }
pub fn key_derivation ( & self ) -> KeyDerivation { match self { Inputs :: Hkdf { hash_alg , .. } => KeyDerivation :: Hkdf { hash_alg : * hash_alg , } , Inputs :: Tls12Prf { hash_alg , .. } => KeyDerivation :: Tls12Prf { hash_alg : * hash_alg , } , Inputs :: Tls12PskToMs { hash_alg , .. } => KeyDerivation :: Tls12PskToMs { hash_alg : * hash_alg , } , } }
Retrieve key derivation algorithm without inputs
Retrieve key derivation algorithm without inputs
&self
&self