passforios-gopenpgp/common.go

24 lines
445 B
Go
Raw Normal View History

2018-06-04 16:05:14 -07:00
package pm
var armorHeader = map[string]string{
2018-06-04 17:50:26 -07:00
"Version": "OpenPGP Golang 0.0.1 (" + Version() + ")",
2018-06-04 16:05:14 -07:00
"Comment": "https://protonmail.com",
}
// Key ... add later
// protonmail key object
type Key struct {
KeyID string
PublicKey string
PrivateKey string
FingerPrint string
}
//Address ... add later protonmail address object
type Address struct {
// address_id : string;
// #optional
// address_name : string;
keys []Key
}