passforios-gopenpgp/crypto/gopenpgp.go
2019-05-15 13:51:42 +02:00

15 lines
551 B
Go

// Package crypto contains all methods and classes needed for manipulation
// 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
import "time"
// GopenPGP structure is used to manage server time shift. It should be also used for any
// other specific general cryptographic entities.
type GopenPGP struct {
//latestServerTime unix time cache
latestServerTime int64
latestClientTime time.Time
}