models

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package models provides structs containing message data.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DecryptSignedVerify

type DecryptSignedVerify struct {
	//clear text
	Plaintext string
	//bitmask verify status : 0
	Verify int
	//error message if verify failed
	Message string
}

DecryptSignedVerify contains a decrypted message and verification result.

type EncryptedSigned

type EncryptedSigned struct {
	Encrypted string
	Signature string
}

EncryptedSigned contains an encrypted message and signature.

type EncryptedSplit

type EncryptedSplit struct {
	DataPacket []byte
	KeyPacket  []byte
	Algo       string
}

EncryptedSplit contains a separate session key packet and symmetrically encrypted data packet.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL