Enum openmls::group::WelcomeError
source · pub enum WelcomeError<KeyStoreError> {
Show 22 variants
GroupSecrets(GroupSecretsError),
PrivateInitKeyNotFound,
LibraryError(LibraryError),
CiphersuiteMismatch,
GroupInfo(GroupInfoError),
JoinerSecretNotFound,
MissingRatchetTree,
ConfirmationTagMismatch,
InvalidGroupInfoSignature,
UnsupportedMlsVersion,
UnsupportedCapability,
UnknownSender,
MalformedWelcomeMessage,
UnableToDecrypt,
UnsupportedExtensions,
Psk(PskError),
NoMatchingEncryptionKey,
NoMatchingKeyPackage,
KeyStoreError(KeyStoreError),
PublicTreeError(PublicTreeError),
PublicGroupError(CreationFromExternalError),
LeafNodeValidation(LeafNodeValidationError),
}
Expand description
Welcome error
Variants§
GroupSecrets(GroupSecretsError)
See GroupSecretsError
for more details.
PrivateInitKeyNotFound
Private part of init_key
not found in key store.
LibraryError(LibraryError)
See LibraryError
for more details.
CiphersuiteMismatch
Ciphersuites in Welcome and key package bundle don’t match.
GroupInfo(GroupInfoError)
See GroupInfoError
for more details.
JoinerSecretNotFound
No joiner secret found in the Welcome message.
MissingRatchetTree
No ratchet tree available to build initial tree after receiving a Welcome message.
ConfirmationTagMismatch
The computed confirmation tag does not match the expected one.
InvalidGroupInfoSignature
The signature on the GroupInfo is not valid.
UnsupportedMlsVersion
We don’t support the version of the group we are trying to join.
UnsupportedCapability
We don’t support all capabilities of the group.
UnknownSender
Sender not found in tree.
MalformedWelcomeMessage
Malformed Welcome message.
UnableToDecrypt
Could not decrypt the Welcome message.
UnsupportedExtensions
Unsupported extensions found in the KeyPackage of another member.
Psk(PskError)
See PskError
for more details.
NoMatchingEncryptionKey
No matching encryption key was found in the key store.
NoMatchingKeyPackage
No matching key package was found in the key store.
KeyStoreError(KeyStoreError)
Error accessing the key store.
PublicTreeError(PublicTreeError)
This error indicates the public tree is invalid. See PublicTreeError
for more details.
PublicGroupError(CreationFromExternalError)
This error indicates the public tree is invalid. See
CreationFromExternalError
for more details.
LeafNodeValidation(LeafNodeValidationError)
This error indicates the leaf node is invalid. See LeafNodeValidationError
for more details.
Trait Implementations§
source§impl<KeyStoreError: Clone> Clone for WelcomeError<KeyStoreError>
impl<KeyStoreError: Clone> Clone for WelcomeError<KeyStoreError>
source§fn clone(&self) -> WelcomeError<KeyStoreError>
fn clone(&self) -> WelcomeError<KeyStoreError>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl<KeyStoreError: Debug> Debug for WelcomeError<KeyStoreError>
impl<KeyStoreError: Debug> Debug for WelcomeError<KeyStoreError>
source§impl<KeyStoreError> Display for WelcomeError<KeyStoreError>
impl<KeyStoreError> Display for WelcomeError<KeyStoreError>
source§impl<KeyStoreError> Error for WelcomeError<KeyStoreError>where
Self: Debug + Display,
impl<KeyStoreError> Error for WelcomeError<KeyStoreError>where Self: Debug + Display,
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl<KeyStoreError> From<CreationFromExternalError> for WelcomeError<KeyStoreError>
impl<KeyStoreError> From<CreationFromExternalError> for WelcomeError<KeyStoreError>
source§fn from(source: CreationFromExternalError) -> Self
fn from(source: CreationFromExternalError) -> Self
source§impl<KeyStoreError> From<GroupInfoError> for WelcomeError<KeyStoreError>
impl<KeyStoreError> From<GroupInfoError> for WelcomeError<KeyStoreError>
source§fn from(source: GroupInfoError) -> Self
fn from(source: GroupInfoError) -> Self
source§impl<KeyStoreError> From<GroupSecretsError> for WelcomeError<KeyStoreError>
impl<KeyStoreError> From<GroupSecretsError> for WelcomeError<KeyStoreError>
source§fn from(source: GroupSecretsError) -> Self
fn from(source: GroupSecretsError) -> Self
source§impl<KeyStoreError> From<LeafNodeValidationError> for WelcomeError<KeyStoreError>
impl<KeyStoreError> From<LeafNodeValidationError> for WelcomeError<KeyStoreError>
source§fn from(source: LeafNodeValidationError) -> Self
fn from(source: LeafNodeValidationError) -> Self
source§impl<KeyStoreError> From<LibraryError> for WelcomeError<KeyStoreError>
impl<KeyStoreError> From<LibraryError> for WelcomeError<KeyStoreError>
source§fn from(source: LibraryError) -> Self
fn from(source: LibraryError) -> Self
source§impl<KeyStoreError> From<PskError> for WelcomeError<KeyStoreError>
impl<KeyStoreError> From<PskError> for WelcomeError<KeyStoreError>
source§impl<KeyStoreError> From<PublicTreeError> for WelcomeError<KeyStoreError>
impl<KeyStoreError> From<PublicTreeError> for WelcomeError<KeyStoreError>
source§fn from(source: PublicTreeError) -> Self
fn from(source: PublicTreeError) -> Self
source§impl<KeyStoreError: PartialEq> PartialEq<WelcomeError<KeyStoreError>> for WelcomeError<KeyStoreError>
impl<KeyStoreError: PartialEq> PartialEq<WelcomeError<KeyStoreError>> for WelcomeError<KeyStoreError>
source§fn eq(&self, other: &WelcomeError<KeyStoreError>) -> bool
fn eq(&self, other: &WelcomeError<KeyStoreError>) -> bool
self
and other
values to be equal, and is used
by ==
.