libsignal_protocol_dart library Null safety

Classes

ByteUtil
CiphertextMessage
Curve
DjbECPrivateKey
DjbECPublicKey
ECKeyPair
ECPrivateKey
ECPublicKey
GeneratedKeyPair
GroupCipher
GroupSessionBuilder
IdentityKey
IdentityKeyPair
IdentityKeyStore
InMemoryIdentityKeyStore
InMemoryPreKeyStore
InMemorySenderKeyStore
InMemorySessionStore
InMemorySignalProtocolStore
InMemorySignedPreKeyStore
PreKeyBundle
PreKeyRecord
PreKeySignalMessage
PreKeyStore
ProvisionEnvelope
ProvisioningCipher
SenderKeyDistributionMessageWrapper
SenderKeyMessage
SenderKeyName
SenderKeyRecord
SenderKeyStore
SessionBuilder
SessionCipher
SessionRecord
SessionState
SessionStore
SignalMessage
SignalProtocolAddress
SignalProtocolStore
SignedPreKeyRecord
SignedPreKeyStore
UnacknowledgedPreKeyMessageItems

Constants

maxValue → const int
0xFFFFFF
provision → const String
'Mixin Provisioning Message'

Properties

integerMax int
read / write

Functions

decrypt(String privateKey, String content) Uint8List
generateIdentityKeyPair() IdentityKeyPair
generateIdentityKeyPairFromPrivate(List<int> private) IdentityKeyPair
generatePreKeys(int start, int count) List<PreKeyRecord>
generateRandomBytes([int length = 32]) Uint8List
generateRegistrationId(bool extendedRange) int
generateSenderKey() Uint8List
generateSenderKeyId() int
generateSenderSigningKey() ECKeyPair
generateSignedPreKey(IdentityKeyPair identityKeyPair, int signedPreKeyId) SignedPreKeyRecord
verifyMAC(Uint8List key, Uint8List input, List<int> mac) bool

Enums

Direction

Typedefs

AgreementCalculator = Uint8List Function(Uint8List, Uint8List)
DecryptionCallback = void Function(Uint8List plaintext)
KeyPairGenerator = GeneratedKeyPair Function()

Exceptions / Errors

DuplicateMessageException
InvalidKeyException
InvalidKeyIdException
LegacyMessageException
NoSessionException
UntrustedIdentityException