Discover Packages
github.com/EvolutionAPI/libsignal-protocol-go
provision
package
Version:
v0.0.0-...-078e79d
Opens a new window with list of versions in this module.
Published: Oct 18, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
var (
ErrBadVersionNumber = errors .New ("bad version number in provisioning message")
ErrVerifyMACFailed = errors .New ("failed to verify MAC in provisioning message")
)
type ProvisionEnvelope struct {
PublicKey []byte `json:"public_key"`
Body []byte `json:"body"`
}
type ProvisionMessage struct {
IdentityKeyPublic []byte `json:"identity_key_public"`
IdentityKeyPrivate []byte `json:"identity_key_private"`
UserId string `json:"user_id"`
ProvisioningCode string `json:"provisioning_code"`
ProfileKey []byte `json:"profile_key"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.