wrapper for mobile
This commit is contained in:
commit
8d300e4782
17 changed files with 1763 additions and 0 deletions
23
common.go
Normal file
23
common.go
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
package pm
|
||||
|
||||
var armorHeader = map[string]string{
|
||||
"Version": "OpenPGP Mobile 0.0.1 (" + Version() + ")",
|
||||
"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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue