Documentation
¶
Index ¶
- Constants
- func AppendBodyMessage(path, data, nonce string, time, plan, usr int64) []byte
- func CheckPublicKey(c cache.Cache, requestObject *wire.PublicKey, cipher crypto.Cipher) error
- func CreatePublicKey(key, tag string, usr int64, cipher crypto.Cipher) (*wire.PublicKey, error)
- func DigestBodyMessage(path, data, nonce string, time, plan, usr int64) []byte
- func HKDFKey(shared []byte, nonce string) ([]byte, error)
- func ResolvePQCipher(hook CipherHook, usr int64) (crypto.Cipher, error)
- func SignAndDigestBodyMessage(path, data, nonce string, time, plan, usr int64, key []byte) ([]byte, []byte)
- func SignBodyMessage(path, data, nonce string, time, plan, usr int64, key []byte) []byte
- type CipherHook
- type CipherKeyLoader
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func AppendBodyMessage ¶
func CheckPublicKey ¶
func CreatePublicKey ¶
func DigestBodyMessage ¶
func ResolvePQCipher ¶
func ResolvePQCipher(hook CipherHook, usr int64) (crypto.Cipher, error)
Types ¶
type CipherHook ¶
func CipherHookFromLoader ¶
func CipherHookFromLoader(loader CipherKeyLoader) CipherHook
type CipherKeyLoader ¶
Click to show internal directories.
Click to hide internal directories.