package
0.0.0-20200518211156-132967a6aa75
Repository: https://github.com/sudhagarc/libsignal-protocol-go.git
Documentation: pkg.go.dev

# Functions

CalculateReceiverSession calculates the key agreement for a sender.
CalculateSenderSession calculates the key agreement for a recipient.
CalculateSymmetricSession calculates the key agreement between two users.
NewEmptyReceiverParameters creates an empty structure with the receiver parameters needed to create a session.
NewEmptySenderParameters creates an empty structure with the sender parameters needed to create a session.
NewReceiverParameters creates a structure with all the keys needed to construct a new session when we are receiving a message from a user for the first time.
NewSenderParameters creates a structure with all the keys needed to construct a new session when we are sending a message to a recipient for the first time.

# Structs

ReceiverParameters describes the session parameters if we are receiving a message from someone for the first time.
SenderParameters describes the session parameters if we are sending the recipient a message for the first time.
SymmetricParameters describes the session parameters for sessions where both users are online, which doesn't use prekeys for setup.