@wireapp/core-crypto
    Preparing search index...

    Type Alias DecryptedMessage

    A decrypted message and various associated metadata

    type DecryptedMessage = {
        bufferedMessages: BufferedDecryptedMessage[] | undefined;
        commitDelay: bigint | undefined;
        crlNewDistributionPoints: string[] | undefined;
        hasEpochChanged: boolean;
        identity: WireIdentity;
        isActive: boolean;
        message: ArrayBuffer | undefined;
        senderClientId: ClientIdInterface | undefined;
    }
    Index

    Properties

    bufferedMessages: BufferedDecryptedMessage[] | undefined

    Only set when the decrypted message is a commit.

    Contains buffered messages for next epoch which were received before the commit creating the epoch because the DS did not fan them out in order.

    commitDelay: bigint | undefined

    Commit delay in seconds.

    When set, clients must delay this long before processing a commit. This reduces load on the backend, which otherwise would receive epoch change notifications from all clients simultaneously.

    crlNewDistributionPoints: string[] | undefined

    New CRL distribution points that appeared by the introduction of a new credential

    hasEpochChanged: boolean

    true when the decrypted message resulted in an epoch change i.e. it was a commit

    Deprecated: this member will be removed in the future. Prefer using the EpochObserver interface.

    identity: WireIdentity

    Identity claims present in the sender credential

    isActive: boolean

    False if processing this message caused the client to be removed from the group, i.e. due to a Remove commit

    message: ArrayBuffer | undefined

    Decrypted plaintext

    senderClientId: ClientIdInterface | undefined

    [ClientId] of the sender of the message being decrypted. Only present for application messages.