Discover Packages
github.com/UristLikot/libsignal
provision
package
Version:
v1.0.3
Opens a new window with list of versions in this module.
Published: Feb 15, 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.