passforios-gopenpgp/crypto/gopenpgp.go

14 lines
363 B
Go
Raw Normal View History

// Package crypto provides a high-level API for common OpenPGP functionality.
package crypto
2018-06-04 16:05:14 -07:00
import "time"
// GopenPGP is used as a "namespace" for many of the functions in this package.
// It is a struct that keeps track of time skew between server and client.
2019-05-14 18:05:01 +02:00
type GopenPGP struct {
2018-06-04 17:50:26 -07:00
latestServerTime int64
latestClientTime time.Time
2018-06-04 16:05:14 -07:00
}
var pgp = GopenPGP{}