passforios-gopenpgp/crypto/pmcrypto.go

16 lines
551 B
Go
Raw Normal View History

// Package crypto contains all methods and classes needed for manipulation
2019-05-13 12:33:01 +00:00
// with underlying cryptographic operations. It uses low-level openpgp functions
// and provides higher level views. It uses models of messages, attachments
// and other higher-level entities
package crypto
2018-06-04 16:05:14 -07:00
import "time"
// PmCrypto structure is used to manage server time shift. It should be also used for any
// other specific general cryptographic entities.
type PmCrypto struct {
2018-06-04 17:50:26 -07:00
//latestServerTime unix time cache
latestServerTime int64
latestClientTime time.Time
2018-06-04 16:05:14 -07:00
}