pub fn signature_scheme(&self) -> SignatureScheme {
        match &self.credential {
            MlsCredentialType::Basic(basic_credential) => basic_credential.signature_scheme,
            // TODO: implement getter for signature scheme for X509 certificates. See issue #134.
            MlsCredentialType::X509(_) => panic!("X509 certificates are not yet implemented."),
        }
    }
/// Get the signature scheme used by the credential.
Get the signature scheme used by the credential.
Get the signature scheme used by the credential .
pub fn signature_scheme(&self) -> SignatureScheme {
        match &self.credential {
            MlsCredentialType::Basic(basic_credential) => basic_credential.signature_scheme,
            // TODO: implement getter for signature scheme for X509 certificates. See issue #134.
            MlsCredentialType::X509(_) => panic!("X509 certificates are not yet implemented."),
        }
    }
pub fn signature_scheme ( & self ) -> SignatureScheme { match & self . credential { MlsCredentialType :: Basic ( basic_credential ) => basic_credential . signature_scheme , // TODO: implement getter for signature scheme for X509 certificates. See issue #134. MlsCredentialType :: X509 ( _ ) => panic ! ( " " ) , } }
Get the signature scheme used by the credential.
Get the signature scheme used by the credential .
&self
&self