# Functions
ErrHttpWithCode is returned when non 200 code is returned.
ErrNotADir is returned when expected to have directory.
GenerateFullKeychain creates keychain with new keys.
GenerateSigner generates Signer instance with set of cryptographic keys used for signing.
Key32FromByte creates key from a slice of bytes.
Key32FromString creates key from a string.
Key64FromByte creates key from a slice of bytes.
Key64FromString creates key from a string.
LoadFullKeychainFromFile reads keychain from a file and parses into FullKeychain structure.
No description provided by the author
NewOneShotBox creates Box instance with randomly generated keys It's supposed to be one time use.
RandomKey32 returns key with random data.
RandomString32 returns 32 byte key stored in 64 character hex string.
# Constants
No description provided by the author
No description provided by the author
KeySize defines size of cryptographic key in bytes.
SignKeySize defines size of cryptographic key used for signing in bytes.
No description provided by the author
# Variables
ErrAlreadyExist is returned when object already exist.
ErrKeyBadLength is returned when length of the cryptographic key is invalid.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
Box is structure performing cryptographic operations using asymmetric cryptographic algorithm defined in: https://nacl.cr.yp.to.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Connection represents other entity in the network which interacts.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FileRest is designed for for /fu endpoint.
No description provided by the author
FullKeychain contains set of cryptographic keys for i2i.
No description provided by the author
GroupChat defines group chat.
GroupchatAddUser is used as argument for mutations adding user to group chat.
No description provided by the author
GroupMessage is message exchanged withing group chat.
No description provided by the author
No description provided by the author
Info contains i2i related intofmation.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
KeychainListenerProvider is structure send to i2i on unlocking operation.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NotificationAction is action done on notification which require manual input from owner.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Signer signs and verifies small messages using public-key cryptography.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
Key32 is 32 byte cryptographic key.
Key64 is 64 byte private key used for generating signatures.