Documentation ¶
Overview ¶
encrpytion package holds all pgp related tasks
Index ¶
- Variables
- func Decrypt(w http.ResponseWriter, rc http.Request) (error, http.Request)
- func DeleteKey(w http.ResponseWriter, rc http.Request) (error, http.Request)
- func Encrypt(w http.ResponseWriter, rc http.Request) (error, http.Request)
- func GetKey(w http.ResponseWriter, rc http.Request) (error, http.Request)
- func ListKeys(w http.ResponseWriter, rc http.Request) (error, http.Request)
- func NewKey(w http.ResponseWriter, rc http.Request) (error, http.Request)
- func SetMyKeyRing(w http.ResponseWriter, rc http.Request) (error, http.Request)
- type MyEntityList
- type PublicKey
Constants ¶
This section is empty.
Variables ¶
View Source
var KeyRing = MyEntityList{}
Functions ¶
func NewKey ¶
NewKey will create a new private/public gpg key pair and return the private key id and public key.
func SetMyKeyRing ¶
Types ¶
type MyEntityList ¶
type MyEntityList struct {
openpgp.EntityList
}
func (*MyEntityList) GetKeyRing ¶
func (KeyRing *MyEntityList) GetKeyRing()
GetKeyRing return pgp keyring from a file location
Click to show internal directories.
Click to hide internal directories.