mirror of
https://github.com/42wim/matterbridge.git
synced 2024-12-18 06:52:01 -08:00
19 lines
484 B
Go
19 lines
484 B
Go
|
package ratchet
|
||
|
|
||
|
import (
|
||
|
"go.mau.fi/libsignal/ecc"
|
||
|
"go.mau.fi/libsignal/keys/identity"
|
||
|
)
|
||
|
|
||
|
// SymmetricParameters describes the session parameters for sessions where
|
||
|
// both users are online, which doesn't use prekeys for setup.
|
||
|
type SymmetricParameters struct {
|
||
|
OurBaseKey *ecc.ECKeyPair
|
||
|
OurRatchetKey *ecc.ECKeyPair
|
||
|
OurIdentityKeyPair *identity.KeyPair
|
||
|
|
||
|
TheirBaseKey ecc.ECPublicKeyable
|
||
|
TheirRatchetKey ecc.ECPublicKeyable
|
||
|
TheirIdentityKey *identity.Key
|
||
|
}
|